1. It is working fine when we use
openstack server create --flavor dpm --volume 9c0d379a-c029-466f-9b61-4f2a200316db --nic net-id=71f29e77-c46f-4c35-ab21-f2ac7e39f16f test_server1
And Scheduling works on the basis of load balance when we use default scheduling filter provided by devstack.
2. When we try to create server on specific compute node then faced issue.
openstack server create --flavor dpm --volume 9c0d379a-c029-466f-9b61-4f2a200316db --nic net-id=71f29e77-c46f-4c35-ab21-f2ac7e39f16f --availability-zone nova:host2:host2 test_server2
ERROR:
{u'message': u"Host 'host2' is not mapped to any cell", u'code': 400, u'created': u'2017-02-14T12:40:38Z'}
3. We checked
#nova-manage cell_v2 discover_hosts --verbose
Found 2 cell mappings.
Skipping cell0 since it does not contain hosts.
Getting compute nodes from cell: d4014374-a9e1-47a1-a506-f7cf53289919
Found 2 computes in cell: d4014374-a9e1-47a1-a506-f7cf53289919
Checking host mapping for compute host 'storage-test': d88318af-b50c-4511-a2ad-71f3ed543284
Checking host mapping for compute host 'host2': a3757082-3099-4850-9d9b-6b61428e8c0b
1. It is working fine when we use c029-466f- 9b61-4f2a200316 db --nic net-id= 71f29e77- c46f-4c35- ab21-f2ac7e39f1 6f test_server1
openstack server create --flavor dpm --volume 9c0d379a-
And Scheduling works on the basis of load balance when we use default scheduling filter provided by devstack.
2. When we try to create server on specific compute node then faced issue. c029-466f- 9b61-4f2a200316 db --nic net-id= 71f29e77- c46f-4c35- ab21-f2ac7e39f1 6f --availability-zone nova:host2:host2 test_server2
openstack server create --flavor dpm --volume 9c0d379a-
ERROR: 02-14T12: 40:38Z' }
{u'message': u"Host 'host2' is not mapped to any cell", u'code': 400, u'created': u'2017-
3. We checked a9e1-47a1- a506-f7cf532899 19 a9e1-47a1- a506-f7cf532899 19 b50c-4511- a2ad-71f3ed5432 84 3099-4850- 9d9b-6b61428e8c 0b
#nova-manage cell_v2 discover_hosts --verbose
Found 2 cell mappings.
Skipping cell0 since it does not contain hosts.
Getting compute nodes from cell: d4014374-
Found 2 computes in cell: d4014374-
Checking host mapping for compute host 'storage-test': d88318af-
Checking host mapping for compute host 'host2': a3757082-
but we can see "host2" is mapped with cell.