undercloud install should rm /etc/os-net-config/config.json if the initial install fails

Bug #1798845 reported by James Slagle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
Medium
Unassigned

Bug Description

If the initial undercloud install fails, we should probably rm /etc/os-net-config/config.json automatically. If it fails due to a networking issue, more than likely it's user error or configuration error.

It's possible the user could get stuck by a pre-validation based on what it's in that file, which could be bad data.

For example, my install attempt was failing with:

Changing the local_ip is not allowed. Existing IP: 192.168.0.21, Configured IP: 192.168.0.21/24

I had already updated my undercloud.conf to fix my user error, but then the validation failed based on the previous wrong version of /etc/os-net-config/config.json. rm'ing that file allowed me to get around the validation.

Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → stein-1
Changed in tripleo:
assignee: nobody → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

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

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: stein-1 → stein-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-tripleoclient (master)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/611937
Reason: this patch has no activity, i'll just abandon it until I spend time again on the bug.

Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
assignee: Emilien Macchi (emilienm) → nobody
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Revision history for this message
Marios Andreou (marios-b) wrote :

This is an automated action. Bug status has been set to 'Incomplete' and target milestone has been removed due to inactivity. If you disagree please re-set these values and reach out to us on freenode #tripleo

Changed in tripleo:
milestone: wallaby-3 → none
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tripleo because there has been no activity for 60 days.]

Changed in tripleo:
status: Incomplete → Expired
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.