router fails with ipv4 management network

Bug #1529671 reported by Phil Hopkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Astara
Fix Released
Undecided
Unassigned

Bug Description

If I try to create a router when using an IPv4 subnet for the management network:
root@controller:~# neutron net-list
+--------------------------------------+------------+-------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+------------+-------------------------------------------------------+
| 268c8c39-34a0-4646-b04b-31d960671ae2 | private | 2f8098ba-d89a-4389-a2b2-0757f59e9be1 10.2.0.0/28 |
| 4e31acf3-022e-4cf5-8e3f-67c8293ce1b8 | management | b8752f6d-bd44-4efc-8deb-e6520aff1c1c 192.168.100.0/24 |
| 64921ce6-f49e-49b2-9955-4f021c1d5e18 | public | 03403417-5f6f-484d-bd3c-1d741f1556ca 172.16.0.0/24 |
+--------------------------------------+------------+-------------------------------------------------------+

The boot command for the router VM is wrongly created:
bootcmd:
  - /usr/local/bin/astara-configure-management fa:16:3e:fd:00:5c 192.168.100.13/64

The above line is created using a /64 which in not possible for an IPv4 address. The following lines are from /etc/astara/orchestrator.ini and show that the management sub-network was created as a IPv4 subnetwork.

management_network_id=4e31acf3-022e-4cf5-8e3f-67c8293ce1b8
management_subnet_id=b8752f6d-bd44-4efc-8deb-e6520aff1c1c
management_prefix=192.168.100.0/24
fixed_ips=268c8c39-34a0-4646-b04b-31d960671ae2

Changed in astara:
assignee: nobody → j_king (james-agentultra)
Changed in astara:
status: New → In Progress
Revision history for this message
j_king (james-agentultra) wrote :
Changed in astara:
status: In Progress → Fix Released
assignee: j_king (james-agentultra) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.