Skip to content

Placement integration v4#1098

Open
auniyal61 wants to merge 18 commits into
openstack-k8s-operators:mainfrom
auniyal61:placement-integration-v4
Open

Placement integration v4#1098
auniyal61 wants to merge 18 commits into
openstack-k8s-operators:mainfrom
auniyal61:placement-integration-v4

Conversation

@auniyal61
Copy link
Copy Markdown
Contributor

@auniyal61 auniyal61 commented Apr 13, 2026

Move placement-operator/main into nova-operator.

This squashes 527 commits from placement-operator history for clean
intergration.
Full detailed history is preserved in the original placement-operator
repo at https://github.com/openstack-k8s-operators/placement-operator

The placement-operator code will be restructured as per nova-operator
multi-group structure.

This squashes 527 commits from placement-operator history for clean
intergration.
Full detailed history is preserved in the original placement-operator
repo at https://github.com/openstack-k8s-operators/placement-operator

The placement-operator code will be restructured as per nova-operator
multi-group structure.
Move placement business logic from placement-import/internal/placement
to internal/placement/ to keep alongside nova business logic
Move webhook from placement-import/internal/webhook/v1beta1/ to
internal/webhook/placement/v1beta1/
Move placement templates from placement-import/templates/placementapi/
to templates/placement/api/
reorganize placement test structure to match nova-operator patterns
- moves functional tests to test/functional/placement/
- moves kuttl tests to test/kuttl/test-suites/placement/
- move kuttl-test.yaml as config.yaml in test suite director
- updates test suite config with proper namespace and paths
- Fixes symlinks to point to correct sample file locations
adds placement test suite with shared deps files symlinked from
default/deps to maintain consistency across test suit.
Remove 'placement' prefix from filenames within placement directories
to match existing naming conventions ex: placementapi_types.go → placement/api_types.go
Update all import paths in placement code from
github.com/openstack-k8s-operators/placement-operator/api/v1beta1 to
github.com/openstack-k8s-operators/nova-operator/api/placement/v1beta1
and
github.com/openstack-k8s-operators/placement-operator/internal/placement
github.com/openstack-k8s-operators/nova-operator/internal/placement

package name update functional_test to placement_test
Update kustomization.yaml to include placement samples
Update controller-gen paths to process both nova and placement APIs
  - Register PlacementAPI controller in cmd/main.go
  - Register PlacementAPI webhook in cmd/main.go
  - Add placement scheme and defaults initialization
  - Fix placement test paths after moving to test/functional/placement/
  - Add placement API to test coverage in Makefile
Updated Makefile to include placement webhook paths in controller-gen
Adds getTemplateInstanceType in placement/common.go
Remove placement-import directory - all code has been moved
Add generated files from 'make manifests
@openshift-ci openshift-ci Bot requested review from abays and jamepark4 April 13, 2026 07:29
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 13, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: auniyal61

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

@auniyal61
Copy link
Copy Markdown
Contributor Author

recheck

nova-operator-kuttl failed with unrelated issue

2026-04-13 09:19:04.785631 | controller | TASK [run_hook : Run hook without retry - 70 Create nova webhooks] *************
2026-04-13 09:19:04.785644 | controller | Monday 13 April 2026  09:13:57 +0000 (0:00:00.199)       0:00:01.547 **********
2026-04-13 09:19:04.785651 | controller | Monday 13 April 2026  09:13:57 +0000 (0:00:00.199)       0:00:01.547 **********
2026-04-13 09:19:04.785664 | controller | Follow script's output here: /home/zuul/ci-framework-data/logs/ci_script_004_run_hook_without_retry_70.log
2026-04-13 09:19:04.850357 | controller | task path: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/run_hook/tasks/playbook.yml:90
2026-04-13 09:19:04.850430 | controller | fatal: [controller]: FAILED! =>
2026-04-13 09:19:04.850439 | controller |     censored: 'the output has been hidden due to the fact that ''no_log: true'' was specified
2026-04-13 09:19:04.850511 | controller |       for this result'
2026-04-13 09:19:04.850522 | controller |     changed: true
2026-04-13 09:19:04.850529 | controller |

