Periodic disappearance of default route. Can't save configuration and quit from fuelmenu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Georgy Kibardin | ||
8.0.x |
Confirmed
|
High
|
Fuel Python (Deprecated) |
Bug Description
Summary:
Manual installation fuel-master node.
Periodic disappearance of default route received via DHCP on eth1 interface in fuelmenu on first node boot.
Version: Fuel 8.0 build 545
[root@fuel log]# cat /etc/fuel/
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "545"
build_id: "545"
fuel-nailgun_sha: "baec8643ca624e
python-
fuel-agent_sha: "658be72c4b42d3
fuel-
astute_sha: "b81577a5b7857c
fuel-library_sha: "e2d79330d5d708
fuel-ostf_sha: "3bc76a63a9e7d1
fuel-mirror_sha: "fb45b80d7bee58
fuelmenu_sha: "78ffc73065a967
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "87dfb6bc25d465
Steps to reproduce:
1. Start Fuel installation from ISO image
2. After CentOS installation complete and the fuel node reboot first time wait until fuelmenu apply default setting and press any key for run fuelmenu
3. Choice "Network Setup"
4. Select:
- Interface: eth1
- Enable interface: Yes
- Configuration via DHCP: Yes
5. Don't change any other option. All other settings filled by default values.
6. Press "Apply" button.
Expected result:
Get values "IP address", "Netmask" and "Default Gateway" from DHCP server located in eth1 network and fill fields in "Network Setup" menu.
Interface "eth1" configured with IP and netmask. Default route set to eth1 via "Default Gateway".
Actual result:
"IP address" and "Netmask" fields has correct values in "Network Setup" menu.
"Default Gateway" field still empty.
Interface "eth1" configured with correct IP and netmask. Default route still set to eth0 via default "10.20.0.1".
Continue steps to reproduce:
7. Don't change any options and press "Apply button" again.
Expected result:
The same.
Actual result:
"IP address" and "Netmask" fields has correct values in "Network Setup" menu.
"Default Gateway" has correct value too.
Interface "eth1" configured with correct IP and netmask. Default route set to eth1 via correct IP address.
Route table has 2 default routes:
[root@fuel ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.18.201.1 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 10.20.0.1 0.0.0.0 UG 100 0 0 eth0
10.20.0.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1
172.18.201.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
Continue steps to reproduce:
8. Don't change any options and press "Apply button" again.
Expected result:
The same.
Actual result:
The result is the same as after step #6.
Workaround:
After step #6 exit to shell via "Shell login" menu.
Comment out "GATEWAY" in /etc/sysconfig/
Run "ifdown eth0 ; ifdown eth1 ; ifup eth0 ; ifup eth1"
Exit from "Shell login" and navigate to "Network Setup" menu. All fileds has correct values and they doesn't change after pressing "Apply" button many times.
IMPORTANT DETAILS:
I.e. after each second pressign "Apply" button we don't have correct default route.
This bug doesn't allow save configuration and quit from fuelmenu normally if press "Save and Quit" or "Save and Continue" after step #7. We got message "Checking data..." and wait about 3-5 minutes. After this we got error message "URL for repository ubuntu is not accessible".
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
importance: | Undecided → Medium |
importance: | Medium → High |
status: | New → Confirmed |
milestone: | none → 9.0 |
tags: | added: area-python module-networks |
tags: | added: team-network |
tags: |
added: module-fuelmenu removed: team-network |
tags: | removed: module-networks |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Georgy Kibardin (gkibardin) |
status: | Confirmed → In Progress |
Changed in fuel: | |
status: | In Progress → Fix Released |
Changed in fuel: | |
status: | Fix Committed → In Progress |
Changed in fuel: | |
status: | Fix Committed → In Progress |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
I could reproduce 6 and 7, but not 8. The "Save and Quit" behaviour is also not reproducible on current master.