Murano service on CentOS starts more than one time

Bug #1447639 reported by Vasily Gorin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Igor Yozhikov

Bug Description

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "338"
  build_id: "2015-04-22_22-54-31"
  nailgun_sha: "4972120d5a5d41efe9be2d10b81329adf3258a78"
  python-fuelclient_sha: "2b311b3b82a1e2df1dc3484a0f37e282273cd988"
  astute_sha: "5be3506e6a4f8b7f0a858db2e162dabcc07347df"
  fuel-library_sha: "9b26cb98e7ceb905fe85b744eee2f808f7e4737b"
  fuel-ostf_sha: "dcda5a869d1780efc265b6f6b7b8c14c8324a68b"
  fuelmain_sha: "2f8be90209e709810674f73abb02bb54a700ce5e"

Description:
 Each time when we execute command "service openstack-murano-engine start" this service starts with one new PID and ignores that the service was started before. After execution of command "service openstack-murano-engine stop" first time, this command stops last created process, but service is still running. If we execute "service openstack-murano-engine stop" second time, this command is failed.

Steps to reproduce:
1. Deploy OS, CentOS, Neutron-GRE, Murano. HA_one_controller (1 controller, 1 compute)
2. Log into controller via ssh.
3. Execute command "service openstack-murano-engine start" and check service status
4. Execute command "service openstack-murano-engine start" and check service status
5. Execute command "service openstack-murano-engine stop" and check service status
6. Execute command "service openstack-murano-engine stop" . It is failed.

See more detailed information in Log below

Log:

[root@node-3 ~]# service openstack-murano-engine status
murano-engine (pid 18194) is running...
[root@node-3 ~]# service openstack-murano-engine start
Starting murano-engine: 18194
30214
                                                           [ OK ]
[root@node-3 ~]# service openstack-murano-engine status
murano-engine (pid 30214 18194) is running...
[root@node-3 ~]# service openstack-murano-engine stop
Stopping murano-engine: [ OK ]
[root@node-3 ~]# service openstack-murano-engine status
murano-engine (pid 18194) is running...
[root@node-3 ~]# service openstack-murano-engine stop
Stopping murano-engine: [FAILED]
[root@node-3 ~]#
[root@node-3 ~]#
[root@node-3 ~]#
[root@node-3 ~]# service openstack-murano-engine status
murano-engine (pid 18194) is running...
[root@node-3 ~]# service openstack-murano-engine start
Starting murano-engine: 18194
18471
                                                           [ OK ]
[root@node-3 ~]# service openstack-murano-engine status
murano-engine (pid 18471 18194) is running...
[root@node-3 ~]# service openstack-murano-engine stop
Stopping murano-engine: [ OK ]
[root@node-3 ~]# service openstack-murano-engine status
murano-engine (pid 18194) is running...
[root@node-3 ~]# service openstack-murano-engine stop
Stopping murano-engine: [FAILED]
[root@node-3 ~]# service openstack-murano-engine start
Starting murano-engine: 18194
20361
                                                           [ OK ]
[root@node-3 ~]# service openstack-murano-engine start
Starting murano-engine: 18194
20361
20626
                                                           [ OK ]
[root@node-3 ~]# service openstack-murano-engine start
Starting murano-engine: 18194
20361
20626
20854
                                                           [ OK ]
[root@node-3 ~]# service openstack-murano-engine status
murano-engine (pid 20854 20626 20361 18194) is running...
[root@node-3 ~]# service openstack-murano-engine stop
Stopping murano-engine: [ OK ]
[root@node-3 ~]# service openstack-murano-engine stop
Stopping murano-engine: [FAILED]
[root@node-3 ~]# service openstack-murano-engine status
murano-engine (pid 20626 20361 18194) is running...

Tags: murano
Revision history for this message
Vasily Gorin (vgorin) wrote :
Changed in fuel:
assignee: nobody → MOS Murano (mos-murano)
assignee: MOS Murano (mos-murano) → nobody
Changed in fuel:
importance: Undecided → High
Changed in fuel:
assignee: nobody → MOS Murano (mos-murano)
status: New → Confirmed
tags: added: murano
Changed in fuel:
assignee: MOS Murano (mos-murano) → Igor Yozhikov (iyozhikov)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack-build/murano-build (openstack-ci/fuel-6.1/2014.2)

Fix proposed to branch: openstack-ci/fuel-6.1/2014.2
Change author: Igor Yozhikov <email address hidden>
Review: https://review.fuel-infra.org/6165

Revision history for this message
OSCI Robot (oscirobot) wrote :

Fix proposed to branch: openstack-ci/fuel-6.1/2014.2
Review: https://review.fuel-infra.org/6165

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack-build/murano-build (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/6165
Submitter: Igor Yozhikov <email address hidden>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: 8c7127b756ba6cd8c33a7a6f5906a3deb11c26fd
Author: Igor Yozhikov <email address hidden>
Date: Fri Apr 24 07:28:00 2015

Update CentOS init scripts

* add process existence check before start

Change-Id: If83bd87081788b3a749dfe2e3108acf42f1914c3
Closes-Bug: #1447639

Revision history for this message
OSCI Robot (oscirobot) wrote :

Reviewed: https://review.fuel-infra.org/6165
Committed: https://review.fuel-infra.org/gitweb?p=openstack-build/murano-build.git;a=commitdiff;h=8c7127b756ba6cd8c33a7a6f5906a3deb11c26fd
Submitter: Igor Yozhikov
Branch: openstack-ci/fuel-6.1/2014.2

commit 8c7127b756ba6cd8c33a7a6f5906a3deb11c26fd
Author: Igor Yozhikov <email address hidden>

Update CentOS init scripts

* add process existence check before start

Change-Id: If83bd87081788b3a749dfe2e3108acf42f1914c3
Closes-Bug: #1447639

Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
Vasily Gorin (vgorin) wrote :

Verified on build #408

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "408"
  build_id: "2015-05-12_17-03-01"
  nailgun_sha: "042ed77ffdff22a5242ac7f8a6980836d0a5ef1a"
  python-fuelclient_sha: "af6c9c3799b9ec107bcdc6dbf035cafc034526ce"
  astute_sha: "d9d488c4c675e6dd33eb68b33a79abe591b4c26f"
  fuel-library_sha: "156fb11bbf3e12e7c73a9a3ac785c9d33d4ac343"
  fuel-ostf_sha: "21afa436e725be1debadf1c207018753b537c7b3"
  fuelmain_sha: "51b86bb24b27742a22b23e2ae3dfc850c47e5fbf"

Changed in fuel:
status: Fix Committed → Fix Released
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.