@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/e90fe1846cdc4d02a69d1b38e5cab8dd

✔️ openstack-meta-content-provider SUCCESS in 4h 36m 09s
nova-operator-kuttl FAILURE in 45m 57s
✔️ nova-operator-tempest-multinode SUCCESS in 2h 24m 35s
✔️ nova-operator-tempest-multinode-ceph SUCCESS in 3h 11m 53s

@auniyal61
Copy link
Copy Markdown
Contributor Author

recheck

recheck

nova-operator-kuttl failed with unrelated issue

2026-04-13 09:19:04.785631 | controller | TASK [run_hook : Run hook without retry - 70 Create nova webhooks] *************
2026-04-13 09:19:04.785644 | controller | Monday 13 April 2026  09:13:57 +0000 (0:00:00.199)       0:00:01.547 **********
2026-04-13 09:19:04.785651 | controller | Monday 13 April 2026  09:13:57 +0000 (0:00:00.199)       0:00:01.547 **********
2026-04-13 09:19:04.785664 | controller | Follow script's output here: /home/zuul/ci-framework-data/logs/ci_script_004_run_hook_without_retry_70.log
2026-04-13 09:19:04.850357 | controller | task path: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/run_hook/tasks/playbook.yml:90
2026-04-13 09:19:04.850430 | controller | fatal: [controller]: FAILED! =>
2026-04-13 09:19:04.850439 | controller |     censored: 'the output has been hidden due to the fact that ''no_log: true'' was specified
2026-04-13 09:19:04.850511 | controller |       for this result'
2026-04-13 09:19:04.850522 | controller |     changed: true
2026-04-13 09:19:04.850529 | controller |

@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/bc8d63adb4774e108f002d8fd62ce1ad

✔️ openstack-meta-content-provider SUCCESS in 3h 17m 15s
✔️ nova-operator-kuttl SUCCESS in 53m 32s
✔️ nova-operator-tempest-multinode SUCCESS in 2h 26m 59s
nova-operator-tempest-multinode-ceph FAILURE in 2h 42m 28s

@auniyal61
Copy link
Copy Markdown
Contributor Author

recheck

unrelated cifw issue

2026-04-13 17:03:09.942771 | controller |
2026-04-13 17:03:09.942806 | controller | TASK [run_hook : Assert single hooks are all mappings quiet=True, that=['_not_mapping_hooks | length == 0'], msg=All single hooks must be a list of mappings or a mapping.] ***
2026-04-13 17:03:09.942814 | controller | Monday 13 April 2026  17:03:09 +0000 (0:00:00.031)       1:13:51.868 **********
2026-04-13 17:03:09.942819 | controller | Monday 13 April 2026  17:03:09 +0000 (0:00:00.031)       1:13:51.867 **********
2026-04-13 17:03:09.942828 | controller | skipping: [localhost]
2026-04-13 17:03:10.336902 | controller | ERROR
2026-04-13 17:03:10.337281 | controller | {
2026-04-13 17:03:10.337359 | controller |   "delta": "1:13:53.064431",
2026-04-13 17:03:10.337402 | controller |   "end": "2026-04-13 17:03:10.285960",
2026-04-13 17:03:10.337439 | controller |   "msg": "non-zero return code",
2026-04-13 17:03:10.337475 | controller |   "rc": 2,
2026-04-13 17:03:10.337509 | controller |   "start": "2026-04-13 15:49:17.221529"
2026-04-13 17:03:10.337543 | controller | }
failure
2026-04-13 17:03:10.363938 | 

@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/b66f7a7da913491197b5e54de634a4af

openstack-meta-content-provider FAILURE in 4m 32s
⚠️ nova-operator-kuttl SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode-ceph SKIPPED Skipped due to failed job openstack-meta-content-provider

