Controller fresh install intermittently fails at pre-installation

Bug #1854082 reported by Yosief Gebremariam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Don Penney

Bug Description

Brief Description
-----------------.
Attempting to install the controller-0 with new load intermittently fails at running the pre-installation scripts dumping the following error message at the console window:

15:35:38 Running pre-installation s
15:35:43 Not asking for VNC because of an automated install
Starting automated instal
Checking software selection
Generating updated storage configuration

An unknown error has occured, look at the /tmp/anaconda-tb* file(s) for more details

==========
=====================================================================
An unknown error has occurred
===============================================================================
anaconda 21.48.22.147-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1138, in newVG
    raise ValueError("name already in use")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 2007, in execute
    peSize=pesize)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1942, in execute
    v.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 2534, in doKickstartStorage
    ksdata.volgroup.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 439, in execute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 64, in setup
    spoke.execute()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 171, in setup
    should_schedule = obj.setup(self.ENVIRONMENT)
  File "/sbin/anaconda", line 1374, in <module>
    anaconda._intf.setup(ksdata)
ValueError: name already in use

What do you want to do now?
1) Report Bug
2
) Debug
3) Quit

Please make your choice from above:

Severity
--------.
Major
Steps to Reproduce
------------------
1. Boot controller to install with new build
2. After few minutes the controller-0 fails at running pre-installation scripts.

Expected Behavior
------------------
Controller-0 is installed with new load

Actual Behavior
----------------
As per the description above the install fails
Reproducibility
---------------
Intermittent

System Configuration
--------------------
The issue occurred in a single node or multi-node system

Branch/Pull Time/Commit
-----------------------
BUILD_DATE= 2019-11-25 17:49:49 -0500

Last Pass
---------
Unknown

Timestamp/Logs
--------------
See above

Test Activity
-------------
Install test

Don Penney (dpenney)
Changed in starlingx:
assignee: nobody → Don Penney (dpenney)
Revision history for this message
Ghada Khalil (gkhalil) wrote :

stx.3.0 / high priority - intermittent issue, but causes installation failures.

Changed in starlingx:
importance: Undecided → High
status: New → Triaged
tags: added: stx.3.0 stx.config
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to metal (master)

Fix proposed to branch: master
Review: https://review.opendev.org/696130

Changed in starlingx:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to metal (master)

Reviewed: https://review.opendev.org/696130
Committed: https://git.openstack.org/cgit/starlingx/metal/commit/?id=eb851a9da05bc0ca6fb1ff7d62563999036dcc10
Submitter: Zuul
Branch: master

commit eb851a9da05bc0ca6fb1ff7d62563999036dcc10
Author: Don Penney <email address hidden>
Date: Tue Nov 26 11:52:49 2019 -0500

    Update kickstarts to remove cgts-vg as needed

    In some scenarious, such as when the cgts-vg volume group spans
    multiple disks, the disk wiping in the kickstarts is insufficient to
    clear existing LVM metadata, and anaconda reports a failure to create
    the cgts-vg volume group as a result.

    This update adds explicit cleanup of the logical and physical volumes
    associated with cgts-vg, if not already wiped by the user prior to
    installation, and removes cgts-vg itself. This is done ahead of the
    anaconda partitioning, avoiding any conflict with automatic creation
    of the new cgts-vg.

    Change-Id: Id33cab02e1cecbfee8035cc55213c99ef3cea34d
    Closes-Bug: 1854082
    Signed-off-by: Don Penney <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
Yang Liu (yliu12) wrote :

This is no longer seen in sanity installations since fixed.

Revision history for this message
Yatindra Shashi (yshashi) wrote :

I am trying to install STX-4.0 duplex virtual setup using virt-manger and I still get this issue.
My controller-0 is up and running while PXE boot from the controller-1, I get above issue.

I created qcow2 format image for the disk myself everytime which means, i have new disk but still I get stuck at

------
Starting automated install
Checking software selection
Generating updated storage configuration

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.