One of VMs didn't obtain IP address during deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Low
|
Andrey Danin |
Bug Description
Env used:
- Windows 7 PC, VirtualBox, fuel 4.0 159 img
Steps to reproduce:
- Install Fuel, 1 compute, 1 controller, deployed 3 additional services (Savanna, Murano, Ceilometer), used Centos deployment, Neutron with VLAN
- CentOS was installed successfully at the controller, but installation of Centos to compute node freezed at the very end.
Investigation showed that it didn't receive an IP address. After running dhclient deployment continued.
The problem occured while Anaconda was trying to set up an Admin IP interface statically. Here is a point of failure: https:/
An array NETADDR did not contatin any values in spite of ADMIN_IF was 'eth0'. Here is a part of Anakonda's ks-post.log with error:
# Configure static IP address for admin interface
#!/bin/bash
DEFAULT_
+ DEFAULT_
ADMIN_IF=$(sed 's/\ /\n/g' /proc/cmdline | grep choose_interface | awk -F\= '{print $2}')
sed 's/\ /\n/g' /proc/cmdline | grep choose_interface | awk -F\= '{print $2}')
sed 's/\ /\n/g' /proc/cmdline | grep choose_interface | awk -F\= '{print $2}'
++ grep choose_interface
++ awk -F= '{print $2}'
++ sed 's/\ /\n/g' /proc/cmdline
+ ADMIN_IF=eth0
NETADDR=( $(ifconfig $ADMIN_IF | grep -oP "[0-9]{
+ NETADDR=($(ifconfig $ADMIN_IF | grep -oP "[0-9]{
ifconfig $ADMIN_IF | grep -oP "[0-9]{
ifconfig $ADMIN_IF | grep -oP "[0-9]{
ifconfig $ADMIN_IF | grep -oP "[0-9]{
++ grep -oP '[0-9]{
++ ifconfig eth0
echo -e "# FROM COBBLER SNIPPET\
+ echo -e '# FROM COBBLER SNIPPET\
As you can see no values was set for IPADDR and NETMASK fields.
It was because a kernel had another order of interfaces during Anaconda stage.
Changed in fuel: | |
assignee: | nobody → Andrey Danin (gcon-monolake) |
milestone: | none → 4.0 |
Changed in fuel: | |
importance: | Undecided → Low |
tags: | added: cobbler |
tags: | added: library |
description: | updated |
Changed in fuel: | |
status: | New → Confirmed |
milestone: | 4.0 → 4.1 |
Changed in fuel: | |
status: | Confirmed → Triaged |
description: | updated |
Reproducible for fuel-4.1-34 with simple setup with three CentOS nodes.