Simple neutron Ubuntu deployment failed with Method granular_deploy. undefined method `[]' for nil:NilClass

Bug #1417090 reported by Andrey Sledzinskiy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
New
High
Fuel Library (Deprecated)

Bug Description

{

    "build_id": "2015-02-01_22-55-01",
    "ostf_sha": "c9100263140008abfcc2704732e98fbdfd644068",
    "build_number": "92",
    "release_versions":

{

    "2014.2-6.1":

{

    "VERSION":

{

    "build_id": "2015-02-01_22-55-01",
    "ostf_sha": "c9100263140008abfcc2704732e98fbdfd644068",
    "build_number": "92",
    "api": "1.0",
    "nailgun_sha": "c0932eb5c2aa7fd1e13a999cb1b4bf5aff101c3b",
    "production": "docker",
    "python-fuelclient_sha": "2ea7b3e91c1d2ff85110bf5abb161a6f4e537358",
    "astute_sha": "ed5270bf9c6c1234797e00bd7d4dd3213253a413",
    "feature_groups":

            [
                "mirantis"
            ],
            "release": "6.1",
            "fuelmain_sha": "",
            "fuellib_sha": "c5e4a0410ba66f9e9911f62b3b71c0b9c29aed6e"
        }
    }

},
"auth_required": true,
"api": "1.0",
"nailgun_sha": "c0932eb5c2aa7fd1e13a999cb1b4bf5aff101c3b",
"production": "docker",
"python-fuelclient_sha": "2ea7b3e91c1d2ff85110bf5abb161a6f4e537358",
"astute_sha": "ed5270bf9c6c1234797e00bd7d4dd3213253a413",
"feature_groups":

    [
        "mirantis"
    ],
    "release": "6.1",
    "fuelmain_sha": "",
    "fuellib_sha": "c5e4a0410ba66f9e9911f62b3b71c0b9c29aed6e"

}

Steps:
1. Create next env - simple, Ubuntu, Neutron Vlan, image-based provisioning, 1 controller, 2 compute
2. Start deployment

Actual - deployment failed on node-1(controller) with errors in astute.log:
[397] Error running RPC method granular_deploy: undefined method `[]' for nil:NilClass, trace:
["/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/puppet_task.rb:83:in `puppet_status'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/puppet_task.rb:44:in `status'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine/granular_deployment.rb:81:in `check_status'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine/granular_deployment.rb:97:in `block in deploy_nodes'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine/granular_deployment.rb:95:in `each'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine/granular_deployment.rb:95:in `deploy_nodes'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine/granular_deployment.rb:40:in `deploy_piece'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine.rb:54:in `block (3 levels) in deploy'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine.rb:47:in `each_slice'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine.rb:47:in `block (2 levels) in deploy'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine.rb:45:in `each'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine.rb:45:in `block in deploy'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine.rb:41:in `each'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/deployment_engine.rb:41:in `deploy'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/orchestrator.rb:306:in `deploy_cluster'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/orchestrator.rb:57:in `granular_deploy'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/server/dispatcher.rb:99:in `granular_deploy'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/server/server.rb:142:in `dispatch_message'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/server/server.rb:103:in `block in dispatch'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/server/task_queue.rb:64:in `call'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/server/task_queue.rb:64:in `block in each'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/server/server.rb:101:in `each_with_index'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/server/server.rb:101:in `dispatch'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.0.0/lib/astute/server/server.rb:85:in `block in perform_main_job'"]

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
tags: added: image-based
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.