Bug 2060023
| Summary: | Missing hostname in tox-py39 for OSP 17 | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Szymon Datko <sdatko> |
| Component: | python-tripleoclient | Assignee: | James Slagle <jslagle> |
| Status: | CLOSED ERRATA | QA Contact: | David Rosenfeld <drosenfe> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 17.0 (Wallaby) | CC: | hbrock, jslagle, mburns, ramishra |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-tripleoclient-16.4.1-0.20220317214636.b7b58c4.el9ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-21 12:19:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Szymon Datko
2022-03-02 14:31:21 UTC
The hostname command is present in C9-Stream, I suspect this is just a matter of a missing package. Please add the hostname package to the build environment. We may also need/want to add the package to the tripleoclient spec? hostname-3.23-6.el9.x86_64 : Utility to set/show the host name or domain name Repo : baseos Matched from: Provide : hostname = 3.23-6.el9 This should be added to the required bindep. Proposed the upstream patch: https://review.opendev.org/c/openstack/python-tripleoclient/+/832628 Upstream change was merged to master. I continue with cherry-picks. Note: in upstream I found only stable/wallaby, no stable/xena – is it expected/missing? ( https://opendev.org/openstack/python-tripleoclient ) (In reply to Szymon Datko from comment #6) > Upstream change was merged to master. > > I continue with cherry-picks. > Note: in upstream I found only stable/wallaby, no stable/xena – is it > expected/missing? > ( https://opendev.org/openstack/python-tripleoclient ) yes, there is only stable/wallaby. Both upstream changes are merged. Downstream cherry-pick here: https://code.engineering.redhat.com/gerrit/c/python-tripleoclient/+/318567 There is only one failure now due to the downstream jobs configuration we will have to resolve as a separate task: ``` 2022-03-16 16:53:10.246498 | container | ============================== 2022-03-16 16:53:10.246528 | container | Failed 1 tests - output below: 2022-03-16 16:53:10.246538 | container | ============================== 2022-03-16 16:53:10.246544 | container | 2022-03-16 16:53:10.246550 | container | tripleoclient.tests.v1.overcloud_external_update.test_overcloud_external_update.TestOvercloudExternalUpdateRun.test_update_with_refresh 2022-03-16 16:53:10.246556 | container | --------------------------------------------------------------------------------------------------------------------------------------- 2022-03-16 16:53:10.246562 | container | 2022-03-16 16:53:10.246568 | container | Captured traceback: 2022-03-16 16:53:10.246574 | container | ~~~~~~~~~~~~~~~~~~~ 2022-03-16 16:53:10.246579 | container | Traceback (most recent call last): 2022-03-16 16:53:10.246585 | container | 2022-03-16 16:53:10.246591 | container | File "/root/src/code.engineering.redhat.com/python-tripleoclient/.tox/py39/lib/python3.9/site-packages/mock/mock.py", line 1346, in patched 2022-03-16 16:53:10.246598 | container | return func(*newargs, **newkeywargs) 2022-03-16 16:53:10.246603 | container | 2022-03-16 16:53:10.246609 | container | File "/root/src/code.engineering.redhat.com/python-tripleoclient/tripleoclient/tests/v1/overcloud_external_update/test_overcloud_external_update.py", line 123, in test_update_with_refresh 2022-03-16 16:53:10.246616 | container | self.cmd.take_action(parsed_args) 2022-03-16 16:53:10.246622 | container | 2022-03-16 16:53:10.246627 | container | File "/root/src/code.engineering.redhat.com/python-tripleoclient/tripleoclient/v1/overcloud_external_update.py", line 131, in take_action 2022-03-16 16:53:10.246633 | container | oooutils.ensure_run_as_normal_user() 2022-03-16 16:53:10.246638 | container | 2022-03-16 16:53:10.246644 | container | File "/root/src/code.engineering.redhat.com/python-tripleoclient/tripleoclient/utils.py", line 1272, in ensure_run_as_normal_user 2022-03-16 16:53:10.246650 | container | raise exceptions.RootUserExecution(_( 2022-03-16 16:53:10.246655 | container | 2022-03-16 16:53:10.246661 | container | tripleoclient.exceptions.RootUserExecution: This command cannot run under root user. Switch to a normal user. ``` Checked with submitter and its fixed. Moving to verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2022:6543 |