Invalid IPADDR value in ifcfg-eth0

Bug #1523805 reported by Dmitry Bilunov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Dmitry Teselkin

Bug Description

Admin node has an invalid IP in the network configuration file.

[root@nailgun ~]# grep '^IPADDR' /etc/sysconfig/network-scripts/ifcfg-eth0
IPADDR=10.109.30.2::10.109.30.1:255.255.255.0:nailgun.test.domain.local:enp0s3:off:::
[root@nailgun ~]# grep '^BOOT' /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO=static

ifup eth0 does not work; I suppose it should be IPADDR=10.109.30.2:

[root@nailgun ~]# ifup eth0
ipcalc: bad IPv6 address: 10.109.30.2::10.109.30.1:255.255.255.0:nailgun.test.domain.local:enp0s3:off:::
ipcalc: netmask or prefix expected
Usage: ipcalc [OPTION...]
  -c, --check Validate IP address for specified address family
  -4, --ipv4 IPv4 address family (default)
  -6, --ipv6 IPv6 address family
  -b, --broadcast Display calculated broadcast address
  -h, --hostname Show hostname determined via DNS
  -m, --netmask Display default netmask for IP (class A, B, or C)
  -n, --network Display network address
  -p, --prefix Display network prefix
  -s, --silent Don't ever display error messages

Help options:
  -?, --help Show this help message
  --usage Display brief usage message
ipcalc: netmask or prefix expected
Usage: ipcalc [OPTION...]
  -c, --check Validate IP address for specified address family
  -4, --ipv4 IPv4 address family (default)
  -6, --ipv6 IPv6 address family
  -b, --broadcast Display calculated broadcast address
  -h, --hostname Show hostname determined via DNS
  -m, --netmask Display default netmask for IP (class A, B, or C)
  -n, --network Display network address
  -p, --prefix Display network prefix
  -s, --silent Don't ever display error messages

Help options:
  -?, --help Show this help message
  --usage Display brief usage message
ipcalc: netmask or prefix expected
Usage: ipcalc [OPTION...]
  -c, --check Validate IP address for specified address family
  -4, --ipv4 IPv4 address family (default)
  -6, --ipv6 IPv6 address family
  -b, --broadcast Display calculated broadcast address
  -h, --hostname Show hostname determined via DNS
  -m, --netmask Display default netmask for IP (class A, B, or C)
  -n, --network Display network address
  -p, --prefix Display network prefix
  -s, --silent Don't ever display error messages

Help options:
  -?, --help Show this help message
  --usage Display brief usage message
Determining if ip address 10.109.30.2::10.109.30.1:255.255.255.0:nailgun.test.domain.local:enp0s3:off::: is already in use for device eth0...
arping: unknown host 10.109.30.2::10.109.30.1:255.255.255.0:nailgun.test.domain.local:enp0s3:off:::
Error, some other host already uses address 10.109.30.2::10.109.30.1:255.255.255.0:nailgun.test.domain.local:enp0s3:off:::.
[root@nailgun ~]# cat /etc/fuel_release
8.0
[root@nailgun ~]# cat /etc/centos-release
CentOS release 6.6 (Final)

Failed test: http://jenkins-product.srt.mirantis.net:8080/job/8.0.custom.ubuntu.bvt_2/381/
You can reproduce the problem at srv82-bud.infra.mirantis.net using /home/jenkins/venv-nailgun-tests-2.9/bin/python /home/
jenkins/venv-nailgun-tests-2.9/bin/dos.py revert-resume 8.0.custom.ubuntu.bvt_2.381.2015-12-08_07-13-07 error_setup_mas
ter

Tags: area-linux
Changed in fuel:
assignee: nobody → Ivan Suzdal (isuzdal)
Revision history for this message
Ivan Suzdal (isuzdal) wrote :

Take a look here https://review.openstack.org/#/c/247667/
In cm you can find 'Breaks: centos6'

Changed in fuel:
assignee: Ivan Suzdal (isuzdal) → Dmitry Teselkin (teselkin-d)
Changed in fuel:
milestone: none → 8.0
status: New → Confirmed
importance: Undecided → Medium
Dmitry Pyzhov (dpyzhov)
tags: added: area-linux
Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :

This isn't supposed to work on CentOS6:
---
[root@nailgun ~]# cat /etc/centos-release
CentOS release 6.6 (Final)
---

Changed in fuel:
status: Confirmed → Invalid
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.