Reviewed: https://review.openstack.org/456923 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9a5c3cd7da76a7340861d552718e7e46640f15be Submitter: Jenkins Branch: master
commit 9a5c3cd7da76a7340861d552718e7e46640f15be Author: Matt Riedemann <mriedem...@gmail.com> Date: Fri Apr 14 11:21:17 2017 -0400 Add release note and update cell install guide for multi-cell limitations As of change If1e03c9343b8cc9c34bd51c2b4d25acdb21131ff, using "nova hypervisor-list" before compute hosts are mapped to a cell will result in an empty list. Our cells v2 install steps mention using 'nova hypervisor-list' after creating a cell and starting compute services to tell when to run the discover_hosts command, but now hypervisor-list won't work until you've run discover_hosts, so it's a catch-22. This change adds a release note to let people writing deployment tools to know about the change in behavior and also updates the install steps to use service-list instead of hypervisor-list, since service-list does not require the compute host to be mapped to the cell first. We are going to need to make a similar change in the OpenStack install guide since that also mentions using 'nova hypervisor-list' before discover_hosts. Change-Id: If2baab40c2e2a3de20e561bba50688d615b002ef Closes-Bug: #1682060 ** Changed in: nova 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): Fix Released 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 -- 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