Bug 1281572 - [RFE][nova]: Deprecate service management in nova-manage
Summary: [RFE][nova]: Deprecate service management in nova-manage
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ga
: 9.0 (Mitaka)
Assignee: Eoghan Glynn
QA Contact: Prasanth Anbalagan
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_mitaka-1 upstream_...
: 1281571 (view as bug list)
Depends On:
Blocks: 1281573 1335634
TreeView+ depends on / blocked
 
Reported: 2015-11-12 20:07 UTC by Stephen Gordon
Modified: 2019-09-09 17:09 UTC (History)
15 users (show)

Fixed In Version: openstack-nova-13.0.0-1.el7ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-24 12:57:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 240858 0 None None None Never
Red Hat Product Errata RHBA-2016:1758 0 normal SHIPPED_LIVE openstack-nova bug fix advisory 2016-08-24 16:50:11 UTC

Description Stephen Gordon 2015-11-12 20:07:50 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/deprecate-service-management-in-nova-manage.

Description:

The service command of nova-manage tool provides duplicated functionality
with the nova REST API.

The novaclient already has the following service commands:

service-disable   Disable the service.
service-enable    Enable the service.
service-list      Show a list of all running services.
host-describe     Describe a specific host

This covers what nova-manage service was providing so let's
deprecate the legacy nova-manage subcommand and mark it for
removal in the N release.

Specification URL (additional information):

None

Comment 2 Jon Schlueter 2015-11-30 18:38:51 UTC
*** Bug 1281571 has been marked as a duplicate of this bug. ***

Comment 6 Mike McCune 2016-03-28 22:33:16 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 10 Prasanth Anbalagan 2016-08-18 14:51:01 UTC
Verified as follows - Command is deprecated as expected.

***********
VERSION
***********

[root@serverX]# yum list installed | grep openstack-nova
openstack-nova-api.noarch            1:13.1.1-2.el7ost       @rhelosp-9.0-puddle
openstack-nova-cert.noarch           1:13.1.1-2.el7ost       @rhelosp-9.0-puddle
openstack-nova-common.noarch         1:13.1.1-2.el7ost       @rhelosp-9.0-puddle
openstack-nova-compute.noarch        1:13.1.1-2.el7ost       @rhelosp-9.0-puddle
openstack-nova-conductor.noarch      1:13.1.1-2.el7ost       @rhelosp-9.0-puddle
openstack-nova-console.noarch        1:13.1.1-2.el7ost       @rhelosp-9.0-puddle
openstack-nova-novncproxy.noarch     1:13.1.1-2.el7ost       @rhelosp-9.0-puddle
openstack-nova-scheduler.noarch      1:13.1.1-2.el7ost       @rhelosp-9.0-puddle
[root@serverX]# 

******
LOGS
******
[root@serverX]#  nova-manage service -h
Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
usage: nova-manage service [-h] {describe_resource,disable,enable,list} ...

DEPRECATED: Use the nova service-* commands from python-novaclient instead or
the os-services REST resource. The service subcommand will be removed in the
14.0 release.

positional arguments:
  {describe_resource,disable,enable,list}

optional arguments:
  -h, --help            show this help message and exit
[root@serverX]#

Comment 12 errata-xmlrpc 2016-08-24 12:57:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1758.html


Note You need to log in before you can comment on or make changes to this bug.