ocata doesn't spin up new VM even having enough resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi,
I upgraded OpenStack Kolla Newton to Ocata recently. Everything works fine except creating new VMs with small.m1 flavors or larger than this. However, I can instantiate one more cirros VM with tiny.m1 flavor. This means its most likely the problem of space. I checked the logs of neutron,nova and glance. Only nova-conductor logs show error. But that is too generic "No valid host was found". I've investigated that if i somehow increase value of "disk_available
df -h | more
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 92M 6.2G 2% /run
/dev/mapper/xxx --vg-root 395G 185G 190G 50% /
tmpfs 32G 11M 32G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/sda1 472M 106M 342M 24% /boot
tmpfs 6.3G 4.0K 6.3G 1% /run/user/0
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
cgmfs 100K 0 100K 0% /run/cgmanager/fs
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
shm 64M 0 64M 0% /var/lib/
nova conductor logs
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.424 19 ERROR nova.conductor.
2017-10-26 13:05:31.486 19 WARNING nova.scheduler.
Traceback (most recent call last):
File "/var/lib/
return func(*args, **kwargs)
File "/var/lib/
dests = self.driver.
File "/var/lib/
raise exception.
NoValidHost: No valid host was found. There are not enough hosts available.
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c0b6d0bae68d kolla/ubuntu-
073f62b32fd1 kolla/ubuntu-
af07c296fba1 kolla/ubuntu-
e81b3b76283a kolla/ubuntu-
bb0217551442 kolla/ubuntu-
bedfaa812c7a kolla/ubuntu-
669316195ccb kolla/ubuntu-
b4071a7ed7a7 kolla/ubuntu-
d1cc9cce028e kolla/ubuntu-
f0aa10f68d96 kolla/ubuntu-
6e0a605e7326 kolla/ubuntu-
f0d4060b71c3 kolla/ubuntu-
54a85670ee1b kolla/ubuntu-
13e0f8820afe kolla/ubuntu-
fb59adc87585 kolla/ubuntu-
dd76f09e8b41 kolla/ubuntu-
dbb563f6539b kolla/ubuntu-
a2b05c11fe53 kolla/ubuntu-
d4783aaff3ee kolla/ubuntu-
9e1b532d2fcf kolla/ubuntu-
08056288cc13 kolla/ubuntu-
71a75282a7e6 kolla/ubuntu-
91788c4b6e18 kolla/ubuntu-
4b3e75902d51 kolla/ubuntu-
c88023bebdb4 kolla/ubuntu-
ea150c5b1353 kolla/ubuntu-
ad1633c5c3ac kolla/ubuntu-
58afd39b647a kolla/ubuntu-
9b084133b77a kolla/ubuntu-
2fb94fc409a8 kolla/ubuntu-
8504e5e0879f kolla/ubuntu-
nova hypervisor-show xxxxx
+------
| Property | Value |
+------
| cpu_info_arch | x86_64 |
| cpu_info_features | ["pge", "avx", "xsaveopt", "clflush", |
| | "sep", "rtm", "tsc_adjust", "vme", |
| | "dtes64", "invpcid", "msr", "sse", |
| | "xsave", "smap", "vmx", "erms", "xtpr", |
| | "cmov", "hle", "smep", "nx", "est", |
| | "pat", "monitor", "smx", "pbe", "lm", |
| | "tsc", "adx", "3dnowprefetch", "fpu", |
| | "syscall", "tm", "sse4.1", "fxsr", |
| | "sse4.2", "pclmuldq", "pcid", "pae", |
| | "pni", "tsc-deadline", "mmx", "osxsave", |
| | "cx8", "mce", "de", "tm2", "ht", "dca", |
| | "lahf_lm", "abm", "rdseed", "popcnt", |
| | "mca", "pdpe1gb", "apic", "fsgsbase", |
| | "f16c", "pse", "ds", "invtsc", |
| | "mbm_total", "aes", "avx2", "sse2", |
| | "ss", "ds_cpl", "arat", "bmi1", "bmi2", |
| | "acpi", "ssse3", "rdtscp", "mbm_local", |
| | "cmt", "cx16", "pse36", "mtrr", "movbe", |
| | "pdcm", "fma", "rdrand", "x2apic"] |
| cpu_info_model | Broadwell |
| cpu_info_
| cpu_info_
| cpu_info_
| cpu_info_
| cpu_info_vendor | Intel |
| current_workload | 0 |
| disk_available_
| free_disk_gb | 271 |
| free_ram_mb | 49461 |
| host_ip | xxxxxx |
| hypervisor_hostname | xxxxxxx |
| hypervisor_type | QEMU |
| hypervisor_version | 2008000 |
| id | 1 |
| local_gb | 394 |
| local_gb_used | 184 |
| memory_mb | 64309 |
| memory_mb_used | 27552 |
| running_vms | 4 |
| service_
| service_host | xxxxxx |
| service_id | 11 |
| state | up |
| status | enabled |
| vcpus | 88 |
| vcpus_used | 8 |
+------
description: | updated |
description: | updated |
description: | updated |
summary: |
- in ocata doesn't spin up new VM even having enough resources + ocata doesn't spin up new VM even having enough resources |
description: | updated |
description: | updated |
this is not enough info to debug this issue.
you should check the nova compute log for a trace back that is the actull error
this will help /www.youtube. com/watch? v=0uEqDarifJs
https:/