Savanna tests to create, list, start, checks and delete cluster doesn`t find savanna tag 4.0

Bug #1264091 reported by Anastasiia Naboikina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Sergey Galkin

Bug Description

{"build_id": "2013-12-25_01-01-41",
"ostf_sha": "a27665008e961b773861b95969acf61d25f0f977",
"build_number": "202",
 "nailgun_sha": "d4aecc4f1b60d66021bac195800952fb94cbc627",
"fuelmain_sha": "15f575db2d35e3374a217e29a38091152801cfe5",
 "astute_sha": "9000b12aa0f3639bd4a18efeb82ef554fdbde9c0",
 "release": "4.0",
"fuellib_sha": "cc0301c5f0399e7567230d5cf261f0796005d91c"}

Steps to reproduce:
1. Create cluster with the following configuration:
    - CentOs multinode;
    - nova-network VLAN;
    - ceph for volumes;
    - savanna;
2. Add the following nodes:
    - 1 controller;
    - 1 compute;
    - 2 Ceph OSD;
3. Deploy cluster.
4. Download Savanna image and upload it to Glance under admin user.
5. Create valid security group rules for default security group (for ports 22, 8080, 50070, 50030, 80).
6. Register Savanna image in savanna image registry.
7. Run OSTF.

Expected result:
OSTF test "Savanna tests to crate, list, start, checks and delete cluster" passes.

Actual result:
OSTF test "Savanna tests to crate, list, start, checks and delete cluster" fails. There is the following trace in OSTF logs:

fuel_health.savanna: DEBUG: Savanna image metadata is {u'_savanna_username': u'ubuntu', u'_savanna_description': None}
fuel_health.common.test_mixins: DEBUG: Traceback (most recent call last):
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 186, in verify
    result = func(*args, **kwargs)
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/savanna.py", line 80, in _test_image
    if image.metadata[tag_version] == 'True'\
KeyError: '_savanna_tag_1.2.1'

Tags: savanna
Revision history for this message
Anastasiia Naboikina (anaboikina) wrote :
Revision history for this message
Sergey Galkin (sgalkin) wrote :

Looks like step for register savanna image is skipped.

You can use https://github.com/sergeygalkin/savanna-tests-scripts/ for automation all steps for prepare.

Changed in fuel:
status: New → Incomplete
Revision history for this message
Sergey Galkin (sgalkin) wrote :

Anastasiia, please check Dashboard->Savanna->Image Registry . You should have image with name 'savanna' and tags 'vanilla' '1.2.1' on this page

Revision history for this message
Anastasiia Naboikina (anaboikina) wrote :

I`ve checked it and I`ve done all the described steps manually. I received no errors while doing these steps.
The image has the name 'savanna' and tags are 'vanilla' '1.2.1'. I`ve checked it. :)

Revision history for this message
Sergey Galkin (sgalkin) wrote :

I can't reproduce this on 200 build

Can you give me access to your lab ?

Revision history for this message
Anastasiia Naboikina (anaboikina) wrote :

I`m testing on 202 iso, sorry I didn`t mention it.
I`ve already deleted this env, sorry, my mistake. I`ll create a new one very soon and will give you access to it.

Revision history for this message
Sergey Galkin (sgalkin) wrote :

Will be great. Thank you.

Changed in fuel:
status: Incomplete → Invalid
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.