Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CP-49680: Support unquoted values in /etc/xensource-inventory #114

Conversation

bernhardkaindl
Copy link
Collaborator

@bernhardkaindl bernhardkaindl commented May 31, 2024

The xen-bugtool archive of the initial XenRT fail of CA-392173 was empty because xen-bugtool asserted on an empty value in /etc/xensource-inventory, where the management interface was not set for an unknown reason (maybe a DHCP failure during installation or so).

This is not the cause of CA-392173, but xen-bugtool can and should be able to collect the complete bug-report archive even in cases where /etc/xensource-inventory contains unexpected data.

CP-49680 has been opened to make xen-bugtool tolerate unquoted strings by @xihuan-citrix:

This PR implements CP-49680 to help to triage CA-392173 in order to create the expected bugtool data archive (in case CA-392173 triggers again).

The implementation is to just remove the assert for quoted strings and also remove the default value that enabled this assert (which was never used).

The 1st commit is already merged by #113, but this PR was opened including it and before #113 was merged: Only the 2nd commit is to be reviewed/approved here.

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
@coveralls
Copy link

Coverage Status

coverage: 93.03% (-0.005%) from 93.035%
when pulling 436d6be on xenserver-next:CP49680-support-unquoted-xensource-inventory-values
into 2bc9efe on xenserver:master.

@bernhardkaindl bernhardkaindl merged commit 1c8d544 into xenserver:master Jun 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants