Hi, i recently added a new compute node to my Openstack Queens environment running on Ubuntu 18. Now i have an lxc compute node and one KVM compute node. Is possible in openstack to choose the compute node from where i want to deploy my new instance.
Note: i want to deploy a new lxc instance, but when i select the lxc image, the instance is been deployed in the kvm compute node node
UPDATE:
I tried both solutions, with the ones of the host aggregate the containers can't find any bootable device, and then i tried to force my ubuntu image to the selected hypevisor (openstack image set --property hypervisor_type=lxc 9e4ada59-0776-4dc1-bce3-8499584c9c32) and this is the result
No valid host was found. There are not enough hosts available.
Code
500
Details
File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 1120, in schedule_and_build_instances instance_uuids, return_alternates=True) File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 717, in _schedule_instances return_alternates=return_alternates) File "/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py", line 787, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 53, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 42, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 158, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 174, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 131, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send retry=retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 550, in _send raise result
Trending Articles
More Pages to Explore .....