Thank you for your reply.
Before,I used VMware Workstation Pro on a Windows physical machine server create an ubuntu 14.04 virtual machine and then install elijah-openstack on this ubuntu 14.04 virtual machine.
Is this what you say nested virtualization ,how can I past all the CPU flags to the outer VM which I create on the Windows physical machine server?
And this cause the error above in last post, as follow:
guest and host CPU are not compatible: host CPU does not provide Required features: monitor
I ran the cat /proc/cpuinfo | grep monitor
, and I really didn't find the flag Monitor,
then I reinstall elijah-openstack on a physical machine (no longer
the virtual machine) with ubuntu 14.04 ,and the CPU has the flag monitor .
first question
Is the elijah-openstack must be installed on a physical machine instead of a virtual machine,which they are all ubuntu 14.04?
Now that I've reinstalled elijah-openstack on a physical machine, my environment is
Ubuntu 14.04 (physical machines)
one NIC
CPU flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64
**monitor ds_cpl **vmx est tm2 ssse3
cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave avx
f16c lahf_lm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
xsaveopt dtherm arat pln pts
After I imported the precise-hotplug-new
base VM,then I encountered this error when resume
it
2018-08-06 17:49:05.831 29363 WARNING nova.compute.manager [req-ea7f7084-0725-4dbb-a0fa-6c64f3a6d815 - - - - -]
【While synchronizing instance power states, found 1 instances in the database and 0 instances on the hypervisor. 】
2018-08-06 17:49:38.003 29363 【ERROR】 nova.compute.manager [req-14b67e06-09b6-4c50-bda0-fe4b7f2906c7 8661977
40dff495aac584548dc426de7 1acd954896df4953ac38726891a0ee6d - - -] [instance: 7868c14d-54f9-42cb-8066-705eb
96c803d] 【Instance failed to spawn】
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
Traceback (most recent call last):
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2473, in _build_resources
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
yield resources
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2345, in _build_and_run_instance
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
block_device_info=block_device_info)
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/cloudlet_driver.py", line 630, in spawn
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
diskhash_path, memhash_path, base_sha256_uuid)
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/cloudlet_driver.py", line 697, in resume_basevm
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
synthesis.rettach_nic(virt_dom, vm_overlay.old_xml_str, xml)
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance:7868c14d-54f9-42cb-8066-705eb96c803d]
File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 1301, in rettach_nic
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance:
7868c14d-54f9-42cb-8066-705eb96c803d] filter_element = new_nic.find("filterref")
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
AttributeError: 'NoneType' object has no attribute 'find'
2018-08-06 17:49:38.003 29363 TRACE nova.compute.manager [instance: 7868c14d-54f9-42cb-8066-705eb96c803d]
2018-08-06 17:59:05.872 29363 WARNING nova.compute.manager [req-ea7f7084-0725-4dbb-a0fa-6c64f3a6d815 - - - - -]
While synchronizing instance power states, found 1 instances in the database and 0 instances
on the hypervisor.
second question
I guess it's duo to there only has one network interface card in my environment.
What do you think caused this error, and how can I fix it to be able to resume the base VM
Can I add a NIC to solve this ?
I've seen in previous posts that if there is only one NIC in the environment, the flat_iface can be named as anything which is unique.Can run the entire Ansible playbook works?
Supplement:
I had validate cloudlet code using commands in this link, and they have the right output(I think is correct) :
http://forum.openedgecomputing.org/t/a-failure-in-creating-a-vm-overlay/15/4
Regards,
Linuix