Add regression tests for swift ring rebalance and pretend_min_part_hours_passed execs

Bug #1402738 reported by Aleksandr Didenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Aleksandr Didenko
5.1.x
Fix Committed
Medium
Aleksandr Didenko
6.0.x
Fix Committed
Medium
Aleksandr Didenko

Bug Description

https://bugs.launchpad.net/fuel/+bug/1402701

we need to test that primary controller runs pretend_min_part_hours_passed exec before ring rebalance exec.

Tags: non-release
no longer affects: fuel/6.1.x
Changed in fuel:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-library (stable/6.0)

Related fix proposed to branch: stable/6.0
Review: https://review.openstack.org/145813

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

Related fix proposed to branch: stable/5.1
Review: https://review.openstack.org/145815

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Aleksandr Didenko (<email address hidden>) on branch: master
Review: https://review.openstack.org/141022
Reason: Superseded by https://review.openstack.org/153198

Revision history for this message
Ryan Moe (rmoe) wrote :

Medium priority bugs are not backported to stable releases.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/145815
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=8563820ffaa5fe36b0a6229668a4d4de5af10ab5
Submitter: Jenkins
Branch: stable/5.1

commit 8563820ffaa5fe36b0a6229668a4d4de5af10ab5
Author: Aleksandr Didenko <email address hidden>
Date: Thu Dec 11 12:26:44 2014 +0200

    Run noop testing via rake spec

    We can run noop tests via 'rake spec'. This will allow us to:

      - Make sure that catalog compiles and there are no dependency
        cycles in the graph.
      - Use RSpec tests to check that needed puppet resources present
        in the catalog for specific astute.yaml configuration.

    In order to test just execute these commands:
      export WORKSPACE=/tmp/fuel_noop_tests
      mkdir -p $WORKSPACE
      ./utils/jenkins/fuel_noop_tests.sh

    If you also want to store puppet logs in case of catalog
    compilation errors, please set PUPPET_LOGS_DIR env variable:
      export PUPPET_LOGS_DIR=/tmp/puppet_error_logs

    Related-bug: #1402738
    Implement blueprint deployment-dryrun

    Fuel CI temporarily disabled since this change does not affect
    MOS deplyoment process, only CI itself.

    Fuel-CI: disable
    Change-Id: I5a3b569e86d8838d5c20b590cc6cc106fb2242a7

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (stable/6.0)

Reviewed: https://review.openstack.org/145813
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=1274f3832d12d8d8fb35eb87d664acaeb6440cc7
Submitter: Jenkins
Branch: stable/6.0

commit 1274f3832d12d8d8fb35eb87d664acaeb6440cc7
Author: Aleksandr Didenko <email address hidden>
Date: Thu Dec 11 12:26:44 2014 +0200

    Run noop testing via rake spec

    We can run noop tests via 'rake spec'. This will allow us to:

      - Make sure that catalog compiles and there are no dependency
        cycles in the graph.
      - Use RSpec tests to check that needed puppet resources present
        in the catalog for specific astute.yaml configuration.

    In order to test just execute these commands:
      export WORKSPACE=/tmp/fuel_noop_tests
      mkdir -p $WORKSPACE
      ./utils/jenkins/fuel_noop_tests.sh

    If you also want to store puppet logs in case of catalog
    compilation errors, please set PUPPET_LOGS_DIR env variable:
      export PUPPET_LOGS_DIR=/tmp/puppet_error_logs

    Related-bug: #1402738
    Implement blueprint deployment-dryrun

    Fuel CI temporarily disabled since this change does not affect
    MOS deplyoment process, only CI itself.

    Fuel-CI: disable
    Change-Id: I5a3b569e86d8838d5c20b590cc6cc106fb2242a7

Changed in fuel:
importance: Medium → High
Changed in fuel:
status: Confirmed → In Progress
tags: added: non-release
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/153198
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=dc8edb6e66d8a76e70fb92732924575258ba910c
Submitter: Jenkins
Branch: master

commit dc8edb6e66d8a76e70fb92732924575258ba910c
Author: Aleksandr Didenko <email address hidden>
Date: Thu Dec 11 12:26:44 2014 +0200

    Modular noop tests

    We can run noop tests via 'rake spec'. This will allow us to:

      - Make sure that catalog compiles and there are no dependency
        cycles in the graph.
      - Use RSpec tests to check that needed puppet resources present
        in the catalog for specific astute.yaml configuration.

    In order to test just execute these commands:
      export WORKSPACE=/tmp/fuel_noop_tests
      mkdir -p $WORKSPACE
      ./utils/jenkins/fuel_noop_tests.sh

    It iterates over astsute.yaml files and runs rspec tests for puppet
    tasks configured in the astute.yaml for the node.

    In order to run specific test and/or specific astute.yaml, you can
    set appropriate env variables. For example:
      export NOOP_TEST="keystone/*"
      export NOOP_YAMLS="tests/noop/astute.yaml/novanet_flat.primary-controller.yaml"
      ./utils/jenkins/fuel_noop_tests.sh

    If you also want to store puppet logs in case of errors, please set
    PUPPET_LOGS_DIR env variable:
      export PUPPET_LOGS_DIR=/tmp/puppet_error_logs

    If you want to store all the delcarated File and Package resources,
    please set NOOP_SAVE_RESOURCES_DIR env variable:
      export NOOP_SAVE_RESOURCES_DIR=/tmp/puppet_resources

    Related-bug: #1402738
    Implement blueprint deployment-dryrun

    Fuel CI temporarily disabled since this change does not affect
    MOS deplyoment process, only CI itself.

    Fuel-CI: disable

    Change-Id: I38b23832d1e8701440aacb300256f513c466c762

Changed in fuel:
status: In Progress → 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.