Running sheepdog with systemd was failed

Bug #1691066 reported by Rikimaru Honjo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack-plugin-sheepdog
Fix Released
Undecided
Unassigned

Bug Description

stack.sh of latest devstack[1] was executed with devstack-plugin-sheepdog in cinder CI.
As a result, running sheepdog was failed.

[1]This devstack used systemd.

[logs]

http://logs.openstack.org/86/449386/1/check/gate-tempest-dsvm-full-sheepdog-ubuntu-xenial-nv/36533b8/logs/devstacklog.txt.gz

[...]
2017-05-15 03:11:56.423 | ++ functions-common:run_process:1573 : [[ True = \T\r\u\e ]]
2017-05-15 03:11:56.425 | ++ functions-common:run_process:1574 : _run_under_systemd sheepdog 'sheep -l dst=stdout,level=debug,format=server -c local -n /opt/stack/data/sheepdog' '' ''
2017-05-15 03:11:56.427 | ++ functions-common:_run_under_systemd:1513 : local service=sheepdog
2017-05-15 03:11:56.429 | ++ functions-common:_run_under_systemd:1514 : local 'command=sheep -l dst=stdout,level=debug,format=server -c local -n /opt/stack/data/sheepdog'
2017-05-15 03:11:56.431 | ++ functions-common:_run_under_systemd:1515 : local 'cmd=sheep -l dst=stdout,level=debug,format=server -c local -n /opt/stack/data/sheepdog'
2017-05-15 03:11:56.433 | ++ functions-common:_run_under_systemd:1517 : _common_systemd_pitfalls 'sheep -l dst=stdout,level=debug,format=server -c local -n /opt/stack/data/sheepdog'
2017-05-15 03:11:56.435 | ++ functions-common:_common_systemd_pitfalls:1485 : local 'cmd=sheep -l dst=stdout,level=debug,format=server -c local -n /opt/stack/data/sheepdog'
2017-05-15 03:11:56.438 | ++ functions-common:_common_systemd_pitfalls:1488 : [[ sheep -l dst=stdout,level=debug,format=server -c local -n /opt/stack/data/sheepdog =~ sudo ]]
2017-05-15 03:11:56.440 | ++ functions-common:_common_systemd_pitfalls:1499 : [[ ! sheep -l dst=stdout,level=debug,format=server -c local -n /opt/stack/data/sheepdog =~ ^/ ]]
2017-05-15 03:11:56.442 | ++ functions-common:_common_systemd_pitfalls:1500 : local msg=
2017-05-15 03:11:56.444 | ++ functions-common:_common_systemd_pitfalls:1506 : die 1506
2017-05-15 03:11:56.446 | ++ functions-common:die:186 : local exitcode=0
2017-05-15 03:11:56.448 | [Call Trace]
2017-05-15 03:11:56.448 | ./stack.sh:1207:run_phase
2017-05-15 03:11:56.448 | /opt/stack/new/devstack/functions-common:2001:run_plugins
2017-05-15 03:11:56.448 | /opt/stack/new/devstack/functions-common:1968:source
2017-05-15 03:11:56.448 | /opt/stack/new/devstack-plugin-sheepdog/devstack/plugin.sh:132:start_sheepdog
2017-05-15 03:11:56.448 | /opt/stack/new/devstack-plugin-sheepdog/devstack/plugin.sh:90:run_process
2017-05-15 03:11:56.448 | /opt/stack/new/devstack/functions-common:1574:_run_under_systemd
2017-05-15 03:11:56.449 | /opt/stack/new/devstack/functions-common:1517:_common_systemd_pitfalls
2017-05-15 03:11:56.449 | /opt/stack/new/devstack/functions-common:1506:die
2017-05-15 03:11:56.452 | [ERROR] /opt/stack/new/devstack/functions-common:1506
2017-05-15 03:11:57.456 | Error on exit

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack-plugin-sheepdog (master)

Change abandoned by Rikimaru Honjo (<email address hidden>) on branch: master
Review: https://review.openstack.org/464995

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack-plugin-sheepdog (master)

Reviewed: https://review.openstack.org/465011
Committed: https://git.openstack.org/cgit/openstack/devstack-plugin-sheepdog/commit/?id=ba843990c9335ea4bd2f1db2a8377b264ddd0524
Submitter: Jenkins
Branch: master

commit ba843990c9335ea4bd2f1db2a8377b264ddd0524
Author: Rikimaru Honjo <email address hidden>
Date: Tue May 16 18:58:32 2017 +0900

    Fix plugin for systemd

    Current devstack uses systemd for running processes.[1]
    As a result, path of process should be specified as full path.
    So this patch fixes specifying path.

    [1]https://docs.openstack.org/developer/devstack/systemd.html

    Change-Id: I0742a8f746a7ba7a3394e9e3bb5ab3a7ba857e04
    Closes-Bug: #1691066

Changed in devstack-plugin-sheepdog:
status: New → 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.