RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1161501 - Can't enable OpenStack service after openstack-service disable
Summary: Can't enable OpenStack service after openstack-service disable
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-utils
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: Juno
Assignee: Lon Hohberger
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-07 09:16 UTC by Yaniv Kaul
Modified: 2016-05-19 15:43 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:43:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Yaniv Kaul 2014-11-07 09:16:01 UTC
Description of problem:
After disabling the openstack services via 'openstack-service disable' one  cannot enable them.

Version-Release number of selected component (if applicable):
openstack-utils-2014.1-3.el7.centos.1.noarch

How reproducible:
Always

Steps to Reproduce:
1. openstack-service list |xargs openstack-service disable
2.
3.

Actual results:
[root@lgdrm1499 ~]# openstack-service list
[root@lgdrm1499 ~]


Expected results:
- Can stop the running services.
- Can enable the services.

Additional info:
root@lgdrm1499 ~]# openstack-service list |xargs openstack-service disable rm '/etc/systemd/system/multi-user.target.wants/openstack-keystone.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-cinder-api.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-cinder-volume.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-cinder-scheduler.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-glance-registry.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-glance-api.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-nova-api.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-nova-novncproxy.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-nova-consoleauth.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-nova-scheduler.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-nova-conductor.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-nova-compute.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-nova-network.service'
rm '/etc/systemd/system/multi-user.target.wants/openstack-nova-cert.service'
rm '/etc/systemd/system/openstack-cinder-volume.service.requires/openstack-losetup.service'


This was fine and dandy, but now:
1. I can't stop the openstack services:
[root@lgdrm1499 ~]# openstack-service list |xargs openstack-service stop Too few arguments.
[root@lgdrm1499 ~]# openstack-service list
[root@lgdrm1499 ~]
[root@lgdrm1499 ~]# openstack-status
== Nova services ==
openstack-nova-api:                     active    (disabled on boot)
openstack-nova-cert:                    active    (disabled on boot)
openstack-nova-compute:                 active    (disabled on boot)
openstack-nova-network:                 active    (disabled on boot)
openstack-nova-scheduler:               active    (disabled on boot)
openstack-nova-volume:                  inactive  (disabled on boot)
openstack-nova-conductor:               active    (disabled on boot)
== Glance services ==
openstack-glance-api:                   active    (disabled on boot)
openstack-glance-registry:              active    (disabled on boot)
== Keystone service ==
openstack-keystone:                     active    (disabled on boot)
== Horizon service ==
openstack-dashboard:                    active
== Cinder services ==
openstack-cinder-api:                   active    (disabled on boot)
openstack-cinder-scheduler:             active    (disabled on boot)
openstack-cinder-volume:                active    (disabled on boot)
openstack-cinder-backup:                inactive  (disabled on boot)
== Support services ==
libvirtd:                               active
dbus:                                   active
rabbitmq-server:                        active
memcached:                              active
== Keystone users ==
Warning keystonerc not sourced

Comment 4 Chandan Kumar 2016-05-19 15:43:46 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


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