WIP Set host_ip for ironic API bind address#56
WIP Set host_ip for ironic API bind address#56hardys wants to merge 1 commit intometal3-io:masterfrom
Conversation
This ensures we only listen on the provisioning network, not 0.0.0.0 Fixes: metal3-io#55
dtantsur
left a comment
There was a problem hiding this comment.
The change looks good. Do we need to change the instructions for accessing ironic API using openstackclient?
Hmm good point, dev-scripts says Hmm. |
|
I think having this traffic internal and not accessible via the public network is correct from a security perspective, so perhaps we'll just set up some port forwarding via SSH in dev-scripts to make the move to the bootstrap VM transparent, and in the interim we could setup an iptables rule to forward from localhost to the provisioning nic? |
|
Marking this WIP until we figure out the best way to not break existing deployments/testing. |
|
Actually there is some complexity here;
I think the safest option is to bind to a specific network in the container config, then when needed (e.g on the bootstrap VM) set up a forwarding rule to enable the necessary access. |
|
Build SUCCESS, see build http://10.8.144.11:8080/job/dev-tools/740/ |
An easier path might be to add an IP to the provisioning bridge on the virt host and then set a route for provisioning traffic to use it. |
|
Yeah I've noticed that the baremetal operator uses localhost for the ironic and ironic-inspector endpoints as well. |
Bug 1807634: Copy iPXE images to tftpboot directory including snponly.efi
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
|
Removed the lifecycle/stale as this is still and issue which should be fixed IMO, we just need to figure out how to do it without breaking things that depend on the current behavior |
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues close after 30d of inactivity. Reopen the issue with /close |
|
@metal3-io-bot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This ensures we only listen on the provisioning network, not
0.0.0.0
Fixes: #55