Nailgun miss release info

Bug #1265029 reported by Egor Kotko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Tatyanka

Bug Description

{"build_id": "2013-12-30_01-17-41",
 "ostf_sha": "f561e9ae7ca0c062180de63676243f897df3f98c",
 "build_number": "5",
 "nailgun_sha": "1119d6d26c809b83792b5e941980715ec8b2df7f",
 "fuelmain_sha": "4ec4e1e83aa89664e4e201ada5da42474a234207",
"astute_sha": "419e864c77681c355043c21e76b3f5a940bef9ea",
"release": "4.1",
 "fuellib_sha": "f661314923ce584ad84c40c7a99e80a8feb4e713"}

Nailgun miss release info
Steps to reproduce:
1. Download ISO#5
2. Create cluster with such configuration:
Centos, 1Controller, 1Compute,1Cinder,nova VLAN
3. execute on master command:
#curl http://localhost:8000/api/clusters/1 | python -m json.tool

Expected result:
Nailgun recives info about release.

#curl http://localhost:8000/api/clusters/1 | python -m json.tool

{
    "changes": [
        [
            "disks",
            3
        ]
    ],
    "grouping": "roles",
    "id": 1,
    "is_customized": false,
    "mode": "multinode",
    "name": "Paris",
    "net_provider": "nova_network",
    "net_segment_type": "vlan",
    "release": {
        "description": "This option will install the OpenStack Grizzly packages using CentOS as a base operating system. With high availability features built in, you are getting a robust, enterprise-grade OpenStack deployment.",
        "id": 1,
        "modes_metadata": {
            "ha_compact": {
                "description": "This configuration requires multiple OpenStack controllers (3+) and provides high availability for all OpenStack components, including MySQL/Galera, RabbitMQ, and Cinder, as well as OpenStack API services. Select this configuration if you want to build a production-grade OpenStack cloud with 6 nodes or more."
            },
            "multinode": {
                "description": "In this configuration the OpenStack controller is deployed separately from the compute and cinder nodes. This mode assumes the presence of 1 controller node and 1 or more compute/cinder nodes. You can add more nodes to scale your cloud later."
            }
         ...

OSTF is available.

Actual result:
#curl http://localhost:8000/api/clusters/1 | python -m json.tool
Nailgun recives info about release_id but no info about release.

{
    "changes": [],
    "grouping": "roles",
    "id": 1,
    "is_customized": false,
    "mode": "multinode",
    "name": "Stambul",
    "net_provider": "nova_network",
    "net_segment_type": "vlan",
    "release_id": 1,
    "status": "operational"
}

OSTF server is anavailable.

Tags: nailgun
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

We use release info in adpater to parse tags and in config.py too. Nailgun api was changes and we fail to start(get key error according release info now is available by http://localhost:8000/api/releases/release_id)

Changed in fuel:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Tatyana (tatyana-leontovich)
milestone: none → 4.1
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Also may affect execution of sys_tests on 4.1

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/64528

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

Reviewed: https://review.openstack.org/64528
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=0a65b0842e6774a8b965a6cf369d16da72414617
Submitter: Jenkins
Branch: master

commit 0a65b0842e6774a8b965a6cf369d16da72414617
Author: Tatyana Leontovich <email address hidden>
Date: Tue Dec 31 13:10:04 2013 +0200

    Fix key error in adapter caused by changed api

    Nailgun Api repsonse for api/cluster/id has been changed
    as result OSTF filed with key error
    Fix this issue in adapter mixin and ostf config.py

    Change-Id: I73b5a5075ec14414a8b28c2c47d023ccc126b7ae
    Closes-Bug: # 1265029

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verify on 73 iso

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.