Bootstrap of centos_master fails because can't find '/etc/fuel/bootstrap_admin_node.conf'

Bug #1611757 reported by Tatyana Kuterina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Vladimir Khlyunev
Mitaka
Fix Released
High
Vladimir Khlyunev

Bug Description

Detailed bug description:

Found on CI:
https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.system_test.deploy_centos_master/23/console

Test: Deploy cluster and check RadosGW on 1 Controller, 1 Compute & 2 Ceph on Neutron/VLAN
Test Group: Case_CentosDeployCheckRadosGW__Config_centos_master_ceph_all_on_neutron_vlan

Steps to reproduce:
   1. Create environment,
   2. Bootstrap centos_master
Expected results:
   Bootstrap successfully completed
Actual result:
   Error appears:
   UnexpectedExitCode: Command 'sed -i "s/wait_for_external_config=yes/wait_for_external_config=no/" /etc/fuel/bootstrap_admin_node.conf' returned unexpected exit code 2, while waiting for [0]stderr: sed: can't read /etc/fuel/bootstrap_admin_node.conf: No such file or directory

Description of the environment:
 9.1 snapshot #115

FUEL_QA_COMMIT=5279ce17271bc0ac6cefc8c0ac4b9482260531ce
UBUNTU_MIRROR_ID=ubuntu-2016-08-03-174238
CENTOS_MIRROR_ID=centos-7.2.1511-2016-05-31-083834
MOS_UBUNTU_MIRROR_ID=9.0-2016-08-09-160321
MOS_CENTOS_OS_MIRROR_ID=os-2016-06-23-135731
MOS_CENTOS_PROPOSED_MIRROR_ID=proposed-2016-08-09-170321
MOS_CENTOS_UPDATES_MIRROR_ID=updates-2016-06-23-135916
MOS_CENTOS_HOLDBACK_MIRROR_ID=holdback-2016-06-23-140047
MOS_CENTOS_HOTFIX_MIRROR_ID=hotfix-2016-07-18-162958
MOS_CENTOS_SECURITY_MIRROR_ID=security-2016-06-23-140002

https://drive.google.com/a/mirantis.com/file/d/0Bz15vbpS5ZPNVlZUVTRaemJ2UFk/view?usp=sharing

Tags: swarm-fail
tags: added: swarm-fail
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
milestone: none → 9.1
Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/newton
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

If fails when tries to modify the file /etc/fuel/bootstrap_admin_node.conf which is not mandatory. So, test should be tollerant to the possible absense of this file. Re-assigning to QA team.

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Fuel QA Team (fuel-qa)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/355179

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Vladimir Khlyunev (vkhlyunev)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

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

Reviewed: https://review.openstack.org/355180
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=e2806c0778f833074888bd2c1ce0aaa54b89ae1b
Submitter: Jenkins
Branch: master

commit e2806c0778f833074888bd2c1ce0aaa54b89ae1b
Author: Vladimir Khlyunev <email address hidden>
Date: Sat Aug 13 14:19:42 2016 +0300

    Do not fail test if bootstrap_admin_node.conf does not exists

    In case of installing fuel from packages there is no
    bootstrap_admin_node.conf file

    Change-Id: I6cff442e3aa06a20e55215d5a6cb74a8ae198486
    Closes-bug:1611757

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

Reviewed: https://review.openstack.org/355179
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=48499bbc31487024a67d87e828896f457edbe1fa
Submitter: Jenkins
Branch: stable/mitaka

commit 48499bbc31487024a67d87e828896f457edbe1fa
Author: Vladimir Khlyunev <email address hidden>
Date: Sat Aug 13 14:19:42 2016 +0300

    Do not fail test if bootstrap_admin_node.conf does not exists

    In case of installing fuel from packages there is no
    bootstrap_admin_node.conf file

    Change-Id: I6cff442e3aa06a20e55215d5a6cb74a8ae198486
    Closes-bug:1611757

tags: added: on-verification
Revision history for this message
Tatyana Kuterina (tkuterina) wrote :
tags: removed: on-verification
tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :
tags: removed: on-verification
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.