[juno] Dhcpcheck error application

Bug #1377174 reported by Nastya Urlapova
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Dima Shulyak

Bug Description

{
build_id: "2014-10-03_14-23-47",
ostf_sha: "f238ecaef0cad7d31aca7e6af2f2523d8fcdc9e7",
build_number: "416",
auth_required: true,
api: "1.0",
nailgun_sha: "91a20876ad95533eeeaaaae25febf3f6f5cf530c",
production: "docker",
fuelmain_sha: "4679c121cce485f4f9393f9bea08f4fb39a4b49d",
astute_sha: "65a5a0781d314bdcc090a61a599a8abf95989fc1",
feature_groups: [
"mirantis"
],
release: "6.0",
release_versions: {
2014.2-6.0: {
VERSION: {
build_id: "2014-10-03_14-23-47",
ostf_sha: "f238ecaef0cad7d31aca7e6af2f2523d8fcdc9e7",
build_number: "416",
api: "1.0",
nailgun_sha: "91a20876ad95533eeeaaaae25febf3f6f5cf530c",
production: "docker",
fuelmain_sha: "4679c121cce485f4f9393f9bea08f4fb39a4b49d",
astute_sha: "65a5a0781d314bdcc090a61a599a8abf95989fc1",
feature_groups: [
"mirantis"
],
release: "6.0",
fuellib_sha: "16a575dac9b6d4a9d032cf92f057b631162e2306"
}
}
},
fuellib_sha: "16a575dac9b6d4a9d032cf92f057b631162e2306"
}

on master node
>>>
dhcpcheck discover --ifaces eth0 --repeat 3 --timeout 10

2014-10-03 13:08:40 ERROR (app)

Tags: juno
Changed in fuel:
milestone: none → 6.0
assignee: nobody → Dima Shulyak (dshulyak)
Revision history for this message
Dima Shulyak (dshulyak) wrote :

Sorry for misleading log. But it actually appears when there is no dhcp servers found.
Have you checked that dhcrelay/cobbler container/dnsmasq service is up and running?

Changed in fuel:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Name Image Status Full container name
nginx fuel/nginx_6.0 Running fuel-core-6.0-nginx
rabbitmq fuel/rabbitmq_6.0 Running fuel-core-6.0-rabbitmq
astute fuel/astute_6.0 Running fuel-core-6.0-astute
rsync fuel/rsync_6.0 Running fuel-core-6.0-rsync
keystone fuel/keystone_6.0 Running fuel-core-6.0-keystone
postgres fuel/postgres_6.0 Running fuel-core-6.0-postgres
rsyslog fuel/rsyslog_6.0 Running fuel-core-6.0-rsyslog
nailgun fuel/nailgun_6.0 Running fuel-core-6.0-nailgun
cobbler fuel/cobbler_6.0 Running fuel-core-6.0-cobbler
ostf fuel/ostf_6.0 Running fuel-core-6.0-ostf
mcollective fuel/mcollective_6.0 Running fuel-core-6.0-mcollective

Changed in fuel:
importance: Low → Medium
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

in fuelmenu check for dhcp works fine.

Changed in fuel:
status: Incomplete → Confirmed
Changed in fuel:
importance: Medium → Critical
Revision history for this message
Dima Shulyak (dshulyak) wrote :

Issue appears using host networking for docker containers.
I tried to play with dhcp options/different mac address for DHCP Discover packet,
but i can not manage to receive replies from dhcp server.

Revision history for this message
Dima Shulyak (dshulyak) wrote :

Dhcrelay check is disabled, so it is not a blocker for moving to juno

Changed in fuel:
importance: Critical → Medium
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/136988

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/136988
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=936d3e23eb1bc17078fe2b2930575361a6c76919
Submitter: Jenkins
Branch: master

commit 936d3e23eb1bc17078fe2b2930575361a6c76919
Author: Dima Shulyak <email address hidden>
Date: Tue Nov 25 10:19:40 2014 +0200

    Always print empty table if nothing is found by dhcpchecker

    Printing nothing leads to false conclusions that dhcpchecker
    failed to execute command. Printing empty table when there is
    no dhcp servers found should be much more user friendly

    Change-Id: I99041375fd1a052a796efcba530880a5149733b8
    Closes-Bug: 1377174

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

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

commit f5c8de355e63729da4bb2b759fb7f91aafddf62b
Author: Dima Shulyak <email address hidden>
Date: Thu Nov 27 21:31:33 2014 +0200

    Order of dhcp columns should be preserved

    It was possible to lose correct order of values
    in dhcp answer.

    Change-Id: I3e4458d793e681670bcd142d3ec2bfc8cbcec4bb
    Related-Bug: 1377174

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.