Ask Your Question
0

compute node can not deployment demo vm.

asked 2017-03-16 05:55:52 -0500

redliquid gravatar image

OS: CNEOS 7.1 CONTROLLER NODE: MEM:11G egrep -c '(vmx|svm)' /proc/cpuinfo 16

egrep -o '(vmx|svm)' /proc/cpuinfo vmx nova.conf: [DEFAULT] enabled_apis = osapi_compute,metadata rpc_backend = rabbit auth_strategy = keystone my_ip = 10.100.100.41 use_neutron = True firewall_driver = nova.virt.firewall.NoopFirewallDriver

[api_database] connection = mysql+pymysql://nova:nova@controller01/nova_api

[database] connection = mysql+pymysql://nova:nova@controller01/nova

[oslo_messaging_rabbit] rabbit_host = controller01 rabbit_userid = openstack rabbit_password = lvzhe001

[keystone_authtoken] auth_uri = http://controller01:5000 auth_url = http://controller01:35357 memcached_servers = controller01:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = nova password = nova

[vnc] vncserver_listen = 10.100.100.41 vncserver_proxyclient_address = 10.100.100.41

[glance] api_servers = http://controller01:9292

[oslo_concurrency] lock_path = /var/lib/nova/tmp

[neutron] url = http://controller01:9696 auth_url = http://controller01:35357 auth_type = password project_domain_name = default user_domain_name = default region_name = RegionOne project_name = service username = neutron password = neutron service_metadata_proxy = True ram_allocation_ratio=1.0 compute_driver=libvirt.LibvirtDriver

COMPUTE NODE: MEM:24g egrep -o '(vmx|svm)' /proc/cpuinfo vmx

[DEFAULT] rpc_backend = rabbit auth_strategy = keystone my_ip = 10.100.100.44 use_neutron = True firewall_driver = nova.virt.firewall.NoopFirewallDriver

[oslo_messaging_rabbit] rabbit_host = controller01 rabbit_userid = openstack rabbit_password = lvzhe001

[keystone_authtoken] auth_uri = http://controller01:5000 auth_url = http://controller01:35357 memcached_servers = controller01:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = nova password = nova

[vnc] enabled = True vncserver_listen = 0.0.0.0 vncserver_proxyclient_address = 10.100.100.44 novncproxy_base_url = http://10.100.100.41:6080/vnc_auto.html

[glance] api_servers = http://controller01:9292

[oslo_concurrency] lock_path = /var/lib/nova/tmp

[neutron] url = http://controller01:9696 auth_url = http://controller01:35357 auth_type = password project_domain_name = default user_domain_name = default region_name = RegionOne project_name = service username = neutron password = neutron

ram_allocation_ratio=1.0 compute_driver=libvirt.LibvirtDriver libvirt_type=kvm

WHEN i was create vm, i get error as below: openstack-nova-schedule.log: 2017-03-16 15:24:51.452 5528 ERROR nova.scheduler.utils [req-b692bda2-2f1a-4249-a9e8-4ba80d47cbb8 dfa2e52477fd4ce881e7e53313eb646b 4c09cf2f64f34f98b769957e8c03aece - - -] [instance: 4c282de4-d4e1-412b-9e79-8e2ce9062f9f] Error from last host: compute01 (node compute01): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1926, in _do_build_and_run_instance\n filter_properties)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2116, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 4c282de4-d4e1-412b-9e79-8e2ce9062f9f was re-scheduled: internal error: process exited while connecting to monitor: \n(process:22715): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported\n2017-03-16T07:24:50.791469Z qemu-kvm: CPU feature arat not found\n'] 2017-03-16 15:24:51.617 5528 WARNING nova.scheduler.utils [req-b692bda2-2f1a-4249-a9e8-4ba80d47cbb8 dfa2e52477fd4ce881e7e53313eb646b 4c09cf2f64f34f98b769957e8c03aece - - -] Failed to compute_task_build_instances: No valid host was found. There are not enough hosts available. Traceback (most recent call last):

File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 150, in inner return func(args, *kwargs)

File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 104, in select_destinations dests = self.driver.select_destinations(ctxt, spec_obj)

File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 74, in select_destinations raise exception.NoValidHost(reason=reason)

NoValidHost: No valid host was found. There are not enough hosts available.

2017-03-16 15:24:51.618 5528 WARNING nova.scheduler ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-03-16 08:28:53 -0500

redliquid gravatar image

updated 2017-03-17 02:26:24 -0500

the rpm package in mitaka has bug on centos 7,so i was remove package, and install same package on centos 7.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-03-16 05:55:52 -0500

Seen: 155 times

Last updated: Mar 17 '17