Deployment with external load balancer failed on haproxy deployment - Cannot create /var/lib/astute/haproxy; parent directory /var/lib/astute does not exist

Bug #1591097 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Plugins
Fix Committed
Undecided
Aleksandr Didenko

Bug Description

fuel iso - 9.0-mos-465

Steps:
1. Create environment using fuel-qa scripts with next devops template - http://paste.openstack.org/show/497189/
2. Install next plugins:
https://github.com/openstack/fuel-plugin-external-lb
https://github.com/openstack/fuel-plugin-detach-haproxy
3. Create cluster and enable both plugins
4. Add 2 controllers from rack-01, add 1 controller from rack-02, 1 compute+cinder node from rack-01, 1 compute+cinder node from rack-02, add standalone-haproxy node from rack-03
5. Click deploy changes

Expected - cluster is deployed
Actual - deployment failed with error
2016-06-10 00:43:01 ERR Cannot create /var/lib/astute/haproxy; parent directory /var/lib/astute does not exist

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
tags: added: area-library
Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: nobody → Aleksandr Didenko (adidenko)
Revision history for this message
Aleksandr Didenko (adidenko) wrote :

For some reason "copy_keys" task was not executed for standalone-haproxy node (uid=6), despite the fact that it has a wildcard in "role" parameter:

https://github.com/openstack/fuel-library/blob/stable/mitaka/deployment/puppet/osnailyfacter/modular/astute/tasks.yaml#L165-L168

Forwarding to astute.

Changed in fuel:
assignee: Aleksandr Didenko (adidenko) → Vladimir Sharshov (vsharshov)
tags: added: area-astute
removed: area-library
tags: added: module-astute
removed: area-astute
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

The issue here is simple. The deployment fails on ssl-keys-saving task which runs too early as it relies only on firewall task and this task is not included into standalone haproxy role. Bouncing back to @adidenko

Changed in fuel:
assignee: Vladimir Sharshov (vsharshov) → Aleksandr Didenko (adidenko)
Revision history for this message
Aleksandr Didenko (adidenko) wrote :
Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
Aleksandr Didenko (adidenko) wrote :

Moving to fuel-plugins

Changed in fuel-plugins:
assignee: nobody → Aleksandr Didenko (adidenko)
no longer affects: fuel/mitaka
no longer affects: fuel
Changed in fuel-plugins:
status: New → Fix Committed
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.