Bug 1281572

Summary: [RFE][nova]: Deprecate service management in nova-manage
Product: Red Hat OpenStack Reporter: Stephen Gordon <sgordon>
Component: openstack-novaAssignee: Eoghan Glynn <eglynn>
Status: CLOSED ERRATA QA Contact: Prasanth Anbalagan <panbalag>
Severity: low Docs Contact:
Priority: low    
Version: 7.0 (Kilo)CC: berrange, dasmith, eglynn, jdonohue, jjoyce, jschluet, kchamart, nlevinki, panbalag, sbauza, sclewis, sferdjao, sgordon, srevivo, vromanso
Target Milestone: gaKeywords: FutureFeature, TestOnly, ZStream
Target Release: 9.0 (Mitaka)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/deprecate-service-management-in-nova-manage
Whiteboard: upstream_milestone_mitaka-1 upstream_definition_approved upstream_status_implemented
Fixed In Version: openstack-nova-13.0.0-1.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 12:57:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1281573, 1335634    

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