@auniyal61
Copy link
Copy Markdown
Contributor Author

recheck

2026-04-14 03:02:52.062581 | controller | TASK [ci_setup : Install needed packages name={{ cifmw_ci_setup_packages }}, state=latest] ***
2026-04-14 03:02:52.062586 | controller | Tuesday 14 April 2026  03:02:48 +0000 (0:00:00.041)       0:00:17.603 *********
2026-04-14 03:02:52.062591 | controller | Tuesday 14 April 2026  03:02:48 +0000 (0:00:00.041)       0:00:17.602 *********
2026-04-14 03:02:52.062606 | controller | task path: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/ci_setup/tasks/packages.yml:9
2026-04-14 03:02:52.153688 | controller | fatal: [localhost]: FAILED! =>
2026-04-14 03:02:52.153836 | controller |     changed: false
2026-04-14 03:02:52.153855 | controller |     msg: 'Failed to download metadata for repo ''repo-setup-centos-appstream'': Yum repo
2026-04-14 03:02:52.153867 | controller |       downloading error: Downloading error(s): repodata/6ed46f77a9643ac6ed5861b2fe60de7763876a98189aacb8f6ffdf46cac34d6e-primary.xml.gz
2026-04-14 03:02:52.153879 | controller |       - Cannot download, all mirrors were already tried without success; repodata/95b5611eee8ba3426949a3efbf7c44178810e9c3032810cbf8865f6a7e9d22d4-filelists.xml.gz
2026-04-14 03:02:52.153891 | controller |       - Cannot download, all mirrors were already tried without success; repodata/f347b5df9bebdb714a5d108f7c7025001715ec9b610da88a1a33f478dedca8fc-modules.yaml.xz
2026-04-14 03:02:52.153902 | controller |       - Cannot download, all mirrors were already tried without success'
2026-04-14 03:02:52.153913 | controller |     rc: 1
2026-04-14 03:02:52.153924 | controller |     results: []
2026-04-14 03:02:52.153935 | controller |

@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/e7c8cab15d5c419f8dcc0eb3b2c0a2db

openstack-meta-content-provider FAILURE in 4m 25s
⚠️ nova-operator-kuttl SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-meta-content-provider
⚠️ nova-operator-tempest-multinode-ceph SKIPPED Skipped due to failed job openstack-meta-content-provider

@auniyal61
Copy link
Copy Markdown
Contributor Author

recheck

2026-04-14 05:52:09.680074 | controller | task path: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/ci_setup/tasks/packages.yml:9
2026-04-14 05:52:09.746509 | controller | fatal: [localhost]: FAILED! =>
2026-04-14 05:52:09.746673 | controller |     changed: false
2026-04-14 05:52:09.746698 | controller |     msg: 'Failed to download metadata for repo ''repo-setup-centos-appstream'': Yum repo
2026-04-14 05:52:09.746709 | controller |       downloading error: Downloading error(s): repodata/6ed46f77a9643ac6ed5861b2fe60de7763876a98189aacb8f6ffdf46cac34d6e-primary.xml.gz
2026-04-14 05:52:09.746720 | controller |       - Cannot download, all mirrors were already tried without success; repodata/95b5611eee8ba3426949a3efbf7c44178810e9c3032810cbf8865f6a7e9d22d4-filelists.xml.gz
2026-04-14 05:52:09.746731 | controller |       - Cannot download, all mirrors were already tried without success; repodata/f347b5df9bebdb714a5d108f7c7025001715ec9b610da88a1a33f478dedca8fc-modules.yaml.xz
2026-04-14 05:52:09.746741 | controller |       - Cannot download, all mirrors were already tried without success'
2026-04-14 05:52:09.746752 | controller |     rc: 1
2026-04-14 05:52:09.746762 | controller |     results: []
2026-04-14 05:52:09.746772 | controller |

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