[rfe] TripleO CI must collect and publish console logs from fake overcloud nodes during introspection and deployment

Bug #1771082 reported by Dmitry Tantsur on 2018-05-14
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Unassigned

Bug Description

Without seeing what is happening on a node it may be impossible to understand what does not work. See https://bugs.launchpad.net/tripleo/+bug/1770972 for a good example. It may be as easy as running 'nova console-log <ovb node>' during introspection/deployment, but there may be caveats with credentials, etc. Still, it's an absolute requirement for the CI debugability.

Changed in tripleo:
milestone: none → rocky-2
Harald Jensås (harald-jensas) wrote :

So ovb bmc uses pyghmi:

Looks like pyghmi supports SOL (Serial over Lan), but by default there is no iohandler[1].

Could we create an iohandler in OVB BMC that creates a remote serial console[2] in Openstack Nova?
Then the CI jobs could do:
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 sol acticvate and redirect the output to a file?

[1] https://github.com/openstack/pyghmi/blob/master/pyghmi/ipmi/bmc.py#L31
[2] https://developer.openstack.org/api-ref/compute/#create-remote-console

Matt Young (halcyondude) wrote :

(tripleo-ci bug triage)

This is a great idea, and the suggestion from harald-jensas sounds like a nice way to work around the serious security implications of injecting nodepool creds.

As this is a feature we would like, but don't presently have in our CI tooling, marking as RFE to indicate that this is (needed) net-new functionality.

summary: - TripleO CI must collect and publish console logs from fake overcloud
- nodes during introspection and deployment
+ [rfe] TripleO CI must collect and publish console logs from fake
+ overcloud nodes during introspection and deployment
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3

We already collect console logs.

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers