onedb_failed_db_migration.txt

Richard Stevenson, 10/27/2016 08:48 AM

Download (8.03 KB)

 
1
[root@devarch-server1-05075 yum.repos.d]# onedb upgrade -v --sqlite /var/lib/one/one.db
2
Version read:
3
Shared tables 4.11.80 : OpenNebula 4.12.1 daemon bootstrap
4
Local tables  4.13.85 : Database migrated from 4.11.80 to 4.13.85 (OpenNebula 4.13.85) by onedb command.
5

    
6
Sqlite database backup stored in /var/lib/one/one.db_2016-10-27_9:25:56.bck
7
Use 'onedb restore' or copy the file back to restore the DB.
8

    
9

    
10
>>> Running migrators for shared tables
11
  > Running migrator /usr/lib/one/ruby/onedb/shared/4.11.80_to_4.90.0.rb
12
  > Done in 1.67s
13

    
14
  > Running migrator /usr/lib/one/ruby/onedb/shared/4.90.0_to_5.2.0.rb
15
  > Done in 0.45s
16

    
17
Database migrated from 4.11.80 to 5.2.0 (OpenNebula 5.2.0) by onedb command.
18

    
19
>>> Running migrators for local tables
20
  > Running migrator /usr/lib/one/ruby/onedb/local/4.13.85_to_4.90.0.rb
21
  > Done in 27.63s
