[System tests] 'NoneType' object has no attribute '__getitem__' because node wasn't registered in Nailgun

Bug #1308450 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dima Shulyak

Bug Description

Reproduced on {"build_id": "2014-04-15_01-37-24", "mirantis": "yes", "build_number": "103", "nailgun_sha": "75ac9d49d6918cf5339f1c1726c8831f3c28f524", "production": "dev", "ostf_sha": "1ac04769cc8034438ccf1176860b25d0f5601c4a", "fuelmain_sha": "a9d39b53bf64b405f056f6acfe08f2055b92391f", "astute_sha": "0cb0b26773bd269000a14748e8ba49419462ecaf", "release": "5.0", "fuellib_sha": "d4299afd31992482888673be4e23936ce91d532a"}

Steps of the test:
1. Create next cluster - CentOS, HA, KVM, Flat Nova Network without tagging, Cinder LVM
2. Add 3 controllers, 2 compute nodes
3. Deploy cluster - deployment is successful
4. Assert that first controller is registered in nailgun - on this step we compare list with node's interfaces that we get after node creation by devops and list with interfaces that we get from http://10.108.0.2:8000/api/nodes

Expected result - dictionary with node information is returned
Actual - None is returned that means that slave wasn't found in nailgun

This issue periodically happens on CI
Logs are attached

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Dima Shulyak (dshulyak) wrote :

Cobbler log

Tue Apr 15 22:44:19 2014 - INFO | Exception value: 'internal error, unknown distro name bootstrap'

Without bootstrap image provided it is not possible to register node, so nailgun correctly returns empty list

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Fuel Library Team (fuel-library)
Dima Shulyak (dshulyak)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Dima Shulyak (dshulyak)
status: New → Confirmed
Revision history for this message
Evgeniy L (rustyrobot) wrote :

Why do we have such constraint? Can we remove it?

Revision history for this message
Dima Shulyak (dshulyak) wrote :

My previous comment is not valid, there is just a lot of errors in logs :)

It failed on already deployed cluster, so we decided that Andrew will add logs into tests, and if it will reproduce, we will know what is going on..

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/88569
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=1e46bd4e590b8ddcac6da0b47005284d47e8e313
Submitter: Jenkins
Branch: master

commit 1e46bd4e590b8ddcac6da0b47005284d47e8e313
Author: NastyaUrlapova <email address hidden>
Date: Fri Apr 18 17:04:55 2014 +0400

    Fix for interfaces set

    Change-Id: Ie8073be358b8f5d03f0b236cf824486380ac30eb
    Closes-Bug: #1308450

Changed in fuel:
status: Confirmed → Fix Committed
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.