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

[WIP] Generate clouds.yaml for ironic and ironic-inspector and document it #612

Closed
wants to merge 1 commit into from

Conversation

dtantsur
Copy link
Member

The main benefit is that we'll be able to use ironic and ironic-inspector
simultaneously, without redefining OS_URL each time.

To actually work we need the following patches merged and released:
osc-lib: https://review.opendev.org/#/c/664830/
ironic-inspector-client: https://review.opendev.org/#/c/664835/

…ng it

The main benefit is that we'll be able to use ironic and ironic-inspector
simultaneously, without redefining OS_URL each time.
@@ -78,3 +78,12 @@ sudo podman run -d --net host --privileged --name ironic --pod ironic-pod \
# Start Ironic Inspector
sudo podman run -d --net host --privileged --name ironic-inspector \
--pod ironic-pod -v $IRONIC_DATA_DIR:/shared "${IRONIC_INSPECTOR_IMAGE}"

sudo mkdir -p /etc/openstack
sudo cat > /etc/openstack/clouds.yaml <<EOF
Copy link
Member

Choose a reason for hiding this comment

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

This is going to replace any existing file or settings that might already be present. I think we should generate the file to ./ocs like we do with the kube auth file and suggest that the user copy it (or its contents) to their home directory.

@stbenjam
Copy link
Member

stbenjam commented Aug 8, 2019

This seems worthwhile, any plans to revisit it? Perhaps updating it after #642 is merged?

@dtantsur
Copy link
Member Author

dtantsur commented Aug 8, 2019

Yep, I'm waiting for the location of ironic to settle down.

@hardys
Copy link

hardys commented Sep 10, 2019

Obsoleted by #791, #793 and #797

@hardys hardys closed this Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants