nothing provides python3-pyyaml needed by python3-tripleo-repos-0.1.1-0.20220620133357.8321b3f.el9.noarch

Bug #1979972 reported by chandan kumar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Cédric Jeanneret

Bug Description

https://zuul.opendev.org/t/openstack/builds?job_name=tripleo-ansible-centos-stream-molecule-tripleo_collectd&skip=0 is broken from long time and is also blocking the migration from cs8 to cs9.

Below is the traceback for job failures:
https://fe16a1f56489fbc9f66e-a3e8873768ae4ca0bf680cbb069c602c.ssl.cf2.rackcdn.com/839688/88/check/tripleo-ansible-centos-stream-molecule-tripleo_collectd/188c089/job-output.txt

```
TASK [test_deps : Install tripleo-repos package] *******************************
2022-06-27 06:46:30.556268 | centos-9-stream | fatal: [collectd-server]: FAILED! => changed=false
2022-06-27 06:46:30.556279 | centos-9-stream | failures: []
2022-06-27 06:46:30.556290 | centos-9-stream | msg: |-
2022-06-27 06:46:30.556301 | centos-9-stream | Depsolve Error occured:
2022-06-27 06:46:30.556311 | centos-9-stream | Problem: conflicting requests
2022-06-27 06:46:30.556320 | centos-9-stream | - nothing provides python3-pyyaml needed by python3-tripleo-repos-0.1.1-0.20220620133357.8321b3f.el9.noarch
2022-06-27 06:46:30.556330 | centos-9-stream | rc: 1
2022-06-27 06:46:30.556339 | centos-9-stream | results: []
2022-06-27 06:46:30.556349 | centos-9-stream | changed: [collectd-test]
```
It is failing here https://opendev.org/openstack/tripleo-ansible/src/branch/master/tripleo_ansible/roles/tripleo_collectd/molecule/collectd_connection/molecule.yml

It might be related to podman networking on CS9 host.
I am marking this job as a non-voting and fix it later to unblock the patch.

Revision history for this message
Cédric Jeanneret (cjeanner) wrote :

I'm more suspecting a mirror issue or a package conflict introduced by the collectd ones.

The python3-tripleo-repos is installed in *all* containers, since it's from within the test_deps role[1].

I can check that later this week.

[1] https://opendev.org/openstack/tripleo-ansible/src/branch/master/tripleo_ansible/roles/test_deps/tasks/main.yml#L61-L65

Changed in tripleo:
assignee: nobody → Cédric Jeanneret (cjeanner)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/839688
Committed: https://opendev.org/openstack/tripleo-ansible/commit/4c9233d07c0886871719b46b2801c7b0565f26cc
Submitter: "Zuul (22348)"
Branch: master

commit 4c9233d07c0886871719b46b2801c7b0565f26cc
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Mon May 30 09:45:42 2022 +0530

    Use ubi9-init image as base

    CentOS-8 no longer exists and existing jobs are running
    on centos-stream-8. There will be no openstack master
    rpm packages for centos-stream-8.

    In order to use ubi9-init image in molecule jobs,
    we need to include following workarounds:
    - redhat-release package(RH specific package) is installed in ubi-init
      which does not work with centos-stream package.
      On removing redhat-release, dnf ansible breaks as they did not find
      --releasever during package installation.
      - By adding releasever in the package module fixes the issue.
    - In Molecule job, we can use any hostname either of centos or ubi both
      will work.
    - It changes the nodeset and image to ubi9.
    - Install pip < 20.3.0 to avoid https://pip.pypa.io/en/stable/topics/dependency-resolution/#backtracking
      and upstream requirements file to avoid cyclic dependency
      issue.
    - Set enable_fips: true in collectd jobs as in molecule it is not
      needed otherwise job will enter into retry_limit.

    We cannot use centos:stream9 image as, init support is removed
    from there.

    Below is the list of following jobs marked non-voting
    due to following bugs.
    - tripleo-ansible-centos-stream-molecule-tripleo_update_trusted_cas
      - https://bugs.launchpad.net/tripleo/+bug/1979807
    - tripleo-ansible-centos-stream-molecule-tripleo-modules
      - https://bugs.launchpad.net/tripleo/+bug/1979807
    - tripleo-ansible-centos-stream-molecule-tripleo_container_manage
      - https://bugs.launchpad.net/tripleo/+bug/1979810
    - tripleo-ansible-centos-stream-molecule-tripleo_redhat_enforce
      - https://bugs.launchpad.net/tripleo/+bug/1979971
    - tripleo-ansible-centos-stream-molecule-tripleo_collectd
      - https://bugs.launchpad.net/tripleo/+bug/1979972
    - tripleo-ansible-centos-stream-molecule-backup_and_restore
      - https://bugs.launchpad.net/tripleo/+bug/1980198

    Related-Bug: #1979807
    Related-Bug: #1979810
    Related-Bug: #1979971
    Related-Bug: #1979972
    Related-Bug: #1980198

    Signed-off-by: Chandan Kumar (raukadah) <email address hidden>
    Change-Id: I75a27ca496fb7670ba22a6a22f62f001c8afe6a9

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ansible (stable/wallaby)

