[Task-based] Apache should be configured before keystone on primary-controller

Bug #1547625 reported by Alexey Shtokolov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexey Shtokolov
8.0.x
In Progress
High
MOS Maintenance

Bug Description

Task apache has no required_for: primary-keystone.

9.0-mitaka build_id 14

tags: added: area-library
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
assignee: Alexey Shtokolov (ashtokolov) → Vladimir Kuklin (vkuklin)
Changed in fuel:
assignee: Vladimir Kuklin (vkuklin) → Alexey Shtokolov (ashtokolov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/282455
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=09c1d0da498a10f42bb8beea44a24ca904c03b70
Submitter: Jenkins
Branch: master

commit 09c1d0da498a10f42bb8beea44a24ca904c03b70
Author: Alexey Shtokolov <email address hidden>
Date: Fri Feb 19 21:36:56 2016 +0300

    Add missed "primary-keystone" interal dependencies

    For openstack-cinder and apache task there was no
    primary-keystone task in requirements

    Change-Id: I7942c47e07e695923ee13b72bf71b35bdecf0ca1
    Closes-Bug:#1547625

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/298146

Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

At 9.0 the fix is working correctly:
apache task from astute:
{"parameters"=>
  {"debug"=>true,
   "puppet_modules"=>"/etc/puppet/modules",
   "puppet_manifest"=>
    "/etc/puppet/modules/osnailyfacter/modular/apache/apache.pp",
   "timeout"=>1200,
   "cwd"=>"/"},
 "requires"=>[{"node_id"=>"6", "name"=>"netconfig"}],
 "id"=>"apache",
 "fail_on_error"=>true,
 "required_for"=>[{"node_id"=>"6", "name"=>"primary-keystone"}],
 "type"=>"puppet"},

version of 9.0 iso:
[root@nailgun ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 363
cat /etc/fuel_build_number:
 363
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0

From puppet log on primary controller apache has been configured and started before keystone:
2016-05-26 15:19:33 +0000 Puppet (debug): Executing '/usr/sbin/service apache2 start'
2016-05-26 15:21:50 +0000 Haproxy_backend_status[keystone-admin](provider=haproxy) (debug): Waiting for HAProxy backend: 'keystone-2' to change its status to: 'up'

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/8.0)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: stable/8.0
Review: https://review.opendev.org/298146
Reason: This repo is retired now, no further work will get merged.

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.