nailgun_syncdb does not re-ran on subsequent runs

Bug #1613874 reported by Ilya Kharin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Ilya Kharin
Mitaka
Fix Released
High
Ilya Kharin

Bug Description

The nailgun_syncdb exec resource marked as `refreshonly=True` and it make impossible to re-run puppet tasks on the Fuel Master node to perform database migrations script if the settings.yaml configuration file was not update.

Steps to reproduce:
 1. Install brand new 9.0
 2. Update fuel-nailgun package that contains additional database migration scripts
 3. Execute the nailgun puppet task

Expected results:
 Database migration scripts are applied successfully.

Actual result:
 nailgun_syncdb was not refreshed

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/356126

Ilya Kharin (akscram)
Changed in fuel:
milestone: none → 9.1
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Ilya Kharin (akscram)
Changed in fuel:
milestone: 9.1 → 10.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/356126
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=71cbc777e200e4c8b932a688e9d79004b986f4b2
Submitter: Jenkins
Branch: stable/mitaka

commit 71cbc777e200e4c8b932a688e9d79004b986f4b2
Author: Ilya Kharin <email address hidden>
Date: Tue Aug 16 23:43:29 2016 +0300

    Make nailgun_syncdb not refreshonly

    The `nailgun_syncdb` command is idempotent and have to be ran even
    settings.yaml was not modified.

    Change-Id: I20074be281d7f7c8100f31fecddeb925bacca38f
    Closes-Bug: #1613874

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/356570

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

Reviewed: https://review.openstack.org/356570
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=7da07bfa095cf266a8b9224ac675bd73f6f3a98c
Submitter: Jenkins
Branch: master

commit 7da07bfa095cf266a8b9224ac675bd73f6f3a98c
Author: Ilya Kharin <email address hidden>
Date: Tue Aug 16 23:43:29 2016 +0300

    Make nailgun_syncdb not refreshonly

    The `nailgun_syncdb` command is idempotent and have to be ran even
    settings.yaml was not modified.

    Change-Id: I20074be281d7f7c8100f31fecddeb925bacca38f
    Closes-Bug: #1613874
    (cherry picked from commit 71cbc777e200e4c8b932a688e9d79004b986f4b2)

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Vladimir Khlyunev (vkhlyunev) wrote :

snapshot 240 - sequence of restores works, if first is failed - try again (c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0rc1

This issue was fixed in the openstack/fuel-library 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0

This issue was fixed in the openstack/fuel-library 10.0.0 release.

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.