On the VM host there should be a file called deployment.0
What's in there?
Steve Timm
From: Users [users-boun...@lists.opennebula.org] on behalf of Роман Мальцев
[neo...@mail.ru]
Sent: Sunday, February 15, 2015 3:23 PM
To: users@lists.opennebula.org
Subject: [one-users] openvz+opennebula vm boot failure
Hello, everyone.
I am shouting for help!
I created my own cloud via this guide (for opennebula 4.2)
https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home , but i used
opennebula 4.10.1 version.
I've got a trouble with my VM after creation.
The trouble is - VM can't boot:
Mon Jan 26 01:37:29 2015 [Z0][DiM][I]: New VM state is ACTIVE.
Mon Jan 26 01:37:29 2015 [Z0][LCM][I]: New VM state is PROLOG.
Mon Jan 26 01:37:43 2015 [Z0][LCM][I]: New VM state is BOOT
Mon Jan 26 01:37:43 2015 [Z0][VMM][I]: Generating deployment file:
/var/lib/one/vms/8/deployment.0
Mon Jan 26 01:37:43 2015 [Z0][VMM][I]: ExitCode: 0
Mon Jan 26 01:37:43 2015 [Z0][VMM][I]: Successfully execute network driver
operation: pre.
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: Command execution fail: cat << EOT |
/vz/one/scripts/vmm/ovz/deploy '/vz/one/datastores/0/8/deployment.0'
'vm175.jinr.ru' 8 vm175.jinr.ru
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]:
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:683:in
`xml_to_obj': no value, and no default value: Attribute vmid not set
(XXPathError: path not found: VMID) (XML::MappingError)
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:186:in
`fill_from_xml'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:185:in
`each'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:185:in
`fill_from_xml'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:362:in
`load_from_xml'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from
/vz/one/scripts/vmm/ovz/open_vz_data.rb:28:in `load_from_stream'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from
/vz/one/scripts/vmm/ovz/open_vz_data.rb:75:in `new'
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: from /vz/one/scripts/vmm/ovz/deploy:24
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: ExitCode: 1
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]: Failed to execute virtualization driver
operation: deploy.
Mon Jan 26 01:38:31 2015 [Z0][VMM][E]: Error deploying virtual machine
Mon Jan 26 01:38:31 2015 [Z0][DiM][I]: New VM state is FAILED
The next string looks really strange:
Mon Jan 26 01:38:31 2015 [Z0][VMM][I]:
/usr/lib/ruby/gems/1.8/gems/xml-mapping-0.10.0/lib/xml/mapping/base.rb:683:in
`xml_to_obj': no value, and no default value: Attribute vmid not set
(XXPathError: path not found: VMID) (XML::MappingError)
I don't understand why opennebula can't read VMID field, it isn't empty:
[root@vm127 one]# onevm show 8 | tail -1
VMID="8"
What am i supposed to do?
--
Best Regards,
Maltcev Roman.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org