Related fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/848810

Revision history for this message
chandan kumar (chkumar246) wrote :

https://ad7bf405e1ed935acc8c-a1c91a37e09e219178ca7ae20908d4d4.ssl.cf5.rackcdn.com/848130/4/check/tripleo-ansible-centos-stream-molecule-tripleo_collectd/12204d3/job-output.txt

On wallaby backport, collectd molecule job is failing with following error:
```
TASK [Gathering Facts] *********************************************************
2022-07-06 12:47:27.548030 | centos-8-stream | /home/zuul/test-python/lib64/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
2022-07-06 12:47:27.548035 | centos-8-stream | from cryptography.exceptions import InvalidSignature
2022-07-06 12:47:27.548040 | centos-8-stream | fatal: [centos]: UNREACHABLE! => changed=false
2022-07-06 12:47:27.548046 | centos-8-stream | msg: 'Failed to connect to the host via ssh: ssh: Could not resolve hostname centos: Name or service not known'
2022-07-06 12:47:27.548050 | centos-8-stream | unreachable: true
2022-07-06 12:47:27.548056 | centos-8-stream | ok: [collectd-test]
```

Marking the collectd job https://review.opendev.org/c/openstack/tripleo-ansible/+/848130 to non-voting to move the review forward.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/848130
Committed: https://opendev.org/openstack/tripleo-ansible/commit/22afe5a24f11753eb6cc9164f8c32a2d35256e4d
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 22afe5a24f11753eb6cc9164f8c32a2d35256e4d
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Tue May 17 11:20:32 2022 +0530

    Rename molecule jobs to centos-stream

    https://review.opendev.org/839688 ports the job from
    centos-stream 8 to 9, but the patch size is getting
    bigger and job failures are also high.

    In order to avoid updating the job definitions each time a
    new centos stream release comes, it renames the job
    definitions.

    It also includes:
    - Put the platform mol config under tripleo_dnf_stream
    - Add cleanup step in tripleo_container_configs to cleanup the artifacts
    - Making molecule-tripleo_metrics_qdr job non-voting till
      https://bugs.launchpad.net/tripleo/+bug/1973874 gets fixed.

    Note: It is not a clean cherry-pick, It also includes
    - Job names are modified which were running in wallaby.
    - Added vars to collectd mol job to fix retry_limit
    - Marking following job to non-voting due to
      https://bugs.launchpad.net/tripleo/+bug/1979971
      * tripleo-ansible-centos-stream-molecule-tripleo_redhat_enforce
      * tripleo-ansible-centos-stream-molecule-tripleo-modules
      * tripleo-ansible-centos-stream-molecule-tripleo_update_trusted_cas
      https://bugs.launchpad.net/tripleo/+bug/1979972
      * tripleo-ansible-centos-stream-molecule-tripleo_collectd

    Related-Bug: #1979971
    Related-Bug: #1979972

    Signed-off-by: Chandan Kumar (raukadah) <email address hidden>
    Change-Id: I21dd3741b54ed434e16d89db03e4e37ea093eabb
    (cherry picked from commit d072f6d18ff3bc8c2932b2c5af7ba36f2b20813b)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/848810
