Skip to content

Tighten tcib sudoers rules - #415

Open
rabi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
rabi:OSPRH-34490
Open

Tighten tcib sudoers rules#415
rabi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
rabi:OSPRH-34490

Conversation

@rabi

@rabi rabi commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Drop the unneeded broad sudoers entries from the ansible-tests, horizontest, rally, and tobiko images, restrict Tempest to package installation, and replace the kolla wildcard rule with explicit helper commands.

Keep the MariaDB bootstrap environment needed by kolla_security_reset so the tighter kolla allowlist does not break bootstrap.

Depends-On: openstack-k8s-operators/mariadb-operator#537
Depends-On: openstack-k8s-operators/ci-framework#4100
jira: OSPRH-34490

@openshift-ci
openshift-ci Bot requested review from bshewale and stuggi August 10, 2026 06:22
@openshift-ci

openshift-ci Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rabi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/52ea50a5a9d84b6b9c12f8ca73568acd

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 08m 02s
tcib-crc-podified-edpm-baremetal-master FAILURE in 1h 24m 19s
tcib-podified-multinode-edpm-deployment-crc-master FAILURE in 1h 12m 20s
tcib-podified-multinode-edpm-deployment-crc-tobiko-master FAILURE in 1h 14m 14s

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/81cb64ce0cc04d92a0dce1b0c6665266

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 14m 51s
tcib-crc-podified-edpm-baremetal-master FAILURE in 1h 25m 16s
tcib-podified-multinode-edpm-deployment-crc-master FAILURE in 1h 13m 35s
tcib-podified-multinode-edpm-deployment-crc-tobiko-master FAILURE in 1h 13m 44s

@rabi

rabi commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/98775789b0314c21b4e6e1d2dabaf2bb

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 3h 05m 14s
tcib-crc-podified-edpm-baremetal-master NODE_FAILURE Node(set) request 099-0000166131 failed in 0s
tcib-podified-multinode-edpm-deployment-crc-master FAILURE in 1h 54m 03s
tcib-podified-multinode-edpm-deployment-crc-tobiko-master NODE_FAILURE Node(set) request 099-0000166133 failed in 0s

@rabi

rabi commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/a93e3c481db54dbca2887d347274e1bb

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 43m 50s
✔️ tcib-crc-podified-edpm-baremetal-master SUCCESS in 1h 51m 11s
✔️ tcib-podified-multinode-edpm-deployment-crc-master SUCCESS in 1h 41m 22s
tcib-podified-multinode-edpm-deployment-crc-tobiko-master FAILURE in 1h 45m 27s

@rabi
rabi force-pushed the OSPRH-34490 branch 2 times, most recently from 4e0ee47 to c844cac Compare August 11, 2026 06:54
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/aa19d72b937e45ca97b6a0e8c862ec9b

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 44m 34s
tcib-crc-podified-edpm-baremetal-master FAILURE in 41m 21s
✔️ tcib-podified-multinode-edpm-deployment-crc-master SUCCESS in 1h 37m 46s
tcib-podified-multinode-edpm-deployment-crc-tempest-master FAILURE in 1h 19m 17s
✔️ tcib-podified-multinode-edpm-deployment-crc-tobiko-master SUCCESS in 1h 52m 31s

@rabi

rabi commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/53c5b58fc787463c954bb41f831a9f35

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 51m 21s
✔️ tcib-crc-podified-edpm-baremetal-master SUCCESS in 1h 45m 55s
✔️ tcib-podified-multinode-edpm-deployment-crc-master SUCCESS in 1h 36m 04s
tcib-podified-multinode-edpm-deployment-crc-tempest-master FAILURE in 1h 19m 12s
✔️ tcib-podified-multinode-edpm-deployment-crc-tobiko-master SUCCESS in 1h 52m 20s

@rabi

rabi commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator Author

recheck hold node

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/8ee4b99df866436f94cb55a34c82e860

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 47m 38s
✔️ tcib-crc-podified-edpm-baremetal-master SUCCESS in 1h 49m 06s
✔️ tcib-podified-multinode-edpm-deployment-crc-master SUCCESS in 1h 40m 02s
tcib-podified-multinode-edpm-deployment-crc-tempest-master FAILURE in 1h 18m 04s
✔️ tcib-podified-multinode-edpm-deployment-crc-tobiko-master SUCCESS in 1h 52m 45s

@rabi

rabi commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/9f209003efd74a8498289581c15168a5

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 46m 28s
✔️ tcib-crc-podified-edpm-baremetal-master SUCCESS in 1h 51m 54s
✔️ tcib-podified-multinode-edpm-deployment-crc-master SUCCESS in 1h 41m 37s
tcib-podified-multinode-edpm-deployment-crc-tempest-master FAILURE in 1h 17m 57s
✔️ tcib-podified-multinode-edpm-deployment-crc-tobiko-master SUCCESS in 1h 43m 55s

