Fake nailgun fails to upload offloading type of the interfaces

Bug #1598182 reported by Ksenia Svechnikova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Arthur Svechnikov
Newton
Fix Committed
High
Arthur Svechnikov

Bug Description

Steps:

workon fuel
Populate the database from fixtures:

cd nailgun
./manage.py syncdb
./manage.py loaddefault # It loads all basic fixtures listed in settings.yaml
./manage.py loaddata nailgun/fixtures/sample_environment.json # Loads fake nodes

Start application in “fake” mode, when no real calls to orchestrator are performed:

python manage.py run -p 8000 --fake-tasks | egrep --line-buffered -v '^$|HTTP' >> /var/log/nailgun.log 2>&1 &

Run dev server:
gulp dev-server --dev-server-host=127.0.0.1 --dev-server-port=8080 --nailgun-host=127.0.0.1 --nailgun-port=8000 &

In the sample_environment.json there are nodes with enabled offloading, while they are not present in UI

This also affect fuel-ui functional tests

Tags: area-python
Revision history for this message
Ksenia Svechnikova (kdemina) wrote :
summary: - Fake nailgun fails to start
+ Fake nailgun fails to parse offloading type of the interfaces
summary: - Fake nailgun fails to parse offloading type of the interfaces
+ Fake nailgun fails to upload offloading type of the interfaces
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

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

Reviewed: https://review.openstack.org/336589
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=9dba32b174f21171a7ed51dd897a8cc036cbe72c
Submitter: Jenkins
Branch: master

commit 9dba32b174f21171a7ed51dd897a8cc036cbe72c
Author: Artur Svechnikov <email address hidden>
Date: Fri Jul 1 17:38:15 2016 +0300

    Update offloading modes for fake nodes

    It's impossible to test offloading modes with Web UI functional tests.
    Nailgun fixtures contains sample of nodes with offloading modes.
    However, they is not updated while loading.

    Change-Id: Idd3bdf08dfae109c4a7973d83e939e590a1ef8db
    Closes-Bug: #1598182

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 10.0.0rc1

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

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

This issue was fixed in the openstack/fuel-web 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.