Committed: https://opendev.org/openstack/tripleo-ansible/commit/b666c78954fbbe7edfd50b6b949c4921fc6c5518
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit b666c78954fbbe7edfd50b6b949c4921fc6c5518
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Mon May 30 09:45:42 2022 +0530

    Use ubi9-init image as base

    CentOS-8 no longer exists and existing jobs are running
    on centos-stream-8. There will be no openstack master
    rpm packages for centos-stream-8.

    In order to use ubi9-init image in molecule jobs,
    we need to include following workarounds:
    - redhat-release package(RH specific package) is installed in ubi-init
      which does not work with centos-stream package.
      On removing redhat-release, dnf ansible breaks as they did not find
      --releasever during package installation.
      - By adding releasever in the package module fixes the issue.
    - In Molecule job, we can use any hostname either of centos or ubi both
      will work.
    - It changes the nodeset and image to ubi9.
    - Install pip < 20.3.0 to avoid https://pip.pypa.io/en/stable/topics/dependency-resolution/#backtracking
      and upstream requirements file to avoid cyclic dependency
      issue.
    - Set enable_fips: true in collectd jobs as in molecule it is not
      needed otherwise job will enter into retry_limit.

    We cannot use centos:stream9 image as, init support is removed
    from there.

    Below is the list of following jobs marked non-voting
    due to following bugs.
    - tripleo-ansible-centos-stream-molecule-tripleo_update_trusted_cas
      - https://bugs.launchpad.net/tripleo/+bug/1979807
    - tripleo-ansible-centos-stream-molecule-tripleo-modules
      - https://bugs.launchpad.net/tripleo/+bug/1979807
    - tripleo-ansible-centos-stream-molecule-tripleo_container_manage
      - https://bugs.launchpad.net/tripleo/+bug/1979810
    - tripleo-ansible-centos-stream-molecule-tripleo_redhat_enforce
      - https://bugs.launchpad.net/tripleo/+bug/1979971
    - tripleo-ansible-centos-stream-molecule-tripleo_collectd
      - https://bugs.launchpad.net/tripleo/+bug/1979972
    - tripleo-ansible-centos-stream-molecule-backup_and_restore
      - https://bugs.launchpad.net/tripleo/+bug/1980198

    Note: It is not a clean cherry pick.
    - Remove cap from molecule dependency
      to fix No module named 'ansiblelint.prerun'
    - Populate wallaby repos using tripleo-repos tool
    - This includes the commit 0bc2fa808d34235ffe7cf8d36920f6d96f0685b5
      which fixed the issue with the original change in master.
    - Marking tripleo-ansible-centos-stream-molecule-tripleo_packages
      to non-voting due to
      https://bugs.launchpad.net/tripleo/+bug/1983347

    Related-Bug: #1979807
    Related-Bug: #1979810
    Related-Bug: #1979971
    Related-Bug: #1979972
    Related-Bug: #1980198
    Related-Bug: #1983347

    Signed-off-by: Chandan Kumar (raukadah) <email address hidden>
    Change-Id: I75a27ca496fb7670ba22a6a22f62f001c8afe6a9
    (cherry picked from commit 4c9233d07c0886871719b46b2801c7b0565f26cc)

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/865600

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ansible (stable/wallaby)

Change abandoned by "Chris Sibbitt <email address hidden>" on branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/865600
Reason: I broke the Change-Id relation

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/865887

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ansible (stable/zed)

Change abandoned by "Chris Sibbitt <email address hidden>" on branch: stable/zed
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/865887
Reason: I somehow did it again. I need to recheck my workflow, sorry

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/865888

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/866215

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/865465
Committed: https://opendev.org/openstack/tripleo-ansible/commit/8e9047ba5ae0b7905b9a4aa239d9da15b8972511
Submitter: "Zuul (22348)"
Branch: master

commit 8e9047ba5ae0b7905b9a4aa239d9da15b8972511
Author: Chris Sibbitt <email address hidden>
Date: Wed Nov 23 14:46:13 2022 -0500

    Fix molecule failures in tripleo_collectd

    * Fixed repo problems by correcting volume mounts
    * Combined some scenarios to lower testing time

    Closes-Bug: #1979972
    Co-Authored-By: Cédric Jeanneret <email address hidden>
    Change-Id: Ia78e72bbd20cab537f5ce81de33a332394369d16

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 6.0.0

This issue was fixed in the openstack/tripleo-ansible 6.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/865888
Committed: https://opendev.org/openstack/tripleo-ansible/commit/291ca72cfe1b310bc054429b4360cfcb9d16893f
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 291ca72cfe1b310bc054429b4360cfcb9d16893f
Author: Chris Sibbitt <email address hidden>
Date: Wed Nov 23 14:46:13 2022 -0500

    Fix molecule failures in tripleo_collectd

    * Fixed repo problems by correcting volume mounts
    * Combined some scenarios to lower testing time

    Closes-Bug: #1979972
    Co-Authored-By: Cédric Jeanneret <email address hidden>
    Change-Id: Ia78e72bbd20cab537f5ce81de33a332394369d16
    (cherry picked from commit 8e9047ba5ae0b7905b9a4aa239d9da15b8972511)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ansible (stable/wallaby)

Change abandoned by "Ghanshyam <email address hidden>" on branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/866215
Reason: TrieplO project is retiring now, for details, please see https://review.opendev.org/c/openstack/governance/+/905145 or reach out to OpenStack TC.

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.