22

    
23
Database migrated from 4.13.85 to 4.90.0 (OpenNebula 4.90.0) by onedb command.
24

    
25
Total time: 29.96s
26
[root@devarch-server1-05075 yum.repos.d]# onedb fsck --sqlite /var/lib/one/one.db
27
Sqlite database backup stored in /var/lib/one/one.db_2016-10-27_9:26:46.bck
28
Use 'onedb restore' or copy the file back to restore the DB.
29

    
30

    
31
VNet 1 VN_MAD element is missing from the TEMPLATE
32
VNet 3 VN_MAD element is missing from the TEMPLATE
33
VNet 4 VN_MAD element is missing from the TEMPLATE
34
VNet 5 VN_MAD element is missing from the TEMPLATE
35
VNet 6 VN_MAD element is missing from the TEMPLATE
36
VNet 7 VN_MAD element is missing from the TEMPLATE
37
VNet 8 VN_MAD element is missing from the TEMPLATE
38
VNet 9 VN_MAD element is missing from the TEMPLATE
39
VNet 11 VN_MAD element is missing from the TEMPLATE
40
VNet 12 VN_MAD element is missing from the TEMPLATE
41
VNet 13 VN_MAD element is missing from the TEMPLATE
42
VNet 14 VN_MAD element is missing from the TEMPLATE
43
VNet 15 VN_MAD element is missing from the TEMPLATE
44
VNet 16 VN_MAD element is missing from the TEMPLATE
45
VNet 17 VN_MAD element is missing from the TEMPLATE
46
VNet 18 VN_MAD element is missing from the TEMPLATE
47
VNet 19 VN_MAD element is missing from the TEMPLATE
48
VNet 20 VN_MAD element is missing from the TEMPLATE
49
VNet 21 VN_MAD element is missing from the TEMPLATE
50
VNet 22 VN_MAD element is missing from the TEMPLATE
51
VNet 23 VN_MAD element is missing from the TEMPLATE
52
VNet 24 VN_MAD element is missing from the TEMPLATE
53
VNet 25 VN_MAD element is missing from the TEMPLATE
54
VNet 26 VN_MAD element is missing from the TEMPLATE
55
VNet 27 VN_MAD element is missing from the TEMPLATE
56
VNet 28 VN_MAD element is missing from the TEMPLATE
57
VNet 29 VN_MAD element is missing from the TEMPLATE
58
VNet 30 VN_MAD element is missing from the TEMPLATE
59
VNet 31 VN_MAD element is missing from the TEMPLATE
60
VNet 32 VN_MAD element is missing from the TEMPLATE
61
VNet 33 VN_MAD element is missing from the TEMPLATE
62
VNet 34 VN_MAD element is missing from the TEMPLATE
63
VNet 35 VN_MAD element is missing from the TEMPLATE
64
VNet 36 VN_MAD element is missing from the TEMPLATE
65
VNet 38 VN_MAD element is missing from the TEMPLATE
66
VNet 95 VN_MAD element is missing from the TEMPLATE
67
VNet 99 VN_MAD element is missing from the TEMPLATE
68
VNet 101 VN_MAD element is missing from the TEMPLATE
69
VNet 102 VN_MAD element is missing from the TEMPLATE
70
VNet 108 VN_MAD element is missing from the TEMPLATE
71
VNet 109 VN_MAD element is missing from the TEMPLATE
72
VNet 110 VN_MAD element is missing from the TEMPLATE
73
VNet 113 VN_MAD element is missing from the TEMPLATE
74
VNet 115 VN_MAD element is missing from the TEMPLATE
75
VNet 116 VN_MAD element is missing from the TEMPLATE
76
[UNREPAIRED] VM Template 4 OS/BOOT contains deprecated format "hd", but DISK #0 of type hd could not be found to fix it automatically
77
[UNREPAIRED] VM Template 19 OS/BOOT contains deprecated format "cdrom,hd", but DISK #0 of type cdrom could not be found to fix it automatically
78
[UNREPAIRED] VM Template 20 OS/BOOT contains deprecated format "cdrom,hd", but DISK #0 of type cdrom could not be found to fix it automatically
79
[UNREPAIRED] VM Template 23 OS/BOOT contains deprecated format "cdrom,hd", but DISK #0 of type cdrom could not be found to fix it automatically
80
[UNREPAIRED] VM Template 32 OS/BOOT contains deprecated format "cdrom,hd", but DISK #0 of type cdrom could not be found to fix it automatically
81
[UNREPAIRED] VM Template 36 OS/BOOT contains deprecated format "cdrom,hd", but DISK #0 of type cdrom could not be found to fix it automatically
82
[UNREPAIRED] VM Template 37 OS/BOOT contains deprecated format "cdrom,hd", but DISK #0 of type cdrom could not be found to fix it automatically
83
[UNREPAIRED] VM Template 43 OS/BOOT contains deprecated format "cdrom,hd", but DISK #0 of type cdrom could not be found to fix it automatically
84
VM Template 46 OS/BOOT contains deprecated format "hd", is was updated to disk0
85
VM Template 47 OS/BOOT contains deprecated format "hd", is was updated to disk0
86
VM Template 48 OS/BOOT contains deprecated format "hd", is was updated to disk0
87

    
88
undefined method `content' for nil:NilClass
89
/usr/lib/one/ruby/onedb/fsck.rb:2640:in `get_image_from_name'
90
/usr/lib/one/ruby/onedb/fsck.rb:2607:in `block in get_disk_id'
91
/usr/share/gems/gems/nokogiri-1.6.1/lib/nokogiri/xml/node_set.rb:237:in `block in each'
92
/usr/share/gems/gems/nokogiri-1.6.1/lib/nokogiri/xml/node_set.rb:236:in `upto'
93
/usr/share/gems/gems/nokogiri-1.6.1/lib/nokogiri/xml/node_set.rb:236:in `each'
94
/usr/lib/one/ruby/onedb/fsck.rb:2602:in `each_with_index'
95
/usr/lib/one/ruby/onedb/fsck.rb:2602:in `get_disk_id'
96
/usr/lib/one/ruby/onedb/fsck.rb:2158:in `block (3 levels) in fsck'
97
/usr/lib/one/ruby/onedb/fsck.rb:2144:in `each'
98
/usr/lib/one/ruby/onedb/fsck.rb:2144:in `block (2 levels) in fsck'
99
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/dataset/actions.rb:139:in `block in each'
100
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/adapters/sqlite.rb:334:in `block (2 levels) in fetch_rows'
101
/usr/local/share/gems/gems/sqlite3-1.3.10/lib/sqlite3/resultset.rb:138:in `each'
102
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/adapters/sqlite.rb:325:in `block in fetch_rows'
103
/usr/local/share/gems/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:269:in `query'
104
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/adapters/sqlite.rb:185:in `block (2 levels) in _execute'
105
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/database/logging.rb:33:in `log_yield'
106
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/adapters/sqlite.rb:185:in `block in _execute'
107
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/database/connecting.rb:250:in `block in synchronize'
108
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/connection_pool/threaded.rb:95:in `hold'
109
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/database/connecting.rb:250:in `synchronize'
110
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/adapters/sqlite.rb:178:in `_execute'
111
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/adapters/sqlite.rb:128:in `execute'
112
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/dataset/actions.rb:921:in `execute'
113
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/adapters/sqlite.rb:319:in `fetch_rows'
114
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/dataset/actions.rb:139:in `each'
115
/usr/lib/one/ruby/onedb/fsck.rb:2121:in `block in fsck'
116
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/database/transactions.rb:134:in `_transaction'
117
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/database/transactions.rb:108:in `block in transaction'
118
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/database/connecting.rb:250:in `block in synchronize'
119
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/connection_pool/threaded.rb:99:in `hold'
120
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/database/connecting.rb:250:in `synchronize'
121
/usr/local/share/gems/gems/sequel-4.22.0/lib/sequel/database/transactions.rb:97:in `transaction'
122
/usr/lib/one/ruby/onedb/fsck.rb:2120:in `fsck'
123
/usr/lib/one/ruby/onedb/onedb.rb:280:in `fsck'
124
/bin/onedb:329:in `block (2 levels) in <main>'
125
/usr/lib/one/ruby/cli/command_parser.rb:449:in `call'
126
/usr/lib/one/ruby/cli/command_parser.rb:449:in `run'
127
/usr/lib/one/ruby/cli/command_parser.rb:76:in `initialize'
128
/bin/onedb:222:in `new'
129
/bin/onedb:222:in `<main>'
130

    
131
Error running fsck version 5.2.0
132
The database will be restored
133
Sqlite database backup restored in /var/lib/one/one.db
134