Skip to content
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

Metal3 enable debug access to Ironic CLI #121

Open
hardys opened this issue Apr 18, 2024 · 0 comments
Open

Metal3 enable debug access to Ironic CLI #121

hardys opened this issue Apr 18, 2024 · 0 comments

Comments

@hardys
Copy link
Contributor

hardys commented Apr 18, 2024

The baremetal Ironic CLI is included in the Ironic container image, but it's currently inconvenient to use since you have to create a configuration file like:

cat /tmp/clouds.yaml 
clouds:
  metal3:
    auth_type: "http_basic"
    endpoint: "https://127.0.0.1:6385"
    baremetal_introspection_endpoint_override: "https://127.0.0.1:5050"
    verify: False
    auth:
      username: "ironic"
      password: "PASSWORD"

Where PASSWORD is retrieved from the ironic-basic-auth secret e.g

kubectl get secret -n metal3-system ironic-basic-auth -o json  | jq -r .data.password | base64 -d

Then if you export OS_CLOUD=metal3 it's possible to use the baremetal command inside the Ironic container.

It would be better if we generated this config inside the container, given that all the necessary information already exists there.

hardys added a commit to hardys/charts that referenced this issue Oct 14, 2024
Update Ironic image to 24.1.3.0 which fixes the following issues:
- Ironic rebase to pick up changes related to CVE-2024-44082
- Fix issue related to net.ifnames in Ironic configuration
- Fix issue related to ironicclient version which prevented debug usage as described in suse-edge#121

Update IPA downloader image to 2.0.1, which includes corresponding changes
related to CVE-2024-44082
hardys added a commit that referenced this issue Oct 21, 2024
Update Ironic image to 24.1.3.0 which fixes the following issues:
- Ironic rebase to pick up changes related to CVE-2024-44082
- Fix issue related to net.ifnames in Ironic configuration
- Fix issue related to ironicclient version which prevented debug usage as described in #121

Update IPA downloader image to 2.0.1, which includes corresponding changes
related to CVE-2024-44082
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

No branches or pull requests

1 participant