Store default values for networks externally
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Dima Shulyak |
Bug Description
Today, I had an issue with manual testing of Fuel. When environment is created manually, nailgun proposes '172.16.0.x' Public network by default. This creates an issue as gateway on public networkcreated by dos.py (devops) is
virsh net-dumpxml env1_system_
<ip address=
Since 10.108.1.1 is not reachable, the deployment will fail as default gateway should be pingable ( required by pingd resource in corosync). Deployment fails as corosync brings down Public VIP and keystone is not available via public VIP.
Everytime when you create environment manually, you should keep in mind that 'bug' and change Public network to what you have on host.
I propose to externalize and save network settings somewhere in DB. Once done, devops should be modified to change this values on created master node in accordance to networks on host node. This will allow to perform manual testing without changing public network everytime.
Changed in fuel: | |
importance: | Undecided → High |
assignee: | nobody → Fuel Python Team (fuel-python) |
milestone: | none → 6.0 |
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: nailgun |
Changed in fuel: | |
importance: | High → Medium |
It is not in UI nor in CLI now but you have the following options:
1. API. You need PUT on /api/releases/x/ with changed "networks_ metadata" . Its format you can see at openstack.yaml. Unfortunately, you will not get it via GET request - it is not serialized now for output via API. It is very easy to make it serialized though (see https:/ /github. com/stackforge/ fuel-web/ blob/master/ nailgun/ nailgun/ objects/ serializers/ release. py#L22- 34).
2. Edit openstack.yaml. You can just edit corresponding values in openstack.yaml, restart nailgun and reload DB (see https:/ /github. com/stackforge/ fuel-web/ blob/master/ nailgun/ nailgun/ fixtures/ openstack. yaml#L30- 81, https:/ /github. com/stackforge/ fuel-web/ blob/master/ nailgun/ nailgun/ fixtures/ openstack. yaml#L582- 651).