openstack-k8s-operators / edpm-ansible

External Dataplane Management Ansible Playbooks
https://openstack-k8s-operators.github.io/edpm-ansible/
Apache License 2.0
9 stars 66 forks source link

[edpm_pre_adoption]Ensure that hostname is consistent #631

Closed gibizer closed 5 months ago

gibizer commented 6 months ago

Adds a pre-adoption check to ensure that the nova-compute service hostname is consistent what hostname -f return and therefore what libvirt reports as hostname. We need to ensure this as in the 18 deployment we enforcing a single hostname via canonical_hostname to both nova and libvirt. So during adoption one of the hostname would be changed that would cause nova-compute issues.

Related: OSPRH-6335

gibizer commented 6 months ago

/hold waiting for the questions on https://issues.redhat.com//browse/OSPRH-6335 to be answered

softwarefactory-project-zuul[bot] commented 6 months ago

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://review.rdoproject.org/zuul/buildset/bb9861c73f874ac993d9c78598b2ce05

:heavy_check_mark: openstack-k8s-operators-content-provider SUCCESS in 2h 25m 56s :x: podified-multinode-edpm-deployment-crc FAILURE in 1h 08m 17s :heavy_check_mark: cifmw-crc-podified-edpm-baremetal SUCCESS in 2h 00m 53s :heavy_check_mark: edpm-ansible-molecule-edpm_bootstrap SUCCESS in 5m 52s :heavy_check_mark: edpm-ansible-molecule-edpm_podman SUCCESS in 5m 17s :heavy_check_mark: edpm-ansible-molecule-edpm_module_load SUCCESS in 4m 23s :heavy_check_mark: edpm-ansible-molecule-edpm_kernel SUCCESS in 9m 51s :heavy_check_mark: edpm-ansible-molecule-edpm_libvirt SUCCESS in 8m 29s :heavy_check_mark: edpm-ansible-molecule-edpm_nova SUCCESS in 8m 55s :heavy_check_mark: edpm-ansible-molecule-edpm_frr SUCCESS in 6m 07s :heavy_check_mark: edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 31s :heavy_check_mark: edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 6m 45s :heavy_check_mark: edpm-ansible-molecule-edpm_ovs SUCCESS in 5m 19s

gibizer commented 6 months ago

the check was run successfully in https://logserver.rdoproject.org/16/416/68bc6460149a064a1b2356247cef407910aa16e9/github-check/data-plane-adoption-osp-17-to-extracted-crc-minimal-no-ceph/34e3bf1/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/pods/pre-adoption-validation-openstack-pre-adoption-openstack-cmzgn/logs/openstackansibleee.log

gibizer commented 6 months ago

recheck

gibizer commented 5 months ago

The related Jira is unblocked now so I rebased this and will run a test of it in the adoption repo

gibizer commented 5 months ago

the new task run successfully in https://logserver.rdoproject.org/63/463/108febab21edf85bd2d8baef0856e339beed840d/github-check/data-plane-adoption-osp-17-to-extracted-crc-minimal-no-ceph/3970318/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/pods/pre-adoption-validation-openstack-pre-adoption-openstack-htglv/logs/openstackansibleee.log

so I think it is good to go.

gibizer commented 5 months ago

/unhold beta freeze is over

openshift-ci[bot] commented 5 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gibizer, SeanMooney

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

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/openstack-k8s-operators/edpm-ansible/blob/main/OWNERS)~~ [SeanMooney,gibizer] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
gibizer commented 5 months ago

/test pre-commit-test

{  could not resolve pipeline image stream tag root: imagestreamtags.image.openshift.io "pipeline:root" not found}