[Bug 2038663] Please test proposed package
Timo Aaltonen
2038663 at bugs.launchpad.net
Fri Nov 15 13:26:38 UTC 2024
Hello Felipe, or anyone else affected,
Accepted magnum-ui into focal-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/magnum-
ui/6.0.1-0ubuntu1.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/2038663
Title:
[SRU] no option to override the fixed_subnet when creating a new
cluster
Status in Ubuntu Cloud Archive:
Invalid
Status in Ubuntu Cloud Archive antelope series:
Fix Committed
Status in Ubuntu Cloud Archive bobcat series:
Won't Fix
Status in Ubuntu Cloud Archive ussuri series:
New
Status in Ubuntu Cloud Archive yoga series:
New
Status in Ubuntu Cloud Archive zed series:
Won't Fix
Status in Magnum UI:
Fix Released
Status in magnum-ui package in Ubuntu:
Invalid
Status in magnum-ui source package in Focal:
Fix Committed
Status in magnum-ui source package in Jammy:
Fix Committed
Bug description:
[Impact]
When a cluster template sets fixed_network and fixed_subnet and the
user tries to create a new cluster using that template and decides to
override the network, the fixed_subnet will inherited from the
template, leaving an invalid configuration and later Neutron will
refuse to allocate a port (since the subnet doesn't belong to the
network). For more details see
https://bugs.launchpad.net/ubuntu/+source/magnum/+bug/2038109
[Test Case]
1. Deploy an OpenStack cloud with the magnum-ui extension installed.
```
git clone https://opendev.org/openstack/charm-magnum-dashboard
cd charm-magnum-dashboard
git checkout stable/${VERSION} # ${VERSION} can be 2023.1, yoga or ussuri.
tox -e build
tox -e func-target -- ${BUNDLE} # ${BUNDLE} can be jammy-antelope, jammy-yoga or focal-ussuri
```
2. Create a new cluster template with a fixed_network test-net and fixed_subnet test-subnet
3. Create a new cluster, uncheck the option "Create new network" and pick a network different from test-net in the dropdown list.
Expected result:
The cluster gets created
Actual result:
The cluster creation fails, because the network configuration is
invalid.
[ Where problems could occur ]
This is a javascript (Angular) code change, issues can be detected
using the Web Developer Tools console where a javascript exeception
may be raised.
Another source of problems is that this code change adds a handler
when populate the list of subnets when the network is changed in the
"Fixed Network" dropdown list, if there were issues the subnet list
would be rendered empty.
[ Other Info ]
- This bug fix was merged during the 2024.1 (Caracal) development cycle - https://review.opendev.org/c/openstack/magnum-ui/+/898007
- The commit that fixes this issue is available since magnum-ui-14.0.0 - https://opendev.org/openstack/magnum-ui/commit/6f6c3db282fe2f0e08ad69c557eb153858b0164a
- This bug fix is not relevant for upgrades, it's purely UI fix
- This change is adding a new UI component, which on the surface may look like not suitable for a SRU, although the current UI induces users to get into a broken configuration for new clusters when overriding the cluster template's network.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2038663/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list