Skip to content

ironic: Use IP also in [swift] section#2107

Merged
dirkmueller merged 1 commit into
crowbar:masterfrom
skazi0:ironic-swift-ip-condigdrive
May 24, 2019
Merged

ironic: Use IP also in [swift] section#2107
dirkmueller merged 1 commit into
crowbar:masterfrom
skazi0:ironic-swift-ip-condigdrive

Conversation

@skazi0

@skazi0 skazi0 commented Apr 16, 2019

Copy link
Copy Markdown
Member

Swift settings in [glance] already use IP for endpoint URL. This
is used for deployment images.

If config drive is enabled and stored in Swift, this endpoint URL
is not used but instead standard keystone adapter is created based
on [swift] section of Ironic configuration. Added override makes
it possible to use deploy image which can't resolve Crowbar's
internal domain names.

@dirkmueller

Copy link
Copy Markdown
Contributor

so why can it reach crowbar internal ip addresses but not hostnames? I am confused about that.

@skazi0

skazi0 commented Apr 16, 2019

Copy link
Copy Markdown
Member Author

@dirkmueller I think the deploy image doesn't have proper resolver setup. I tried the same with upstream coreos deploy image and it also didn't work with hostnames.

dirkmueller
dirkmueller previously approved these changes Apr 25, 2019
@skazi0 skazi0 force-pushed the ironic-swift-ip-condigdrive branch from b623280 to 7f8a186 Compare May 6, 2019 07:01
@skazi0 skazi0 requested a review from aspiers as a code owner May 7, 2019 14:26
@skazi0 skazi0 removed the request for review from aspiers May 7, 2019 14:26
@skazi0

skazi0 commented May 7, 2019

Copy link
Copy Markdown
Member Author

testing gating with #2116

@skazi0 skazi0 force-pushed the ironic-swift-ip-condigdrive branch from 36d2ad2 to 7f8a186 Compare May 8, 2019 04:12
@skazi0

skazi0 commented May 9, 2019

Copy link
Copy Markdown
Member Author

testing gating again with #2116 (new version)

Swift settings in [glance] already use IP for endpoint URL. This
is used for deployment images.

If config drive is enabled and stored in Swift, this endpoint URL
is not used but instead standard keystone adapter is created based
on [swift] section of Ironic configuration. Added override makes
it possible to use deploy image which can't resolve Crowbar's
internal domain names.
@skazi0 skazi0 force-pushed the ironic-swift-ip-condigdrive branch from 25e0551 to ddcd19f Compare May 9, 2019 10:18
@skazi0 skazi0 requested a review from dirkmueller May 9, 2019 13:28
@skazi0 skazi0 requested a review from guangyee May 23, 2019 15:17

@guangyee guangyee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good

@dirkmueller dirkmueller merged commit 10d30a5 into crowbar:master May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants