yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #63280
[Bug 1682060] Re: empty nova service and hypervisor list
Reviewed: https://review.openstack.org/456944
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=b14a671f2259b5e053796a3318c7d9872d6b784d
Submitter: Jenkins
Branch: master
commit b14a671f2259b5e053796a3318c7d9872d6b784d
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date: Fri Apr 14 14:18:48 2017 -0400
Update nova-compute-install steps for multi-cell support
Similar to the nova change with the same change ID, we
need to update the install guide for Pike due to some
limitations in the compute API when supporting multiple
cells. The hypervisor list command will not work before the
hosts are discovered, and with the steps as they are now in the
guide, you wait to discover the hosts until the hypervisors
show up, which is a chicken-and-egg problem.
The solution proposed is to use the openstack compute service
list command instead, which does not have the same host
discovery pre-requisite limitation. The nova cells install guide
docs are also being updated in the nova tree for the same issue.
Kolla is also making a similar change for their Pike deployment
scripts:
Id061e8039e72de77a04c51657705457193da2d0f
Change-Id: If2baab40c2e2a3de20e561bba50688d615b002ef
Closes-Bug: #1682060
** Changed in: openstack-manuals
Status: In Progress => Fix Released
--
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:
Fix Released
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