← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1205411] Re: config.generator yields incorrect output when the system hostname == a default value

 

** Changed in: oslo
       Status: Fix Committed => Fix Released

** Changed in: oslo
    Milestone: None => havana-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1205411

Title:
  config.generator yields incorrect output when the system hostname == a
  default value

Status in OpenStack Compute (Nova):
  Fix Released
Status in Oslo - a Library of Common OpenStack Code:
  Fix Released

Bug description:
  I found this in Nova, but I think it would apply in general.

  This:

  bnemec@openstack:/opt/stack/nova$ tools/config/generate_sample.sh -b .
  -p nova -o etc/nova

  Results in this for me:

  -#control_exchange=openstack
  +#control_exchange=nova

  Which breaks Jenkins.  This is because the system hostname is
  openstack and the _sanitize_default function replaces all instances of
  the hostname with, in this case, 'nova'.  I have an idea as to how to
  fix this and will push a patch shortly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1205411/+subscriptions