Skip to content

Conversation

jovial
Copy link
Contributor

@jovial jovial commented Aug 30, 2022

We support Rocky 8 as a host OS with os_distribution == 'rocky'. This adds the configuration necessary to use the RPM snapshots from ark.

We support Rocky 8 as a host OS with os_distribution == 'rocky'. This
adds the configuration necessary to use the RPM snapshots from ark.
Copy link
Contributor

@markgoddard markgoddard left a comment

Choose a reason for hiding this comment

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

Looks like a good start. You'll need some changes in stackhpc.yml and dnf.yml to use the new repos.

jovial added 2 commits August 30, 2022 17:33
Unsure if it would be better to:

1) Update the remote on the repository
2) Change the publication to point to a new repository and keep
repositories for every minor version

Advantages of 1:

- Single repository in pulp

Advantages of 2:

- Less chance of conflicts (although I think an old repo is just an old snapshot)
Upadting variable name after feedback
@jovial jovial marked this pull request as ready for review August 31, 2022 15:05
@jovial jovial requested a review from a team as a code owner August 31, 2022 15:05
@jovial
Copy link
Contributor Author

jovial commented Aug 31, 2022

Sorry for all these updates. The merge button was greyed out. Doesn't explicitly say why, but I guess its because of "This branch is out-of-date with the base branch".

@bbezak
Copy link
Member

bbezak commented Aug 31, 2022

are you planning to add dnf.yml changes in this PR as well? @jovial

@jovial
Copy link
Contributor Author

jovial commented Aug 31, 2022

are you planning to add dnf.yml changes in this PR as well? @jovial

Yeah, I've done those here:

https://github.com/stackhpc/stackhpc-kayobe-config/pull/152

@jovial jovial added this to the Rocky Linux 8 support milestone Aug 31, 2022
@markgoddard markgoddard merged commit b9746b1 into stackhpc/xena Aug 31, 2022
@markgoddard markgoddard deleted the feature/xena/rocky8-pulp branch August 31, 2022 19:11
@markgoddard markgoddard mentioned this pull request Oct 10, 2022
jovial added a commit that referenced this pull request Oct 14, 2022
* Adds Rocky 8 repository config for local pulp

We support Rocky 8 as a host OS with os_distribution == 'rocky'. This
adds the configuration necessary to use the RPM snapshots from ark.

* Abstract over version number v1

Unsure if it would be better to:

1) Update the remote on the repository
2) Change the publication to point to a new repository and keep
repositories for every minor version

Advantages of 1:

- Single repository in pulp

Advantages of 2:

- Less chance of conflicts (although I think an old repo is just an old snapshot)

* Fixups

* Address code review comment

Upadting variable name after feedback
This was referenced Nov 2, 2022
jovial added a commit that referenced this pull request Nov 17, 2022
* Adds Rocky 8 pulp repositories to dnf.yml (#152)

* Adds Rocky 8 pulp repositories to dnf.yml

This configures the hosts to use the mirrors in the local
pulp. Prior to this change kayobe would attempt to configure
CentOS stream mirrors on a Rocky host.

* Use facts to pick dnf repositories

* Adds Rocky 8 repository config for local pulp (#146)

* Adds Rocky 8 repository config for local pulp

We support Rocky 8 as a host OS with os_distribution == 'rocky'. This
adds the configuration necessary to use the RPM snapshots from ark.

* Abstract over version number v1

Unsure if it would be better to:

1) Update the remote on the repository
2) Change the publication to point to a new repository and keep
repositories for every minor version

Advantages of 1:

- Single repository in pulp

Advantages of 2:

- Less chance of conflicts (although I think an old repo is just an old snapshot)

* Fixups

* Address code review comment

Upadting variable name after feedback

* Update docker baseurl to work with Rocky 8 (#153)

This is the equivalent change of:

https://review.opendev.org/c/openstack/ansible-collection-kolla/+/831642

* Adds a Rocky 8 AIO test

* Use ansible fork with Rocky 8 support

* Install fork of ansible unconditionally

The kayobe docker image fron kayobe-automation was being built
without Rocky Linux support. This is because os_distribution was
not being set add build time.

* Workaround lack of ovs-vsctl on the host.

* Switch back to stackhpc/wallaby

The PR has now been merged.

* centos user has changed to cloud-user

The images on smslab are now based on centos-minimal.

* Add os-distribution to tempest artifact name

This allows you to differentiate the artifacts across the distros.

* Remove bootstrap override

This is no longer necessary now the centos image also uses cloud-user.

* Revert volume_size to 100GB

200G was only necessary for testing the DIB images from kayobe-config
with the default LVM logical volume sizes.

* Remove configure-local-networking
@markgoddard markgoddard mentioned this pull request Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants