Hide Forgot
Description of problem: One currently cannot delete nova services with keystone v3. Using keystone v2, this can easily be done via python-novaclient: [root@rhel7 ~(keystone_admin)]# nova service-list +----+------------------+------------------------+----------+---------+-------+----------------------------+-----------------+ | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | +----+------------------+------------------------+----------+---------+-------+----------------------------+-----------------+ | 1 | nova-consoleauth | rhel7.0-packstack-osp6 | internal | enabled | up | 2016-03-17T01:52:03.000000 | - | | 2 | nova-scheduler | rhel7.0-packstack-osp6 | internal | enabled | up | 2016-03-17T01:52:03.000000 | - | | 3 | nova-conductor | rhel7.0-packstack-osp6 | internal | enabled | up | 2016-03-17T01:52:02.000000 | - | | 4 | nova-compute | rhel7.0-packstack-osp6 | nova | enabled | up | 2016-03-17T01:52:05.000000 | - | | 5 | nova-cert | rhel7.0-packstack-osp6 | internal | enabled | up | 2016-03-17T01:52:03.000000 | - | +----+------------------+------------------------+----------+---------+-------+----------------------------+-----------------+ [root@rhel7 ~(keystone_admin)]# nova service-delete 4 [root@rhel7 ~(keystone_admin)]# nova service-list +----+------------------+------------------------+----------+---------+-------+----------------------------+-----------------+ | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | +----+------------------+------------------------+----------+---------+-------+----------------------------+-----------------+ | 1 | nova-consoleauth | rhel7.0-packstack-osp6 | internal | enabled | up | 2016-03-17T01:52:43.000000 | - | | 2 | nova-scheduler | rhel7.0-packstack-osp6 | internal | enabled | up | 2016-03-17T01:52:43.000000 | - | | 3 | nova-conductor | rhel7.0-packstack-osp6 | internal | enabled | up | 2016-03-17T01:52:42.000000 | - | | 5 | nova-cert | rhel7.0-packstack-osp6 | internal | enabled | up | 2016-03-17T01:52:43.000000 | - | +----+------------------+------------------------+----------+---------+-------+----------------------------+-----------------+ However, when setting keystone v3 and when trying with openstack command, there seems to be no delete option: [root@rhel7 ~(keystone_admin)]# openstack -h | grep 'compute service' compute service list List service command compute service set Set service command Version-Release number of selected component (if applicable): OSP 7.3 How reproducible: all the time Steps to Reproduce: see above Actual results: see above Expected results: Would like to be able to delete a compute service when keystonev3 is enabled; Additional info: python-nova does not support keystonev3
The 'openstack service delete' command was added to python-openstackclient in version 1.9.0. [1][2] [1] https://docs.openstack.org/releasenotes/python-openstackclient/pre_20_releases.html#nov-2015 [2] https://github.com/openstack/python-openstackclient/commit/d1bc15f498da1a4d5f1c865d5eb6a151f472be9c
Given #3 I'm closing this out as CURRENTRELEASE for OSP 9 as OSP 7 is now EOL.