The problem described to me in the kolla IRC channel was kolla polls
'nova service-list' until the computes show up, otherwise if the
computes aren't there when simple_cell_setup runs it will stop before it
creates the first (main) cell.

With this change in the API: https://review.openstack.org/#/c/442162/21

We iterate the cells to list services, so if you don't have the cell
created yet, you'll get nothing back.

The simple_cell_setup command is not great for a fresh install, since
it's not so simple it turns out. It works a bit easier for upgrades from
non-cells to cells but for a fresh install I wouldn't use it. I'd change
tooling for a fresh install to follow the steps in this document:

https://docs.openstack.org/developer/nova/cells.html#fresh-install

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1682060

Title:
  empty nova service and hypervisor list

Status in kolla-ansible:
  New
Status in OpenStack Compute (nova):
  Invalid

Bug description:
  In current master, openstack compute service list and openstack hypervisor 
list (same issue with nova cli) result in an empty list.
  If I check the database, services are registered in the database.

  [root@controller tools]# docker exec -ti kolla_toolbox mysql -unova 
-pYVDa3l8vA57Smnbu9Q5qdgSKJckNxP3Q3rYvVxsD  -h 192.168.100.10 nova -e "SELECT * 
from services WHERE topic = 'compute'";
  
+---------------------+---------------------+------------+----+------------+--------------+---------+--------------+----------+---------+-----------------+---------------------+-------------+---------+
  | created_at          | updated_at          | deleted_at | id | host       | 
binary       | topic   | report_count | disabled | deleted | disabled_reason | 
last_seen_up        | forced_down | version |
  
+---------------------+---------------------+------------+----+------------+--------------+---------+--------------+----------+---------+-----------------+---------------------+-------------+---------+
  | 2017-04-12 09:12:10 | 2017-04-12 09:14:33 | NULL       |  9 | controller | 
nova-compute | compute |           13 |        0 |       0 | NULL            | 
2017-04-12 09:14:33 |           0 |      17 |
  
+---------------------+---------------------+------------+----+------------+--------------+---------+--------------+----------+---------+-----------------+---------------------+-------------+---------+
  [root@controller tools]# openstack compute service list --long

  [root@controller tools]# 
  [root@controller tools]# openstack hypervisor list --long

  [root@controller tools]#

  Logs from kolla deploy gates
  http://logs.openstack.org/08/456108/1/check/gate-kolla-dsvm-deploy-
  centos-source-centos-7-nv/9cf1e73/

  Environment:
  - source code
  - OS: centos/ubuntu/oraclelinux
  - Deployment type: kolla-ansible

  Please let me know if more info is needed or if there is a workaround.
  Regards

To manage notifications about this bug go to:
https://bugs.launchpad.net/kolla-ansible/+bug/1682060/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to