Nova Fails to Boot VMs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Invalid
|
Undecided
|
Hui Kang |
Bug Description
I successfully build images (--base ubuntu and --type source), run kolla-deploy, and run init-runonce. I now try to boot a VM:
root@k03-
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | building |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| adminPass | 59AtR2CippND |
| config_drive | |
| created | 2016-04-
| flavor | m1.tiny (1) |
| hostId | |
| id | 19c79c54-
| image | cirros (d41ad962-
| key_name | mykey |
| metadata | {} |
| name | c1 |
| os-extended-
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | 4c08d171fa23436
| updated | 2016-04-
| user_id | 39b43b3464cc455
+------
The VM's error:
root@k03-
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 19c79c54-
| 2357f08d-
+------
With these details:
root@k03-
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | error |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2016-04-
| fault | {"message": "No valid host was found. There are not enough hosts available.", "code": 500, "details": " File \"/var/
| | context, request_spec, filter_properties) |
| | File \"/var/
| | hosts = self.scheduler_
| | File \"/var/
| | return func(*args, **kwargs) |
| | File \"/var/
| | return self.queryclien
| | File \"/var/
| | return getattr(
| | File \"/var/
| | return self.scheduler_
| | File \"/var/
| | return cctxt.call(ctxt, 'select_
| | File \"/var/
| | retry=self.retry) |
| | File \"/var/
| | timeout=timeout, retry=retry) |
| | File \"/var/
| | retry=retry) |
| | File \"/var/
| | raise result |
| | ", "created": "2016-04-
| flavor | m1.tiny (1) |
| hostId | |
| id | 19c79c54-
| image | cirros (d41ad962-
| key_name | mykey |
| metadata | {} |
| name | c1 |
| os-extended-
| status | ERROR |
| tenant_id | 4c08d171fa23436
| updated | 2016-04-
| user_id | 39b43b3464cc455
+------
Nova services are running:
root@k03-
+----+-
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+-
| 2 | nova-consoleauth | k03-13 | internal | enabled | up | 2016-04-
| 6 | nova-scheduler | k03-13 | internal | enabled | up | 2016-04-
| 7 | nova-conductor | k03-13 | internal | enabled | up | 2016-04-
| 8 | nova-compute | k03-13 | nova | enabled | up | 2016-04-
+----+-
I check hw-virt:
root@k03-
8
Nova config:
root@k03-
[DEFAULT]
debug = True
log_dir = /var/log/kolla/nova
use_forwarded_for = true
api_paste_config = /etc/nova/
state_path = /var/lib/nova
osapi_compute_
osapi_compute_
metadata_listen = 10.30.118.91
metadata_
ec2_listen = 10.30.118.91
ec2_listen_port = 8773
use_neutron = True
firewall_driver = nova.virt.
scheduler_
linuxnet_
allow_resize_
compute_driver = libvirt.
my_ip = 10.30.118.91
osapi_compute_
[vnc]
novncproxy_host = 10.30.118.91
novncproxy_port = 6080
vncserver_listen = 10.30.118.91
vncserver_
novncproxy_base_url = http://
[oslo_messaging
rabbit_userid = openstack
rabbit_password = 5ivsak1tEhOrvCe
rabbit_ha_queues = true
rabbit_hosts = 10.30.118.91:5672
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[glance]
api_servers = 10.30.118.91:9292
num_retries = 1
[cinder]
catalog_info = volume:
[neutron]
url = http://
auth_strategy = keystone
metadata_
service_
auth_url = http://
auth_type = password
project_domain_name = default
user_domain_id = default
project_name = service
username = neutron
password = kPjcU315lU94x2i
[database]
connection = mysql+pymysql:
max_pool_size = 50
max_overflow = 1000
max_retries = -1
[api_database]
connection = mysql+pymysql:
max_retries = -1
[cache]
backend = oslo_cache.
enabled = True
memcache_servers = 10.30.118.91:11211
[keystone_
auth_uri = http://
auth_url = http://
auth_type = password
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = vS9aqC21KMVpg80
memcache_
memcache_secret_key = CSMv7icC6gAvsCO
memcached_servers = 10.30.118.91:11211
[libvirt]
connection_uri = "qemu+tcp:
[upgrade_levels]
compute = auto
[oslo_messaging
driver = noop
[conductor]
workers = 1
Code:
root@k03-
f10a625 Merge "Rabbitmq Upgrade restarts container only when image was changed." into stable/mitaka
74a1487 Add TLS to Kibana Web Interface
...
Hi, Daneyon, are you using the master or stable/mitaka? Thanks. - Hui