error 400 on controller without haproxy icehouse

Bug #1340999 reported by Nicolas Hicher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-neutron
Fix Released
Medium
Emilien Macchi

Bug Description

On a controller without haproxy, I have this puppet error :

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find resource 'Package[haproxy]' for relationship on 'Package[neutron-lbaas-agent]' on node os-controller01

I have to comment "case $device_driver" to puppetize my host on manifests/agents/lbaas.pp

description: updated
Revision history for this message
Emilien Macchi (emilienm) wrote :

Could you detail how you call the neutron::agents::lbaas class and the parameters?

It's sounds like a wrong dependency in the class.
Thanks

Revision history for this message
Nicolas Hicher (nicolas-hicher-k) wrote :

I set "manage_haproxy_package = false" and call the class with defaults parameters.

Changed in puppet-neutron:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-neutron (master)

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

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

Reviewed: https://review.openstack.org/106839
Committed: https://git.openstack.org/cgit/stackforge/puppet-neutron/commit/?id=8d488fb2961615c0d3974390a485295d2e4216cf
Submitter: Jenkins
Branch: master

commit 8d488fb2961615c0d3974390a485295d2e4216cf
Author: Emilien Macchi <email address hidden>
Date: Mon Jul 14 20:41:23 2014 +0200

    agent/lbaas: fix HAproxy package relationship

    This patch fix this case:
    - manage_haproxy_package is set to false
    - puppetlabs-haproxy is not running
    - we still want Neutron LBaaS working on the node
    - we don't want at all the package managed by Puppet

    Only set the dependency if the package is defined in the catalog.

    Closes-bug #1340999
    Signed-off-by: Emilien Macchi <email address hidden>
    Change-Id: Iee2211db8add4dfafba70706d69d1092339c6206

Changed in puppet-neutron:
status: In Progress → Fix Committed
Mathieu Gagné (mgagne)
Changed in puppet-neutron:
milestone: none → 5.0.0
status: Fix Committed → Fix Released
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.