devstack fails trying to create systemd user unit file for q-agt

Bug #1698129 reported by YAMAMOTO Takashi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Medium
Sean Dague
networking-midonet
Fix Released
Critical
YAMAMOTO Takashi
networking-odl
Fix Released
Critical
Isaku Yamahata

Bug Description

Note that for networking-midonet q-agt is not relevant.

eg. http://logs.openstack.org/34/474534/2/check/gate-tempest-dsvm-networking-midonet-ml2-ubuntu-xenial/0096baf/logs/devstacklog.txt.gz

2017-06-15 10:43:26.309 | ++ functions-common:run_process:1580 : _define_systemd_service q-agt ' --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini' '' ''
2017-06-15 10:43:26.311 | ++ functions-common:_define_systemd_service:1518 : local service=q-agt
2017-06-15 10:43:26.313 | ++ functions-common:_define_systemd_service:1519 : local 'command= --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
2017-06-15 10:43:26.315 | ++ functions-common:_define_systemd_service:1520 : local 'cmd= --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
2017-06-15 10:43:26.316 | ++ functions-common:_define_systemd_service:1522 : _common_systemd_pitfalls ' --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
2017-06-15 10:43:26.318 | ++ functions-common:_common_systemd_pitfalls:1485 : local 'cmd= --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
2017-06-15 10:43:26.320 | ++ functions-common:_common_systemd_pitfalls:1488 : [[ --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini =~ sudo ]]
2017-06-15 10:43:26.321 | ++ functions-common:_common_systemd_pitfalls:1499 : [[ ! --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini =~ ^/ ]]
2017-06-15 10:43:26.323 | ++ functions-common:_common_systemd_pitfalls:1500 : local msg=
2017-06-15 10:43:26.325 | ++ functions-common:_common_systemd_pitfalls:1506 : die 1506
2017-06-15 10:43:26.326 | ++ functions-common:die:186 : local exitcode=0
2017-06-15 10:43:26.331 | [ERROR] /opt/stack/new/devstack/functions-common:1506
2017-06-15 10:43:27.336 | + functions-common:run_process:1580 : systemd_service='[Call Trace]
2017-06-15 10:43:27.336 | ./stack.sh:1337:start_neutron
2017-06-15 10:43:27.336 | /opt/stack/new/devstack/lib/neutron:592:start_mutnauq_l2_agent
2017-06-15 10:43:27.336 | /opt/stack/new/devstack/lib/neutron-legacy:484:run_process
2017-06-15 10:43:27.336 | /opt/stack/new/devstack/functions-common:1580:_define_systemd_service
2017-06-15 10:43:27.336 | /opt/stack/new/devstack/functions-common:1522:_common_systemd_pitfalls
2017-06-15 10:43:27.336 | /opt/stack/new/devstack/functions-common:1506:die'
2017-06-15 10:43:27.338 | + functions-common:run_process:1 : exit_trap
2017-06-15 10:43:27.339 | + ./stack.sh:exit_trap:518 : local r=1

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
tags: added: midokura-jira-tracked
tags: added: gate-failure
Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
importance: Undecided → Critical
milestone: none → 5.0.0
status: New → In Progress
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

it seems networking-odl gate jobs are affected as well.

Revision history for this message
Isaku Yamahata (yamahata) wrote :

Yes, networking-odl gate jobs are affected.

Changed in networking-odl:
importance: Undecided → Critical
milestone: none → 11.0.0
assignee: nobody → Isaku Yamahata (yamahata)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

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

Changed in devstack:
assignee: nobody → Isaku Yamahata (yamahata)
status: New → In Progress
Revision history for this message
Isaku Yamahata (yamahata) wrote :

I happened to end up with 474779.
I'm quite fine with either patch.

