Skip to content

zed: yoga merge #938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Feb 13, 2024
Merged

zed: yoga merge #938

merged 23 commits into from
Feb 13, 2024

Conversation

markgoddard
Copy link
Contributor

  • Update smartmon-tools.yml
  • Fix permissions on reset-bls-entries playbook
  • CI: Add retries to TF apply in aio job
  • CI: Trim down package dependencies
  • Correct OpenSearch migration instructions
  • Bump docker build and push action to v5
  • Bump stackhpc.kayobe_workflows to version 1.0.3
  • Revert "Don't verify Apt repo CA initially when using HTTPS in container build"
  • Revert "Add package repository credentials to container image build"
  • Add Ansible Galaxy roles and collections to .gitignore
  • Update etc/kayobe/ansible/smartmon-tools.yml
  • Add a playbook to deploy an authenticating Pulp proxy
  • Use authenticating Pulp proxy during container image builds
  • CI: Avoid hitting Dockerhub rate limits

technowhizz and others added 22 commits December 28, 2023 09:14
Fix permissions on reset-bls-entries playbook
We sometimes hit temporary failures during VM creation. Adding a retry
may help to keep things running.

(cherry picked from commit 6329f1c)
(cherry picked from commit 8d9e620)
yoga: Backport CI fixes from Zed
Because we set ``kolla_enable_central_logging: true``,
``kolla_enable_elsticsearch`` is also set to true, as per the Kayobe
defaults:

```
kolla_enable_elasticsearch: "{{ not kolla_base_distro == 'rocky' and (kolla_enable_central_logging | bool or kolla_enable_osprofiler | bool or kolla_enable_skydive | bool or kolla_enable_monasca | bool) }}"
```

Update the instructions to disbale Elasticsearch explicitly.
We hit this error in a control host bootstrap otherwise.

```
ERROR! Failed to resolve the requested dependencies map. Could not satisfy the following requirements:
* stackhpc.kayobe_workflows:1.0.2 (direct request)
* stackhpc.kayobe_workflows:1.0.3 (dependency of "virtual collection Git repo")
```
…structions

Correct OpenSearch migration instructions
…ner build"

This reverts commit f8947a9.

This approach is not secure and leaves credentials in images.
This reverts commit 05e1995.

This approach is not secure and leaves credentials in images.
Bump stackhpc.kayobe_workflows to version 1.0.3
Bump docker build and push action to v5
There is currently no practical, secure way to provide credentials for
accessing Ark's authenticated package repositories from within a Kolla
build.  Docker provides build secrets, but these must be explicitly
requested for each RUN statement, making them challenging to use in
Kolla.

This change adds a playbook that deploys an Nginx container that runs as
a reverse proxy, injecting an HTTP basic authentication header into
requests.

Because this proxy bypasses Pulp's authentication, it must not be
exposed to any untrusted environment.

[1] https://docs.docker.com/build/building/secrets/
This change uses the authenticating Pulp proxy added in
6320be9 to provide container image
builds access to Ark's authenticated package repositories without
injecting the credentials into the built images or their metadata.
Running the hello-world container from Dockerhub at the beginning of
workflows can cause us to hit rate limits. Switch to a simple docker ps.
CI: Avoid leaking credentials in container image builds
@markgoddard markgoddard requested a review from a team as a code owner February 13, 2024 15:19
@markgoddard markgoddard self-assigned this Feb 13, 2024
@markgoddard
Copy link
Contributor Author

I don't know where this was removed, possibly in a bad merge.
@markgoddard
Copy link
Contributor Author

Copy link
Member

@Alex-Welsh Alex-Welsh left a comment

Choose a reason for hiding this comment

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

LGTM as long as image builds & AIOs pass

@markgoddard
Copy link
Contributor Author

@markgoddard
Copy link
Contributor Author

Upgrade job failed due to yoga net_ip issue, being fixed upstream

Copy link
Member

@Alex-Welsh Alex-Welsh left a comment

Choose a reason for hiding this comment

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

Still wonder what happened to that cat line

@markgoddard markgoddard merged commit 6cff19b into stackhpc/zed Feb 13, 2024
@markgoddard markgoddard deleted the zed-yoga-merge branch February 13, 2024 16:56
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.

5 participants