← Back to team overview

yahoo-eng-team team mailing list archive

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

 

I've added openstack-manuals to this because it also tells you to use
"nova hypervisor-list" to tell when a compute host is up and running but
before running discover_hosts on it.

https://docs.openstack.org/ocata/install-guide-ubuntu/nova-compute-
install.html#add-the-compute-node-to-the-cell-database

So we need to update that as well.

** Also affects: openstack-manuals
   Importance: Undecided
       Status: New

** Changed in: openstack-manuals
       Status: New => 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:
  In Progress
Status in OpenStack Compute (nova):
  In Progress
Status in openstack-manuals:
  Confirmed

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