Comment 3 for bug 1655034

Revision history for this message
Prabhat Ranjan (pranjank) wrote :

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

but we can see "host2" is mapped with cell.