Can't change IP-address of installed master-node with Fuel-menu

Bug #1303678 reported by Alexander Rubtsov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Wishlist
Matthew Mosesohn

Bug Description

Release: Mirantis OpenStack 4.1

Steps to reproduce
1. Install master-node with default settings (IP - 10.20.0.2/24; Gateway: 10.20.0.1)
2. Launch bootstrap_admin_node.sh, change IP-addressing (Masternode IP: 192.168.25.2/24; Gateway: 192.168.25.1)
3. Boot slave node from PXE

Expected behavior
1. New IP-address has appeared in configuration files
2. Slave nodes are able to boot in bootstrap mode
3. Bootstraped nodes are discovered in the UI

Actual behavior
1. Old IP-address is kept in configuration files. For example:
- /etc/cobbler/dnsmasq.template
- /etc/cobbler/settings
- /etc/dnsmasq.conf
2. Slaves can't boot from PXE (Unable to find DHCP/TFTP server)

After manual change IP-address in /etc/cobbler/dnsmasq.template, /etc/cobbler/settings and launch "cobbler sync":
Nodes are able to boot in bootstrap mode, but they aren't discovered in the UI.
Also, there are old IP-address in configuration files on bootstrap node. For example:
- /etc/ntp.conf
- /etc/send2syslog.conf
- /etc/mcollective/server.cfg

Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Matthew Mosesohn (raytrac3r)
milestone: none → 5.0
Changed in fuel:
status: New → Confirmed
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

This is not a bug. This is expected behavior. You must drop the postgres DB and rerun bootstrap_admin_node if you change the IP address of the system on the admin interface. All of the parameters are applied in nailgun backend and cobbler when bootstrap_admin_node (puppet apply) gets run.

Changed in fuel:
importance: Medium → Wishlist
status: Confirmed → Invalid
Revision history for this message
TorstenSchlabach (tschlabach) wrote :

How would I drop the Postres DB?

I guess I'd need some connect parameters? Will I find them anywhere on the installed machine?

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.