Changed in devstack:
assignee: Isaku Yamahata (yamahata) → nobody
Changed in networking-odl:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-midonet (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/475245

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/475245
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=09b0e58bda7ced114943a3e1463f897ec1aaf29a
Submitter: Jenkins
Branch: master

commit 09b0e58bda7ced114943a3e1463f897ec1aaf29a
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Jun 19 15:07:46 2017 +0900

    tox.ini: Disable failing unit tests

    These are failing due to changes in neutron-fwaas.

    Also, workaround a recent devstack issue by defining
    dummy AGENT_BINARY. This part is basically a copy-and-paste
    from https://review.openstack.org/#/c/474784/ .

    Related-Bug: #1696376
    Realted-Bug: #1696389
    Related-Bug: #1698129
    Co-Authored-By: Isaku Yamahata <email address hidden>
    Change-Id: Iecb6a43be01cbd4057470d56cd7a2e59ceebfcb4

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-odl (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/476216

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-odl (master)

Reviewed: https://review.openstack.org/476216
Committed: https://git.openstack.org/cgit/openstack/networking-odl/commit/?id=9e208e90942f9553fde4d1f32b1aa462349dcbda
Submitter: Jenkins
Branch: master

commit 9e208e90942f9553fde4d1f32b1aa462349dcbda
Author: Isaku Yamahata <email address hidden>
Date: Thu Jun 15 14:14:01 2017 -0700

    unbreak gate

    This patch is squashed patches of the following patch.
    There are several issues to break networking-odl gate,
    which requires several patches. In order to unbreak gate,
    those patches need to be squashed into one.

    ---
    devstack: bug workaround 1698129

    https://bugs.launchpad.net/devstack/+bug/1698129
    caused jobs breakage.
    Define AGENT_BINARY as bug work around.
    Once it's fixed, revert this patch.

    Related-bug: #1698129

    ---
    unit: make dummy uuid follow uuid format

    test_mechanism_odl_v2 test_sg fails due to update of neutron security
    group ovo because dummy uuid doesn't follow uuid format.
    Make those dummy uuid's follow uuid format.
    This also reveals the hidden bug of test_l3_odl. this patch fixes it.

    Closes-bug: #1698221
    ---
    unbreak test_update/delete_floating_ip

    test_update/delete_floating_ip tests floating ip, not port.
    So floating ip needs to be mocked. not port.

    ---
    unbreak security group with ovo

    [1] breaks security group. unbreak it.

    [1] https://review.openstack.org/#/c/284738/
    Closes-bug: #1698284
    Depends-On: I6f49f25eb2ad16221357024f45a6bb6175d5cd55

    ---
    skip functional test_security_group_update

    Due to security group update issue,
    functional test of test_security_group_update doesn't pass.
    skip it until the patch [1] is merged.
    Once the patch is merged, revert this patch.

    [1] https://review.openstack.org/#/c/475649/

    Change-Id: Ifad6929f7700dd3588bd43a45c978b0e071bf385

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-odl (master)

Change abandoned by Isaku Yamahata (<email address hidden>) on branch: master
Review: https://review.openstack.org/474784
Reason: https://review.openstack.org/#/c/476216/

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

Change abandoned by Isaku Yamahata (<email address hidden>) on branch: master
Review: https://review.openstack.org/474779
Reason: ++ avoid bandaiding

Changed in devstack:
assignee: nobody → Sean Dague (sdague)
Sean Dague (sdague)
Changed in devstack:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/474558
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=c087c71834a6eb1d44040142f888b33ffefb5192
Submitter: Jenkins
Branch: master

commit c087c71834a6eb1d44040142f888b33ffefb5192
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Jun 15 12:10:45 2017 +0000

    Revert "systemd: Always create the systemd unit files"

    This reverts commit 15b0a5f1eb849a30bcea9a1e437e9a88ae2c6f92.

    The change had an assumption that a service
    is properly configured even when it isn't enabled.
    The assumption is not true.

    Change-Id: Ib5a8ffe63eaec15bc29bfdd133db7169507bab82
    Closes-Bug: #1698129

Changed in devstack:
status: In Progress → Fix Released
Revision history for this message
Isaku Yamahata (yamahata) wrote :

marking networking-odl is fixed as devstack is fixed.

Changed in networking-odl:
status: In Progress → Fix Released
Changed in networking-midonet:
status: In Progress → 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.