← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1682060] Re: empty nova service and hypervisor list

 

Hmm, I see that https://review.openstack.org/#/c/442162/ also breaks
step 6 in our cells v2 install guide which tells you to start your nova-
compute services and then poll for them using the 'nova hypervisor-list'
command, but that relies on the hosts being mapped in the cell first,
and you need to run discover_hosts for that (which is step 7 in the
install guide). So we have a bit of a catch-22 here. I'm going to re-
open this bug for nova simply because we have a documentation issue that
needs to be fixed.

We might also need to raise that as a DocImpact bug for the install
guide in openstack-manuals.

** Changed in: nova
       Status: Invalid => In Progress

** Changed in: nova
     Assignee: (unassigned) => Matt Riedemann (mriedem)

** Tags added: cells doc

** Changed in: nova
   Importance: Undecided => Medium

** Changed in: kolla-ansible
       Status: In Progress => Confirmed

-- 
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:
  Confirmed
Status in OpenStack Compute (nova):
  In Progress

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