check_uptodate.sh fails because host is real fqdn, not "ironic"

Bug #1282714 reported by aeva black
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Triaged
Medium
Unassigned

Bug Description

Some pep8 test runs are failing because tools/config/generate_sample.sh is placing the Jenkins' instances' real FQDN in the ironic.conf.sample file, rather than the expected default value of "ironic".

Example from
  http://logs.openstack.org/95/72495/5/check/gate-ironic-pep8/d851f54/console.html

2014-02-20 16:38:00.458 | /home/jenkins/workspace/gate-ironic-pep8$ /home/jenkins/workspace/gate-ironic-pep8/tools/config/check_uptodate.sh
2014-02-20 16:38:01.332 | --- /tmp/ironic.X2Wnte/ironic.conf.sample 2014-02-20 16:38:01.299590458 +0000
2014-02-20 16:38:01.333 | +++ etc/ironic/ironic.conf.sample 2014-02-20 16:32:23.953367470 +0000
2014-02-20 16:38:01.333 | @@ -92,7 +92,7 @@
2014-02-20 16:38:01.333 | # not necessarily a hostname, FQDN, or IP address. However,
2014-02-20 16:38:01.334 | # the node name must be valid within an AMQP key, and if using
2014-02-20 16:38:01.334 | # ZeroMQ, a valid hostname, FQDN, or IP address (string value)
2014-02-20 16:38:01.334 | -#host=bare-precise-hpcloud-az3-1470542.novalocal
2014-02-20 16:38:01.334 | +#host=ironic
2014-02-20 16:38:01.335 |
2014-02-20 16:38:01.335 |
2014-02-20 16:38:01.335 | #
2014-02-20 16:38:01.370 | check_uptodate.sh: ironic.conf.sample is not up to date.
2014-02-20 16:38:01.371 | check_uptodate.sh: Please run /home/jenkins/workspace/gate-ironic-pep8/tools/config/generate_sample.sh.
2014-02-20 16:38:01.372 | ERROR: InvocationError: '/home/jenkins/workspace/gate-ironic-pep8/tools/config/check_uptodate.sh'

aeva black (tenbrae)
Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
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.