ERROR! the role 'repo-setup' was not found in tripleo-ci
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Triaged
|
High
|
Unassigned |
Bug Description
We are working on adding container-build on RedHat-9 using RHOS-17 release.
We are currently hitting following error:
```
TASK [Run repo-setup again to pickup c9 mirrors]
2021-12-22 21:06:59.468519 | primary | ok
2021-12-22 21:06:59.654992 |
2021-12-22 21:06:59.655133 | PLAY RECAP
2021-12-22 21:06:59.655206 | primary | ok: 7 changed: 1 unreachable: 0 failed: 0 skipped: 2 rescued: 0 ignored: 0
2021-12-22 21:06:59.655238 |
2021-12-22 21:06:59.951028 | ERROR! the role 'repo-setup' was not found in /var/lib/
2021-12-22 21:06:59.951053 |
2021-12-22 21:06:59.951058 | The error appears to be in '/var/lib/
2021-12-22 21:06:59.951065 | be elsewhere in the file depending on the exact syntax problem.
2021-12-22 21:06:59.951070 |
2021-12-22 21:06:59.951073 | The offending line appears to be:
2021-12-22 21:06:59.951077 |
2021-12-22 21:06:59.951081 | include_role:
2021-12-22 21:06:59.951084 | name: repo-setup
2021-12-22 21:06:59.951088 | ^ here
```
Here is the downstream CR, where we are doing following things
Testproject CR#299390 - Where we are running RHOS-17 RHEL-9 container build job
tripleo-
tripleo-ci-internal jobs CR#299521 - Added container build job definition
In this patch under tripleo-
- opendev.
- opendev.
- opendev.
and roles as
- zuul: opendev.
- zuul: opendev.
- zuul: opendev.
But still it is not working.
Please have a look.
Note CR = code review.
After adding tripleo-ci as required projects , we are seeing this zuul/builds/ bb47f8bfea664ec 286ce99f714e767 79/untrusted/ project_ 6/opendev. org/openstack/ tripleo- quickstart/ roles/repo- setup/tasks/ get-dlrn- hash.yml zuul/builds/ bb47f8bfea664ec 286ce99f714e767 79/untrusted/ project_ 6/opendev. org/openstack/ tripleo- quickstart/ roles/repo- setup/tasks/ tripleo- get-hash- set-fact- no-collections. yml osp-trunk. hosted. upshift. rdu2.redhat. com] zuul/builds/ bb47f8bfea664ec 286ce99f714e767 79/untrusted/ project_ 6/opendev. org/openstack/ tripleo- quickstart/ roles/repo- setup/tasks/ set_fact_ nodepool_ rdo_proxy. yml osp-trunk. hosted. upshift. rdu2.redhat. com
```
2021-12-23 08:50:20.399495 | TASK [Run repo-setup again to pickup c9 mirrors]
2021-12-23 08:50:20.462441 | primary | ok
2021-12-23 08:50:20.557397 |
2021-12-23 08:50:20.557598 | TASK [repo-setup : include_tasks]
2021-12-23 08:50:20.640365 | primary | ok
2021-12-23 08:50:20.684752 | primary | included: /var/lib/
2021-12-23 08:50:20.706785 |
2021-12-23 08:50:20.706931 | TASK [repo-setup : Check DLRN hash format]
2021-12-23 08:50:20.784417 | primary | skipping: Conditional result was False
2021-12-23 08:50:20.818128 |
2021-12-23 08:50:20.818288 | TASK [repo-setup : Check DLRN hash - passed ready hash]
2021-12-23 08:50:20.869169 | primary | skipping: Conditional result was False
2021-12-23 08:50:20.901169 |
2021-12-23 08:50:20.901314 | TASK [repo-setup : include_tasks]
2021-12-23 08:50:20.958888 | primary | skipping: Conditional result was False
2021-12-23 08:50:20.989887 |
2021-12-23 08:50:20.990032 | TASK [repo-setup : include_tasks]
2021-12-23 08:50:21.056449 | primary | skipping: Conditional result was False
2021-12-23 08:50:21.088158 |
2021-12-23 08:50:21.088308 | TASK [repo-setup : include_tasks]
2021-12-23 08:50:21.163672 | primary | ok
2021-12-23 08:50:21.215396 | primary | included: /var/lib/
2021-12-23 08:50:21.235946 |
2021-12-23 08:50:21.236086 | TASK [repo-setup : Set facts for tripleo-get-hash parameters]
2021-12-23 08:50:21.330513 | primary | ok
2021-12-23 08:50:21.366247 |
2021-12-23 08:50:21.366398 | TASK [repo-setup : tripleo-get-hash tripleo-ci-testing for osp17 on rhel9 from http://
2021-12-23 03:50:20.886259 | primary | /bin/sh: line 1: tripleo-get-hash: command not found
2021-12-23 08:50:48.050987 | primary | ERROR
2021-12-23 08:50:48.051252 | primary | {
2021-12-23 08:50:48.051298 | primary | "attempts": 5,
2021-12-23 08:50:48.051329 | primary | "delta": "0:00:00.002986",
2021-12-23 08:50:48.051357 | primary | "end": "2021-12-23 03:50:47.001324",
2021-12-23 08:50:48.051383 | primary | "msg": "non-zero return code",
2021-12-23 08:50:48.051408 | primary | "rc": 127,
2021-12-23 08:50:48.051433 | primary | "start": "2021-12-23 03:50:46.998338"
2021-12-23 08:50:48.051458 | primary | }
2021-12-23 08:50:48.090838 |
2021-12-23 08:50:48.091073 | TASK [repo-setup : include_tasks]
2021-12-23 08:50:48.162467 | primary | ok
2021-12-23 08:50:48.197672 | primary | included: /var/lib/
2021-12-23 08:50:48.217312 |
2021-12-23 08:50:48.217458 | TASK [repo-setup : extract NODEPOOL_RDO_PROXY from bash environment]
2021-12-23 03:50:47.548950 | primary | http://
2021-12-23 08:50:48.775173 | primary | ok: Ru...