[Rdo-list] Disabling and enabling OpenStack
Kaul, Yaniv
Yaniv.Kaul at emc.com
Wed Nov 5 11:39:18 UTC 2014
Naively, I've executed:
root at 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 at lgdrm1499 ~]# openstack-service list |xargs openstack-service stop
Too few arguments.
[root at lgdrm1499 ~]# openstack-service list
[root at lgdrm1499 ~]
[root at 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
2. I can't enable them (for the same reason above).
Any better ideas how can I enable/disable OpenStack?
Y.
More information about the dev
mailing list