Openstack node provide fails for containerized undercloud

Bug #1754609 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Adriano Petrich

Bug Description

When running an OVB (WIP) fs001 CI job for containerized undercloud [0] with the introspection fixes (WIP) [1] applied, the command fails:

$ openstack overcloud node provide --all-manageable

The failure message https://pastebin.com/JRCxxuQ1

The related patches https://review.openstack.org/#/c/546663/ are about to help partially fixing that prolly.

[0] https://review.openstack.org/#/c/542556
[1] https://review.openstack.org/#/c/550100

Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → rocky-1
tags: added: containers workflows
Revision history for this message
Dmitry Tantsur (divius) wrote :

This is a combination of two problems:
1. we have full cleaning enabled, which may take hours, we need metadata cleaning instead,
2. our workflows do not properly error out on timeouts; this https://github.com/openstack/tripleo-common/blob/master/workbooks/baremetal.yaml#L23-L29 will continue successfully after timeout is reached

Changed in tripleo:
assignee: nobody → Dmitry Tantsur (divius)
status: Triaged → In Progress
Revision history for this message
Dmitry Tantsur (divius) wrote :
Changed in tripleo:
assignee: Dmitry Tantsur (divius) → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/551240
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=198d66ab2a8973fbbd353c150399dfca2fb75a36
Submitter: Zuul
Branch: master

commit 198d66ab2a8973fbbd353c150399dfca2fb75a36
Author: Dmitry Tantsur <email address hidden>
Date: Fri Mar 9 11:14:34 2018 +0100

    undercloud: enable only metadata cleaning

    We plan on disabling automated cleaning by default, but when it's
    enabled, we only need the metadata cleaning, because the full secure
    cleaning takes hours when secure ATA erase is not supported.

    Partial-Bug: #1754609
    Change-Id: Icd8b86a7ab3cff21efb113cb58bd6690cd29a03c

Changed in tripleo:
assignee: Emilien Macchi (emilienm) → nobody
Brad P. Crochet (brad-9)
Changed in tripleo:
status: In Progress → Triaged
Changed in tripleo:
assignee: nobody → Adriano Petrich (apetrich)
status: Triaged → In Progress
Revision history for this message
Adriano Petrich (apetrich) wrote :

At the point that I'm in the introspection changes have been merged and I'm trying to test https://review.openstack.org/#/c/542556/102 and getting some pretty dismal results:

I've bumped into some issues with undercloud install, some of them are:

/home/zuul/undercloud-passwords.conf was read only for root as in:
4 -rw-------. 1 root root 2064 Apr 4 14:34 undercloud-passwords.conf
the same for some other files like
-rw-------. 1 root root 1163 Mar 10 16:47 /usr/libexec/os-apply-config/templates/etc/os-collect-config.conf

and even then I was only able to make an undercloud install with --use-heat

still trying to get to the introspection state

Revision history for this message
Adriano Petrich (apetrich) wrote :

Forget #4 I was able to retry twice and didn't get any errors. So it might have been some transient problem.

Revision history for this message
Adriano Petrich (apetrich) wrote :

Fix solved by other patches like comment #2 #3

Changed in tripleo:
status: In Progress → Fix Committed
Changed in tripleo:
status: Fix Committed → 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.