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

Customization Issues with Static IP Configuration in OpenStack Instance Provisioning #22848

Open
kiranjagadesh opened this issue Jan 23, 2024 · 7 comments
Assignees

Comments

@kiranjagadesh
Copy link

Hi @agrare

I have two issues.

1) If I try to set the static IP for my instance in the provisioning area, but the static IP does not get into the instance, it's only getting the dynamic IP address.

And I checked the backend code; it's showing the default option is DHCP.

The file name is: miq_provision_openstack_dialogs_template.yaml

2) Under the "Customize" column area in the instance provision option, there are two options available: DHCP and static. If you select DHCP, the columns for IP Address, Subnet Mask, and Gateway options will be hidden. If you choose static, the columns will be enabled.

Could you please guide me in resolving these issues?

image

@Fryguy
Copy link
Member

Fryguy commented Jan 24, 2024

Is this the same issue as #22847 ?

@kiranjagadesh
Copy link
Author

Hi, @Fryguy ,

Those two queries are different.

Here I meant the following:

1. Under the customize option, we find two methods of IP allocation that is "Static and DHCP".

When Static method is chosen, we find the option to enter the desired IP address, subnet mask and gateway enabled.

Similarly, when the DHCP method is chosen, by default, the option to enter the desired IP address, subnet mask and gateway should be disabled, right?.

But we find this option enabled, making it confusing for the users.

So, can you please guide me on this?

2. Under the customize option, when I choose the method of IP allocation as "Static" and give the IP address, gateway, and subnet mask, I see a different IP is allocated dynamically to the instance created.

On checking the backend code, I find that the default option is set to DHCP.

File name: miq_provision_openstack_dialogs_template.yaml

Can you guide me on changing this?

@Fryguy
Copy link
Member

Fryguy commented Jan 31, 2024

Yeah these both sound like bugs. For 1. that is likely a presentation issue and I agree that when DHCP is chosen the other fields should be disabled. For 2, I would expect the static IP to be passd down to the provisioning tasks.

@Fryguy Fryguy added bug and removed question labels Jan 31, 2024
@Fryguy
Copy link
Member

Fryguy commented Jan 31, 2024

@GilbertCherrie Can you take a look at the UI issue on this one?
@agrare Can you take a look at the underlying provisioning issue? (It might still be UI, not sure)

@Fryguy Fryguy changed the title Troubleshooting and Customization Issues with Static IP Configuration in OpenStack Instance Provisioning Customization Issues with Static IP Configuration in OpenStack Instance Provisioning Jan 31, 2024
@GilbertCherrie
Copy link
Member

Opened a separate issue for the UI issue in the ui-classic repo: ManageIQ/manageiq-ui-classic#9064 with PR: ManageIQ/manageiq-ui-classic#9063

@Fryguy
Copy link
Member

Fryguy commented Feb 7, 2024

UI issue fixed in ManageIQ/manageiq-ui-classic#9063

@miq-bot miq-bot added the stale label May 13, 2024
@miq-bot
Copy link
Member

miq-bot commented May 13, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants