Skip to content

LDAP Adoption tests - #970

Closed
xek wants to merge 8 commits into
openstack-k8s-operators:mainfrom
xek:ldap-adoption
Closed

LDAP Adoption tests#970
xek wants to merge 8 commits into
openstack-k8s-operators:mainfrom
xek:ldap-adoption

Conversation

@xek

@xek xek commented Jun 16, 2025

Copy link
Copy Markdown
Contributor

IPA is enabled on OSP17 when testing TLS-E adoption. Since
it contains an LDAP server, we can use it to run additional
LDAP adoption tests.

Depends-On: openstack-k8s-operators/install_yamls#1079
Jira: https://issues.redhat.com/browse/OSPRH-6861

@openshift-ci

openshift-ci Bot commented Jun 16, 2025

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci

openshift-ci Bot commented Jun 16, 2025

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign sathlan for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@xek
xek force-pushed the ldap-adoption branch 2 times, most recently from e74e02e to 9228428 Compare June 17, 2025 09:17
@xek
xek requested a review from klgill June 18, 2025 13:02

@klgill klgill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @xek . This procedure should be cut and pasted into its own file. In modular documentation, we need to avoid multiple headings in one file.

I restructured this procedure so that it includes the necessary metadata to be pasted into its own file. After you commit these changes, all you should have to do is the following:

  1. Copy all of the content (including the :mod-docs-content-type: PROCEDURE
    [id='configuring-ldap-with-domain-specific-drivers
    {context}'] at the top), cut, and paste into a new file.
  2. Name the file "proc_configuring-ldap-with-domain-specific-drivers.adoc".
  3. In the main.adoc, add the file after the "Adopting the Identity service" procedure as follows:

include::../modules/proc_configuring-ldap-with-domain-specific-drivers.adoc[leveloffset=+1]

Please let me know if you have questions.

Comment thread docs_user/modules/proc_adopting-the-identity-service.adoc Outdated
Comment thread docs_user/modules/proc_adopting-the-identity-service.adoc Outdated
Comment thread docs_user/modules/proc_adopting-the-identity-service.adoc Outdated
Comment thread docs_user/modules/proc_adopting-the-identity-service.adoc Outdated
Comment thread docs_user/modules/proc_adopting-the-identity-service.adoc Outdated
Comment thread docs_user/modules/proc_adopting-the-identity-service.adoc Outdated
Comment thread docs_user/modules/proc_adopting-the-identity-service.adoc Outdated
Comment thread docs_user/modules/proc_adopting-the-identity-service.adoc Outdated
Comment thread docs_user/modules/proc_adopting-the-identity-service.adoc Outdated
Comment thread docs_user/modules/proc_adopting-the-identity-service.adoc Outdated
@xek
xek force-pushed the ldap-adoption branch from 0f59ed9 to 5e17162 Compare June 25, 2025 12:18
@xek

xek commented Jun 25, 2025

Copy link
Copy Markdown
Contributor Author

Hi @xek . This procedure should be cut and pasted into its own file. In modular documentation, we need to avoid multiple headings in one file.

Thanks! I applied all the changes and moved the docs to a separate pull request #980

@softwarefactory-project-zuul

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/1790c017fa824c82a5b578774055ab40

✔️ noop SUCCESS in 0s
adoption-standalone-to-crc-ceph FAILURE in 1h 27m 48s
adoption-standalone-to-crc-no-ceph TIMED_OUT in 4h 09m 06s

@softwarefactory-project-zuul

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/e54df99a37a54af386290a38ec5a1e58

✔️ noop SUCCESS in 0s
✔️ adoption-standalone-to-crc-ceph SUCCESS in 3h 02m 20s
adoption-standalone-to-crc-no-ceph TIMED_OUT in 4h 08m 47s

@xek
xek marked this pull request as ready for review July 1, 2025 12:37
@xek

xek commented Jul 1, 2025

Copy link
Copy Markdown
Contributor Author

recheck

@softwarefactory-project-zuul

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b231e422d0544fbeb2cc97aa31c0bb2c

✔️ noop SUCCESS in 0s
✔️ adoption-standalone-to-crc-ceph SUCCESS in 3h 00m 33s
adoption-standalone-to-crc-no-ceph TIMED_OUT in 4h 08m 53s

@xek

xek commented Jul 2, 2025

Copy link
Copy Markdown
Contributor Author

recheck no status reported

@softwarefactory-project-zuul

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/32becf0597e6421fa3856af7aa2a6d10

✔️ noop SUCCESS in 0s
✔️ adoption-standalone-to-crc-ceph SUCCESS in 3h 06m 36s
adoption-standalone-to-crc-no-ceph TIMED_OUT in 4h 08m 46s

Comment thread tests/roles/keystone_adoption/defaults/main.yaml
Comment thread tests/roles/keystone_adoption/tasks/run_ipa_test.yml
Comment thread tests/roles/keystone_adoption/tasks/run_ipa_test.yml Outdated
Comment thread tests/roles/keystone_adoption/tasks/main.yaml
Comment thread tests/roles/keystone_adoption/tasks/main.yaml Outdated
xek added a commit to xek/data-plane-adoption that referenced this pull request Jul 10, 2025
- Restructure test_minimal.yaml and test_with_ceph.yaml for better execution flow
- Group services by dependencies to enable future parallelization:
  * Group 1: Barbican, Swift, Horizon, Heat, Telemetry (Keystone dependencies)
  * Group 2: Glance, Placement (Neutron dependencies)
  * Group 3: Nova, Cinder, Octavia, Manila (Placement/Glance dependencies)
- Maintain logical dependency ordering while preparing for parallel execution
- Addresses CI timeout issues in GitHub PR openstack-k8s-operators#970 by improving service ordering
- Enables future external orchestration for true parallelization
@softwarefactory-project-zuul

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/12305f246da2450796a718c49daea977

✔️ noop SUCCESS in 0s
✔️ adoption-standalone-to-crc-ceph SUCCESS in 3h 13m 15s
adoption-standalone-to-crc-no-ceph FAILURE in 1h 52m 45s

@softwarefactory-project-zuul

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/329671fe6b9b416aac822a880de1d381

✔️ noop SUCCESS in 0s
adoption-standalone-to-crc-ceph NODE_FAILURE Node request 100-0008050975 failed in 0s
adoption-standalone-to-crc-no-ceph NODE_FAILURE Node request 100-0008050976 failed in 0s

@afaranha

Copy link
Copy Markdown
Contributor

recheck

@softwarefactory-project-zuul

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/30d8b00d47c14b1687da074ccb8b99b9

✔️ noop SUCCESS in 0s
✔️ adoption-standalone-to-crc-ceph SUCCESS in 3h 05m 56s
adoption-standalone-to-crc-no-ceph FAILURE in 1h 49m 36s

@github-actions

github-actions Bot commented Nov 2, 2025

Copy link
Copy Markdown

This PR is stale because it has been for over 15 days with no activity.
Remove stale label or comment or this PR will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Nov 2, 2025
@github-actions github-actions Bot closed this Nov 10, 2025
@afaranha

Copy link
Copy Markdown
Contributor

recheck

@softwarefactory-project-zuul

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/c9003cf675bc4c9db0e05f21c9f3b194

✔️ noop SUCCESS in 0s
✔️ adoption-standalone-to-crc-ceph SUCCESS in 3h 00m 33s
adoption-standalone-to-crc-no-ceph FAILURE in 1h 47m 14s

@ciecierski ciecierski reopened this Nov 12, 2025
@ciecierski

Copy link
Copy Markdown
Contributor

Job with tlse adoption-standalone-to-crc-no-ceph failed on

TASK [keystone_adoption : Test IPA user authentication] ************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "set -euxo pipefail\n\n\noc exec -t openstackclient -- bash -c \"\n  source /home/cloud-admin/ipauser &&\n  export OS_IDENTITY_API_VERSION=3 &&\n  openstack token issue -f value -c id > /dev/null &&\n  echo 'IPA user authentication successful' ||\n  echo 'IPA user authentication failed'\"\n", "delta": "0:01:01.683601", "end": "2025-11-10 17:57:05.362443", "failed_when_result": true, "msg": "", "rc": 0, "start": "2025-11-10 17:56:03.678842", "stderr": "+ oc exec -t openstackclient -- bash -c '\n  source /home/cloud-admin/ipauser &&\n  export OS_IDENTITY_API_VERSION=3 &&\n  openstack token issue -f value -c id > /dev/null &&\n  echo '\\''IPA user authentication successful'\\'' ||\n  echo '\\''IPA user authentication failed'\\'''\nGateway Timeout (HTTP 504)", "stderr_lines": ["+ oc exec -t openstackclient -- bash -c '", "  source /home/cloud-admin/ipauser &&", "  export OS_IDENTITY_API_VERSION=3 &&", "  openstack token issue -f value -c id > /dev/null &&", "  echo '\\''IPA user authentication successful'\\'' ||", "  echo '\\''IPA user authentication failed'\\'''", "Gateway Timeout (HTTP 504)"], "stdout": "IPA user authentication failed", "stdout_lines": ["IPA user authentication failed"]}

@softwarefactory-project-zuul

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/29f4a3cf54664f03b4ec2c6b467eabee

✔️ noop SUCCESS in 0s
adoption-standalone-to-crc-ceph FAILURE in 2h 57m 47s
adoption-standalone-to-crc-no-ceph FAILURE in 1h 47m 22s

@github-actions github-actions Bot removed the Stale label Nov 13, 2025
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been for over 15 days with no activity.
Remove stale label or comment or this PR will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Nov 29, 2025
@github-actions github-actions Bot closed this Dec 7, 2025
@millevy millevy reopened this Dec 17, 2025
@softwarefactory-project-zuul

Copy link
Copy Markdown

This change depends on a change that failed to merge.

Change openstack-k8s-operators/install_yamls#1079 is needed.

@github-actions github-actions Bot removed the Stale label Dec 18, 2025
@millevy

millevy commented Dec 21, 2025

Copy link
Copy Markdown

recheck

@softwarefactory-project-zuul

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/dfcfe0e8a6604de58c388e4c3929a5bb

✔️ noop SUCCESS in 0s
✔️ adoption-standalone-to-crc-ceph SUCCESS in 3h 01m 16s
adoption-standalone-to-crc-no-ceph FAILURE in 1h 45m 57s

millevy added a commit to millevy/data-plane-adoption that referenced this pull request Jan 1, 2026
Use edpm_node_hostname variable instead of IP address to avoid
TLS certificate hostname mismatch error when keystone connects
to LDAP server.

The IP address (192.168.122.100) in the LDAP URL caused:
'ldap.SERVER_DOWN: TLS: hostname does not match name in peer certificate'

This fix ensures the LDAP URL uses the hostname (ipa.ooo.test)
which matches the certificate CN/SAN.

Fixes: OSPRH-6861
Related: PR openstack-k8s-operators#970
@github-actions

github-actions Bot commented Jan 6, 2026

Copy link
Copy Markdown

This PR is stale because it has been for over 15 days with no activity.
Remove stale label or comment or this PR will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Jan 6, 2026
@jistr jistr removed the Stale label Jan 9, 2026
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been for over 15 days with no activity.
Remove stale label or comment or this PR will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Jan 25, 2026
@github-actions github-actions Bot closed this Feb 1, 2026
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.

7 participants