[library] Supervisord can't launch 'dhcrelay_monitor'

Bug #1339027 reported by Artem Panchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Matthew Mosesohn
5.0.x
Fix Released
Critical
Matthew Mosesohn

Bug Description

{"build_id": "2014-07-08_13-57-45", "mirantis": "yes", "build_number": "107", "ostf_sha": "09b6bccf7d476771ac859bb3c76c9ebec9da9e1f", "nailgun_sha": "c0082e3a0e8544bad7bd45c15c5dd8632ea045b5", "production": "docker", "api": "1.0", "fuelmain_sha": "b0f5151d12751b9b55dcd69bd1445d0d480012d6", "astute_sha": "a4edb51661f50c66e247e0b8d00f2d01e0658fe6", "release": "5.0.1", "fuellib_sha": "d4cb36208efaf51a7c0ca012fa63d596d4ee2e29"}

Steps to reproduce:

1. Install Fuel
2. Login on master node via SSH and check service status

[root@fuelweb ~]# supervisorctl status
dhcrelay_monitor BACKOFF Exited too quickly (process log may have details)

[root@fuelweb ~]# tail -3 /var/log/dhcrelay-check.log
couldn't exec /usr/local/bin/dhcrelay_monitor: ENOEXEC
couldn't exec /usr/local/bin/dhcrelay_monitor: ENOEXEC
couldn't exec /usr/local/bin/dhcrelay_monitor: ENOEXEC

To workaround this issue I added '#!/bin/bash' to the beginning of /usr/local/bin/dhcrelay_monitor script.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/105442

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.0)

Fix proposed to branch: stable/5.0
Review: https://review.openstack.org/105447

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/105442
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=fd5fd0d3f74c5a084adfc951a4ee24e3dc27e09c
Submitter: Jenkins
Branch: master

commit fd5fd0d3f74c5a084adfc951a4ee24e3dc27e09c
Author: Matthew Mosesohn <email address hidden>
Date: Tue Jul 8 16:55:57 2014 +0400

    Add bash header for dhcrelay_monitor script

    Change-Id: If893fc274581eacc8c8e286fd6ad6b9afe25c36d
    Closes-bug: #1339027

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.0)

Reviewed: https://review.openstack.org/105447
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=364dee37435cbdc85d6b814a61f57800b83bf22d
Submitter: Jenkins
Branch: stable/5.0

commit 364dee37435cbdc85d6b814a61f57800b83bf22d
Author: Matthew Mosesohn <email address hidden>
Date: Tue Jul 8 16:55:57 2014 +0400

    Add bash header for dhcrelay_monitor script

    Change-Id: If893fc274581eacc8c8e286fd6ad6b9afe25c36d
    Closes-bug: #1339027

Dmitry Ilyin (idv1985)
summary: - Supervisord can't launch 'dhcrelay_monitor'
+ [library] Supervisord can't launch 'dhcrelay_monitor'
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

supervisorctl status
dhcrelay_monitor RUNNING pid 1178, uptime 1:41:18
docker-astute RUNNING pid 11882, uptime 1:40:14
docker-cobbler RUNNING pid 1731, uptime 1:41:16
docker-mcollective RUNNING pid 9690, uptime 1:40:27
docker-nailgun RUNNING pid 12332, uptime 1:40:06
docker-nginx RUNNING pid 1170, uptime 1:41:18
docker-ostf RUNNING pid 11391, uptime 1:40:16
docker-postgres RUNNING pid 10122, uptime 1:40:24
docker-rabbitmq RUNNING pid 11439, uptime 1:40:16
docker-rsync RUNNING pid 10151, uptime 1:40:24
docker-rsyslog RUNNING pid 1175, uptime 1:41:18

Revision history for this message
Nastya Urlapova (aurlapova) wrote :

{
build_id: "2014-07-17_11-18-10",
mirantis: "yes",
build_number: "135",
ostf_sha: "09b6bccf7d476771ac859bb3c76c9ebec9da9e1f",
nailgun_sha: "1d08d6f80b6514085dd8c0af4d437ef5d37e2802",
production: "docker",
api: "1.0",
fuelmain_sha: "c8e13df4c7de3ce3504c2bcb6d51a165b9aae0b6",
astute_sha: "9a74b788be9a7c5682f1c52a892df36e4766ce3f",
release: "5.0.1",
fuellib_sha: "e8c2bb726be6b78c3a34f75c84337a3a5662bb35"
}

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #343
"build_id": "2014-07-22_02-01-14",
"ostf_sha": "c1b60d4bcee7cd26823079a86e99f3f65414498e",
"build_number": "343",
"auth_required": false,
"api": "1.0",
"nailgun_sha": "1edf7ccff2770867385b02538ad4d5f479d9798c",
"production": "docker",
"fuelmain_sha": "fa0eb43ae5e9acc965e5f687a83f389d9e71418c",
"astute_sha": "fd9b8e3b6f59b2727b1b037054f10e0dd7bd37f1",
"feature_groups": ["mirantis"],
"release": "5.1",
"fuellib_sha": "af131a3a114ba012cad171a091999abbfd49e2c3"

[root@fuel ~]# supervisorctl status
dhcrelay_monitor RUNNING pid 17193, uptime 5:14:07
docker-astute RUNNING pid 16738, uptime 5:14:11
docker-cobbler RUNNING pid 16734, uptime 5:14:11
docker-mcollective RUNNING pid 16746, uptime 5:14:10
docker-nailgun RUNNING pid 16741, uptime 5:14:11
docker-nginx RUNNING pid 16752, uptime 5:14:10
docker-ostf RUNNING pid 16748, uptime 5:14:10
docker-postgres RUNNING pid 16735, uptime 5:14:11
docker-rabbitmq RUNNING pid 16736, uptime 5:14:11
docker-rsync RUNNING pid 16737, uptime 5:14:11
docker-rsyslog RUNNING pid 16757, uptime 5:14:10

Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/5.1.x
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.