@rabi

rabi commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#4100 is needed.

@rabi

rabi commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/bdc79c75fc9a4f6095fc81b0f3240b77

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 1h 56m 45s
tcib-crc-podified-edpm-baremetal-master FAILURE in 59m 17s
tcib-podified-multinode-edpm-deployment-crc-master FAILURE in 43m 33s
tcib-podified-multinode-edpm-deployment-crc-tempest-master FAILURE in 44m 02s
tcib-podified-multinode-edpm-deployment-crc-tobiko-master RETRY_LIMIT in 5m 49s

@rabi

rabi commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/a135fa0854414068b828981288128834

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 3h 35m 31s
tcib-crc-podified-edpm-baremetal-master FAILURE in 44m 16s
✔️ tcib-podified-multinode-edpm-deployment-crc-master SUCCESS in 1h 42m 06s
tcib-podified-multinode-edpm-deployment-crc-tempest-master FAILURE in 1h 11m 25s
tcib-podified-multinode-edpm-deployment-crc-tobiko-master FAILURE in 1h 31m 33s

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/9107a79419b444059b50fd29036cd796

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 42m 04s
tcib-crc-podified-edpm-baremetal-master RETRY_LIMIT in 32m 13s
tcib-podified-multinode-edpm-deployment-crc-master FAILURE in 1h 12m 43s
tcib-podified-multinode-edpm-deployment-crc-tempest-master FAILURE in 1h 35m 44s
✔️ tcib-podified-multinode-edpm-deployment-crc-tobiko-master SUCCESS in 1h 51m 42s

@rabi

rabi commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/5ec3aa8f1ab547008cc75bed1f04b597

tcib-openstack-meta-content-provider-master FAILURE in 5m 46s
⚠️ tcib-crc-podified-edpm-baremetal-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master
⚠️ tcib-podified-multinode-edpm-deployment-crc-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master
⚠️ tcib-podified-multinode-edpm-deployment-crc-tempest-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master
⚠️ tcib-podified-multinode-edpm-deployment-crc-tobiko-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master

@rabi

rabi commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#4100 is needed.

@rabi

rabi commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/0ef8f9e62be5472fa3db92f9932cace1

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 1h 23m 33s
tcib-crc-podified-edpm-baremetal-master NODE_FAILURE Node(set) request 099-0000168860 failed in 0s
tcib-podified-multinode-edpm-deployment-crc-master NODE_FAILURE Node(set) request 099-0000168861 failed in 0s
tcib-podified-multinode-edpm-deployment-crc-tempest-master NODE_FAILURE Node(set) request 099-0000168862 failed in 0s
tcib-podified-multinode-edpm-deployment-crc-tobiko-master NODE_FAILURE Node(set) request 099-0000168863 failed in 0s

@rabi

rabi commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#4100 is needed.

@rabi

rabi commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/8b12c0446c4049bcae8ffb0e0fd41051

tcib-openstack-meta-content-provider-master FAILURE in 5m 57s
⚠️ tcib-crc-podified-edpm-baremetal-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master
⚠️ tcib-podified-multinode-edpm-deployment-crc-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master
⚠️ tcib-podified-multinode-edpm-deployment-crc-tempest-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master
⚠️ tcib-podified-multinode-edpm-deployment-crc-tobiko-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master

@rabi

rabi commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/0b91af35a5b0408eaa66267b2e54268c

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 5h 19m 13s
tcib-crc-podified-edpm-baremetal-master FAILURE in 1h 34m 40s
tcib-podified-multinode-edpm-deployment-crc-master FAILURE in 1h 53m 11s
tcib-podified-multinode-edpm-deployment-crc-tempest-master FAILURE in 2h 00m 18s
tcib-podified-multinode-edpm-deployment-crc-tobiko-master FAILURE in 1h 52m 53s

@rabi

rabi commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/9c89295ddfdd433d84441aefb71daa1e

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 45m 33s
✔️ tcib-crc-podified-edpm-baremetal-master SUCCESS in 1h 43m 22s
✔️ tcib-podified-multinode-edpm-deployment-crc-master SUCCESS in 1h 37m 31s
tcib-podified-multinode-edpm-deployment-crc-tempest-master FAILURE in 1h 36m 15s
✔️ tcib-podified-multinode-edpm-deployment-crc-tobiko-master SUCCESS in 1h 49m 03s

Restrict sudo access to the commands the images still need,
preserve the Kolla environment required for non-interactive startup
and restore the Tobiko host inspection commands needed in CI.

Signed-off-by: rabi <ramishra@redhat.com>
@centosinfra-prod-github-app

Copy link
Copy Markdown

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#4100 is needed.

@rabi

rabi commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant