Centos 7.1 R2.20 Build 10
openstack-status on a centos7.1 node shows services as "unknown"
[11/18/15, 12:42:34 PM] vedujoshi: +++ echo openstack-nova-api +++ sed s/openstack-//g ++ svc_name=nova-api ++ service nova-api status ++ grep -v 'api-name: unrecognized service' ++ echo enabled + bootstatus=enabled ++ systemctl is-active openstack-nova-api.service + status=unknown + '[' enabled = disabled ']' + bootstatus= + printf '%s\n' unknown unknown
Looks like it is trying to do service openstack-nova-api status instead of nova-api
Centos 7.1 R2.20 Build 10
openstack-status on a centos7.1 node shows services as "unknown"
[11/18/15, 12:42:34 PM] vedujoshi: +++ echo openstack-nova-api nova-api. service
+++ sed s/openstack-//g
++ svc_name=nova-api
++ service nova-api status
++ grep -v 'api-name: unrecognized service'
++ echo enabled
+ bootstatus=enabled
++ systemctl is-active openstack-
+ status=unknown
+ '[' enabled = disabled ']'
+ bootstatus=
+ printf '%s\n' unknown
unknown
Looks like it is trying to do service openstack-nova-api status instead of nova-api