DHCP conflict error because puppet converts admin interface mac to int

Bug #1454708 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Aleksandr Didenko
6.1.x
Fix Committed
High
Matthew Mosesohn

Bug Description

"build_id": "2015-05-12_17-03-01",
"build_number": "408",
"release_versions": {"2014.2.2-6.1": {"VERSION": {"build_id": "2015-05-12_17-03-01", "build_number": "408", "api": "1.0", "fuel-library_sha": "156fb11bbf3e12e7c73a9a3ac785c9d33d4ac343", "nailgun_sha": "042ed77ffdff22a5242ac7f8a6980836d0a5ef1a", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-6.1", "production": "docker", "python-fuelclient_sha": "af6c9c3799b9ec107bcdc6dbf035cafc034526ce", "astute_sha": "d9d488c4c675e6dd33eb68b33a79abe591b4c26f", "fuel-ostf_sha": "21afa436e725be1debadf1c207018753b537c7b3", "release": "6.1", "fuelmain_sha": "51b86bb24b27742a22b23e2ae3dfc850c47e5fbf"}}},
"auth_required": true,
"api": "1.0",
"fuel-library_sha": "156fb11bbf3e12e7c73a9a3ac785c9d33d4ac343",
"nailgun_sha": "042ed77ffdff22a5242ac7f8a6980836d0a5ef1a",
"feature_groups": ["mirantis"],
"openstack_version": "2014.2.2-6.1",
"production": "docker",
"python-fuelclient_sha": "af6c9c3799b9ec107bcdc6dbf035cafc034526ce",
"astute_sha": "d9d488c4c675e6dd33eb68b33a79abe591b4c26f",
"fuel-ostf_sha": "21afa436e725be1debadf1c207018753b537c7b3",
"release": "6.1",
"fuelmain_sha": "51b86bb24b27742a22b23e2ae3dfc850c47e5fbf"

1. Create new environment (Ubuntu)
2. Choose Neutron, GRE
3. Choose Ceph for volumes
4. Choose Ceilometer
5. Add 3 controllers, 2 computes, 2 ceph and 1 mongo
6. Start network verification. It has failed with error:

Verification failed.
Node Untitled (6d:01) discovered DHCP server via eth0 with following parameters: IP: 10.20.0.2, MAC: 08:00:27:32:56:08. This server will conflict with the installation.

[root@fuel ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:32:56:08 brd ff:ff:ff:ff:ff:ff
    inet 10.20.0.2/24 brd 10.20.0.255 scope global eth0
    inet6 fe80::a00:27ff:fe32:5608/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 08:00:27:90:e5:78 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:85:2f:6a brd ff:ff:ff:ff:ff:ff
    inet 192.168.200.15/24 brd 192.168.200.255 scope global eth2
    inet6 fe80::a00:27ff:fe85:2f6a/64 scope link
       valid_lft forever preferred_lft forever
5: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 82:cc:5d:2a:de:7d brd ff:ff:ff:ff:ff:ff
    inet 172.17.42.1/16 scope global docker0
    inet6 fe80::80cc:5dff:fe2a:de7d/64 scope link
       valid_lft forever preferred_lft forever
[root@fuel ~]# grep mac /etc/fuel/astute.yaml
  mac: 08:00:27:32:56:08

But
[root@fuel ~]# dockerctl shell nailgun grep mac /etc/nailgun/settings.yaml
  mac: "1960347"

Revision history for this message
Anastasia Palkina (apalkina) wrote :
Changed in fuel:
importance: Critical → High
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/182702

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/182702
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=afbcea1d4928e588a8858e154770cd9d031a1fc7
Submitter: Jenkins
Branch: master

commit afbcea1d4928e588a8858e154770cd9d031a1fc7
Author: Matthew Mosesohn <email address hidden>
Date: Wed May 13 17:39:43 2015 +0300

    Double-quote all strings in astute.yaml

    Puppet sometimes interprets a mac address as a
    numeric value and not a string. For this reason,
    it is necessary to enclose all values in quotes
    to avoid this issue.

    Change-Id: I68e3d558768d9f0afe7b8a60d9360cf257c92340
    Closes-Bug: #1454708

Changed in fuel:
status: In Progress → Fix Committed
no longer affects: fuel/7.0.x
no longer affects: fuel
no longer affects: fuel/7.0.x
Changed in fuel:
status: Confirmed → Fix Committed
assignee: Fuel Python Team (fuel-python) → nobody
status: Fix Committed → Invalid
assignee: nobody → Aleksandr Didenko (adidenko)
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.