OpenStack Dashboard gets 10.20.0.2 IP when assigned as default router

Bug #1391947 reported by Alexis Susset
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Aleksey Kasatkin
6.0.x
Won't Fix
Medium
Fuel Python (Deprecated)

Bug Description

When installing Fuel 6.0 with the following settings:
IP: 10.20.0.3
Default router: 10.20.0.2

and then deploy a first environment, the environment OpenStack Dashboard gets assigned 10.20.0.2 IP which conflicts with the default router.

Revision history for this message
Alexis Susset (alexis-susset) wrote :
Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
importance: Undecided → High
milestone: none → 6.0
Revision history for this message
Dima Shulyak (dshulyak) wrote :

It happened because nailgun, by mistake, always thinks that gateway for admin network is 10.20.0.1.
Your issue wont be present in current master, see exaplanation below:

It was possible because nailgun was using separate ip pool for networks, called static.
After tech-preview we merged all necessery patches to remove static pool, so nailgun will try to reuse ips
assigned by dhcp, and in case assignment by dhcp - dnsmasq will perform icmp ping, before any particular ip will be given to a node.

Though in order to eliminate possibility of incosistent state in nailgun database, we need to add several fixes:
1. Add default gateway of admin network in /etc/nailgun/settings.yaml in ADMIN_NETWORK section
2. When fixtures is uploaded add one more ip_addr database object with gateway value
   https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/fixtures/admin_network.json

Changed in fuel:
status: New → Triaged
Dima Shulyak (dshulyak)
Changed in fuel:
importance: High → Medium
milestone: 6.0 → 6.1
Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

i've installed fuel 6.0 in virtual machine. i've change manually the ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
NM_CONTROLLED=no
HWADDR=00:0C:29:73:9E:63
USERCTL=no
PEERDNS=no
BOOTPROTO=dhcp

manage to get the if but i cant login to FUEL UI. any other configuration related to IP 10.20.0.2 ?

Dmitry Pyzhov (dpyzhov)
tags: added: module-networks
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Aleksey Kasatkin (alekseyk-ru)
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

We need to verify if it applicable to 6.1

Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

It is not relevant for 6.1 as gateway for admin network is now set in fuel-menu, propagated into /etc/nailgun/settings.yaml and loaded into nailgun DB.

Changed in fuel:
status: Triaged → Invalid
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

It should work well for 6.0 environments after upgrade to Fuel 6.1 also.

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.