重啟openstack的openstack-service命令不存在

liuzhen_basis發表於2021-06-29


openstack 整個系統重啟命令如下: openstack-service  restart


當前場景是packstack 安裝後重啟命令不存在,openstack-service 不存在



解決方法:

使用YUM的方式安裝

yum install openstack-utils -y


配置合適的yum源,比如使用

yum install


[root@controller yum.repos.d]# openstack-service  restart

[root@controller yum.repos.d]# openstack-service  status

MainPID=30818 Id=neutron-server.service ActiveState=active

MainPID=30006 Id=openstack-aodh-evaluator.service ActiveState=active

MainPID=30025 Id=openstack-aodh-listener.service ActiveState=active

MainPID=30028 Id=openstack-aodh-notifier.service ActiveState=active

MainPID=29997 Id=openstack-ceilometer-central.service ActiveState=active

MainPID=30721 Id=openstack-ceilometer-collector.service ActiveState=active

MainPID=30030 Id=openstack-ceilometer-notification.service ActiveState=active

MainPID=30008 Id=openstack-cinder-api.service ActiveState=active

MainPID=30468 Id=openstack-cinder-scheduler.service ActiveState=active

MainPID=30490 Id=openstack-cinder-volume.service ActiveState=active

MainPID=30007 Id=openstack-glance-api.service ActiveState=active

MainPID=30013 Id=openstack-glance-registry.service ActiveState=active

MainPID=30035 Id=openstack-gnocchi-metricd.service ActiveState=active

MainPID=29995 Id=openstack-gnocchi-statsd.service ActiveState=active

MainPID=0 Id=openstack-losetup.service ActiveState=active

MainPID=30017 Id=openstack-nova-api.service ActiveState=active

MainPID=30276 Id=openstack-nova-cert.service ActiveState=active

MainPID=30020 Id=openstack-nova-conductor.service ActiveState=active

MainPID=30027 Id=openstack-nova-consoleauth.service ActiveState=active

MainPID=30024 Id=openstack-nova-novncproxy.service ActiveState=active

MainPID=30335 Id=openstack-nova-scheduler.service ActiveState=active


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27771627/viewspace-2778931/,如需轉載,請註明出處,否則將追究法律責任。

相關文章