[fuel-main] Manual re-running bootstrap_admin_node.sh kills master networking

Bug #1526344 reported by Aleksey Zvyagintsev on 2015-12-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Critical
Ivan Suzdal

Bug Description

In case user-recovery procedure of fuel-master:
0)ssh root@master
1)dockerctl destroy all
2) bootstrap_admin_node.sh
Scripts tryes to restart networking and destroy itself
https://github.com/openstack/fuel-main/blob/master/iso/bootstrap_admin_node.sh#L139-L142

Changed in fuel:
importance: Undecided → Critical
assignee: nobody → Ivan Suzdal (isuzdal)
description: updated
tags: added: area-build fuel-main
Changed in fuel:
milestone: none → 8.0

Some data, before script run:
cat /etc/fuel/bootstrap_admin_node.conf
#Set to yes to run Fuel Setup
#Set to no to accept default settings
ADMIN_INTERFACE=
showmenu=no
wait_for_external_config=yes
[root@nailgun ~]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 64:2e:3d:7a:3a:42 brd ff:ff:ff:ff:ff:ff
3: enp0s4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 64:a3:66:a8:20:4b brd ff:ff:ff:ff:ff:ff
4: enp0s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 64:e1:45:30:85:f3 brd ff:ff:ff:ff:ff:ff
5: enp0s6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 64:1c:76:35:53:04 brd ff:ff:ff:ff:ff:ff
6: enp0s7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 64:0f:a5:82:94:d1 brd ff:ff:ff:ff:ff:ff
7: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT
    link/ether 02:42:31:c6:b2:49 brd ff:ff:ff:ff:ff:ff

Ivan Suzdal (isuzdal) wrote :

Set correct ADMIN_INTERFACE variable in /etc/bootstrap_admin_node.conf, pls. It should help

Ivan Suzdal (isuzdal) wrote :

In "/etc/fuel/bootstrap_admin_node.conf", sorry

Yup, its help - but it should be done automatically :)

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

Changed in fuel:
status: New → In Progress

Reviewed: https://review.openstack.org/257964
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=b113c71bcb7ae4e055139b94f171f7bfbb13bad7
Submitter: Jenkins
Branch: master

commit b113c71bcb7ae4e055139b94f171f7bfbb13bad7
Author: Ivan Suzdal <email address hidden>
Date: Tue Dec 15 18:43:03 2015 +0300

    Set correct ADMIN_INTERFACE variable in bootstrap_admin_node.conf

    Closes-Bug: #1526344

    Change-Id: I9f19d08e783bad174e0b9a5df4551034fb68a9ef

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
ElenaRossokhina (esolomina) wrote :

Verified on
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "427"
  build_id: "427"
  fuel-nailgun_sha: "9ebbaa0473effafa5adee40270da96acf9c7d58a"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "df16d41cd7a9445cf82ad9fd8f0d53824711fcd8"
  fuel-nailgun-agent_sha: "92ebd5ade6fab60897761bfa084aefc320bff246"
  astute_sha: "c7ca63a49216744e0bfdfff5cb527556aad2e2a5"
  fuel-library_sha: "fae42170a54b98d8e8c8db99b0fbb312633c693c"
  fuel-ostf_sha: "214e794835acc7aa0c1c5de936e93696a90bb57a"
  fuel-mirror_sha: "b62f3cce5321fd570c6589bc2684eab994c3f3f2"
  fuelmenu_sha: "85de57080a18fda18e5325f06eaf654b1b931592"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "9f0ba4577915ce1e77f5dc9c639a5ef66ca45896"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "e8e36cff332644576d7853c80b8a53d5b955420a"

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers