[ostf] disk space allocation for databases test fails on AttributeError

Bug #1443826 reported by Gil Meir
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Sebastian Kalinowski

Bug Description

Relevant test:
Check: disk space allocation for databases on controller nodes

Traceback:
(nose_storage_plugin) fuel_health.tests.cloudvalidation.test_disk_space_db.DBSpaceTest.test_db_expectation_free_space
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/unittest2/case.py", line 340, in run
    testMethod()
  File "/usr/lib/python2.6/site-packages/fuel_health/tests/cloudvalidation/test_disk_space_db.py", line 55, in test_db_expectation_free_space
    "by database on node(s): {hosts}"
AttributeError: 'tuple' object has no attribute 'format'

build info:
{"build_id": "2015-04-12_12-50-24", "ostf_sha": "c2a76a60ec4ebbd78e508216c2e12787bf25e423", "build_number": "307", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-04-12_12-50-24", "ostf_sha": "c2a76a60ec4ebbd78e508216c2e12787bf25e423", "build_number": "307", "api": "1.0", "nailgun_sha": "d4bef41e2e54a9415b8e3d5b572f9046010547a4", "openstack_version": "2014.2-6.1", "production": "docker", "python-fuelclient_sha": "9208ff4a08dcb674ce2df132399a5aa3ddfac21c", "astute_sha": "d96a80b63198a578b2c159edbd76048819039eb0", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "8daac234aea6ac0a98f27871deec039f74f6fdab", "fuellib_sha": "867028fe78837dc2e4635a2cbb976782856964d0"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "d4bef41e2e54a9415b8e3d5b572f9046010547a4", "openstack_version": "2014.2-6.1", "production": "docker", "python-fuelclient_sha": "9208ff4a08dcb674ce2df132399a5aa3ddfac21c", "astute_sha": "d96a80b63198a578b2c159edbd76048819039eb0", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "8daac234aea6ac0a98f27871deec039f74f6fdab", "fuellib_sha": "867028fe78837dc2e4635a2cbb976782856964d0"}

Revision history for this message
Gil Meir (gilmeir-d) wrote :
Revision history for this message
Sebastian Kalinowski (prmtl) wrote :
Changed in fuel:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Fuel QA Team (fuel-qa)
milestone: none → 6.1
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

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

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Sebastian Kalinowski (prmtl)
status: Triaged → In Progress
Revision history for this message
Gil Meir (gilmeir-d) wrote :

Please note there is another bug on this test: https://bugs.launchpad.net/fuel/+bug/1443420
so the test won't pass using this fix only

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/173809
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=09059f57932050cbd509368bf9cb501056c5dbbf
Submitter: Jenkins
Branch: master

commit 09059f57932050cbd509368bf9cb501056c5dbbf
Author: Sebastian Kalinowski <email address hidden>
Date: Wed Apr 15 14:59:38 2015 +0200

    Fix multiline string in test_disk_space_db.py

    There was unnecessary coma in mutliline string that was
    causing an error during string formating.

    Change-Id: Ib0a6e12b4511feca5edcedd7a555c13c2428f5dc
    Closes-Bug: #1443826

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #329

"build_id": "2015-04-20_22-54-31", "ostf_sha": "df8db1f48f03b18126ce5ec65317a1eb83a5a95f", "build_number": "329", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-04-20_22-54-31", "ostf_sha": "df8db1f48f03b18126ce5ec65317a1eb83a5a95f", "build_number": "329", "api": "1.0", "nailgun_sha": "69fca3bada96a48ab19b969621e5128390b7052e", "openstack_version": "2014.2-6.1", "production": "docker", "python-fuelclient_sha": "b4f1ddffd5263489090b65e662173e9e11aafd94", "astute_sha": "bf1751a4fe0d912325e3b4af629126a59c1b2b51", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "0c0e299dcc0276bb8262256148c6ee975857ee86", "fuellib_sha": "b878f1ae8e1d4c6f2f463e810b1f8014df5b22a5"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "69fca3bada96a48ab19b969621e5128390b7052e", "openstack_version": "2014.2-6.1", "production": "docker", "python-fuelclient_sha": "b4f1ddffd5263489090b65e662173e9e11aafd94", "astute_sha": "bf1751a4fe0d912325e3b4af629126a59c1b2b51", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "0c0e299dcc0276bb8262256148c6ee975857ee86", "fuellib_sha": "b878f1ae8e1d4c6f2f463e810b1f8014df5b22a5"

Changed in fuel:
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.