DevStack: Calico bird cannot start

Bug #1690101 reported by YujiAzama
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-calico
Fix Released
Undecided
Nell Jerram

Bug Description

In devstack,
c006bbdeb26df2c60f43d222bdf918f9e24d551f changed USE_SYSTEMD default.

auto-bird-conf.sh is not developed assuming USE_SYSTEMD.

The devstack log is shown below:
2017-05-09 10:12:49.405 | ++ /opt/stack/new/networking-calico/devstack/plugin.sh:source:174 : run_process calico-bird 'sudo /opt/stack/new/networking-calico/devstack/auto-bird-conf.sh 158.69.74.91'
2017-05-09 10:12:49.408 | ++ functions-common:run_process:1564 : local service=calico-bird
2017-05-09 10:12:49.410 | ++ functions-common:run_process:1565 : local 'command=sudo /opt/stack/new/networking-calico/devstack/auto-bird-conf.sh 158.69.74.91'
2017-05-09 10:12:49.413 | ++ functions-common:run_process:1566 : local group=
2017-05-09 10:12:49.416 | ++ functions-common:run_process:1567 : local user=
2017-05-09 10:12:49.418 | ++ functions-common:run_process:1569 : local name=calico-bird
2017-05-09 10:12:49.420 | ++ functions-common:run_process:1571 : time_start run_process
2017-05-09 10:12:49.423 | ++ functions-common:time_start:2489 : local name=run_process
2017-05-09 10:12:49.425 | ++ functions-common:time_start:2490 : local start_time=
2017-05-09 10:12:49.428 | ++ functions-common:time_start:2491 : [[ -n '' ]]
2017-05-09 10:12:49.431 | +++ functions-common:time_start:2494 : date +%s
2017-05-09 10:12:49.435 | ++ functions-common:time_start:2494 : _TIME_START[$name]=1494324769
2017-05-09 10:12:49.437 | ++ functions-common:run_process:1572 : is_service_enabled calico-bird
2017-05-09 10:12:49.452 | ++ functions-common:is_service_enabled:2178 : return 0
2017-05-09 10:12:49.455 | ++ functions-common:run_process:1573 : [[ True = \T\r\u\e ]]
2017-05-09 10:12:49.458 | ++ functions-common:run_process:1574 : _run_under_systemd calico-bird 'sudo /opt/stack/new/networking-calico/devstack/auto-bird-conf.sh 158.69.74.91' '' ''
2017-05-09 10:12:49.460 | ++ functions-common:_run_under_systemd:1513 : local service=calico-bird
2017-05-09 10:12:49.462 | ++ functions-common:_run_under_systemd:1514 : local 'command=sudo /opt/stack/new/networking-calico/devstack/auto-bird-conf.sh 158.69.74.91'
2017-05-09 10:12:49.464 | ++ functions-common:_run_under_systemd:1515 : local 'cmd=sudo /opt/stack/new/networking-calico/devstack/auto-bird-conf.sh 158.69.74.91'
2017-05-09 10:12:49.467 | ++ functions-common:_run_under_systemd:1517 : _common_systemd_pitfalls 'sudo /opt/stack/new/networking-calico/devstack/auto-bird-conf.sh 158.69.74.91'
2017-05-09 10:12:49.470 | ++ functions-common:_common_systemd_pitfalls:1485 : local 'cmd=sudo /opt/stack/new/networking-calico/devstack/auto-bird-conf.sh 158.69.74.91'
2017-05-09 10:12:49.472 | ++ functions-common:_common_systemd_pitfalls:1488 : [[ sudo /opt/stack/new/networking-calico/devstack/auto-bird-conf.sh 158.69.74.91 =~ sudo ]]
2017-05-09 10:12:49.475 | ++ functions-common:_common_systemd_pitfalls:1489 : local msg=
2017-05-09 10:12:49.478 | ++ functions-common:_common_systemd_pitfalls:1496 : die 1496
2017-05-09 10:12:49.480 | ++ functions-common:die:186 : local exitcode=0

YujiAzama (azama-yuji)
Changed in networking-calico:
assignee: nobody → YujiAzama (azama-yuji)
Changed in networking-calico:
assignee: YujiAzama (azama-yuji) → Neil Jerram (neil-jerram)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-calico (master)

Reviewed: https://review.openstack.org/463498
Committed: https://git.openstack.org/cgit/openstack/networking-calico/commit/?id=4234da5d475d116e310eda54bc370dd5a2e69e3b
Submitter: Jenkins
Branch: master

commit 4234da5d475d116e310eda54bc370dd5a2e69e3b
Author: Neil Jerram <email address hidden>
Date: Tue May 9 10:09:06 2017 +0100

    DevStack plugin: fix for recent neutron and devstack changes

    - Set variables so that configure_neutron_after_post_config does not set
      service_plugins. (What changed here has that neutron-legacy's setting
      of service_plugins was deferred. Previously neutron-legacy set some
      value, and then the networking-calico deleted that. Now
      neutron-legacy sets its value after the last time that the
      networking-calico plugin code has run.)

    - Don't use systemd, as our running of auto-bird-conf is not
      systemd-compatible yet.

    - Remove 'coverage=eventlet' declaration from .coveragerc.

    - Also disable q-metering, as we have no use for it.

    Change-Id: If08b226ce53051e50030ee961a9b05a62d44b204
    Closes-Bug: #1689483
    Closes-Bug: #1690101

Changed in networking-calico:
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.