[Centos 7.1] openstack-status shows 'Unknown' for various services

Bug #1517760 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Ignatious Johnson Christopher
R2.21.x
Fix Committed
High
Ignatious Johnson Christopher
Trunk
Fix Committed
High
Ignatious Johnson Christopher

Bug Description

Centos 7.1 R2.20 Build 10

openstack-status on a centos7.1 node shows services as "unknown"

+++ 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

Tags: provisioning
description: updated
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

[root@nodeb8 contrail-test]# openstack-status
== Nova services ==
openstack-nova-api: unknown
openstack-nova-cert: unknown
openstack-nova-compute: active
openstack-nova-network: inactive (disabled on boot)
openstack-nova-scheduler: novunknown
openstack-nova-volume: inactive (disabled on boot)
openstack-nova-conductor: a unknown
== Glance services ==
openstack-glance-api: liunknown
openstack-glance-registry: st unknown
== Keystone service ==
openstack-keystone: unknown
== Horizon service ==
openstack-dashboard: active
== Cinder services ==
openstack-cinder-api: unknown
openstack-cinder-scheduler:
unknown
openstack-cinder-volume: inactive (disabled on boot)
== Support services ==
mysqld: inactive (disabled on boot)
httpd: active
rabbitmq-server: active
memcached: active
== Keystone users ==

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/15558
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/15559
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/15560
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/15559
Committed: http://github.org/Juniper/contrail-provisioning/commit/192a406b0fd5d9d225011f52e77b34371a922467
Submitter: Zuul
Branch: master

commit 192a406b0fd5d9d225011f52e77b34371a922467
Author: Ignatious Johnson Christopher <email address hidden>
Date: Wed Dec 2 16:04:26 2015 -0800

Fix openstack-status to check the status using supervisor instead of systemd.
Closes-Bug: 1517760

Change-Id: I242dbcf52905b0c7f4b343522fec04a46218662c

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/15558
Committed: http://github.org/Juniper/contrail-provisioning/commit/d83f7a041008b091b693bbe5a8e4ba0f77244445
Submitter: Zuul
Branch: R2.20

commit d83f7a041008b091b693bbe5a8e4ba0f77244445
Author: Ignatious Johnson Christopher <email address hidden>
Date: Wed Dec 2 16:04:26 2015 -0800

Fix openstack-status to check the status using supervisor instead of systemd.
Closes-Bug: 1517760

Change-Id: I242dbcf52905b0c7f4b343522fec04a46218662c

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/15560
Committed: http://github.org/Juniper/contrail-provisioning/commit/45664812fcf70692fefaeab24c0f1f156939dc05
Submitter: Zuul
Branch: R2.21.x

commit 45664812fcf70692fefaeab24c0f1f156939dc05
Author: Ignatious Johnson Christopher <email address hidden>
Date: Wed Dec 2 16:04:26 2015 -0800

Fix openstack-status to check the status using supervisor instead of systemd.
Closes-Bug: 1517760

Change-Id: I242dbcf52905b0c7f4b343522fec04a46218662c

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.