Skip to content

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

Closed
dtantsur wants to merge 1 commit intoopenshift-metal3:masterfrom
dtantsur:clouds.yaml
Closed

[WIP] Generate clouds.yaml for ironic and ironic-inspector and document it#612
dtantsur wants to merge 1 commit intoopenshift-metal3:masterfrom
dtantsur:clouds.yaml

Conversation

@dtantsur
Copy link
Copy Markdown
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.
Comment thread 04_setup_ironic.sh
--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
Copy Markdown
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
Copy Markdown
Member

stbenjam commented Aug 8, 2019

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

@dtantsur
Copy link
Copy Markdown
Member Author

dtantsur commented Aug 8, 2019

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

@hardys
Copy link
Copy Markdown

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