ManageIQ / manageiq

ManageIQ Open-Source Management Platform
https://manageiq.org
Apache License 2.0
1.34k stars 896 forks source link

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

Open kiranjagadesh opened 8 months ago

kiranjagadesh commented 8 months ago

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 commented 8 months ago

Is this the same issue as https://github.com/ManageIQ/manageiq/issues/22847 ?

kiranjagadesh commented 8 months ago

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 commented 7 months ago

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 commented 7 months ago

@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)

GilbertCherrie commented 7 months ago

Opened a separate issue for the UI issue in the ui-classic repo: https://github.com/ManageIQ/manageiq-ui-classic/issues/9064 with PR: https://github.com/ManageIQ/manageiq-ui-classic/pull/9063

Fryguy commented 7 months ago

UI issue fixed in https://github.com/ManageIQ/manageiq-ui-classic/pull/9063

miq-bot commented 4 months ago

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.

miq-bot commented 1 month ago

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.