Undefined local variable or method in astute/puppetd.rb:54 (51)

Bug #1282416 reported by Nikolay Fedotov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Vladimir Sharshov

Bug Description

ISO: {"build_id": "2014-02-19_14-29-22", "mirantis": "no", "build_number": "163", "nailgun_sha": "9bd1db420e8145b3e9dc7f1006b818022ba46d30", "ostf_sha": "f86abe5544b5ffcf621e0c450bca15737c92361f", "fuelmain_sha": "10767f7dfd1edac70731a05a8c8948d39a8cc073", "astute_sha": "581643fb9ace27282150fa3951660a9796acb867", "release": "4.1", "fuellib_sha": "8fb78ba2024af5a42932f1be30a9a848273a24dc"}

Steps:
- Create environment: CentOS, Nova network with Vlan manager
- Add nodes: 1 controller, 1 compute
- Deploy changes

Result
Deployment failed:
Error in orchestration log:
2014-02-20 00:31:40 ERR
[9001] Error running RPC method deploy: e72bd544-615e-4caf-9df6-ba4f57815265: MCollective call failed in agent 'puppetd', method 'runonce', failed nodes:
ID: 2 - Reason: undefined local variable or method `puppet_agent_pid' for #<MCollective::Agent::Puppetd:0x7f468076f160>
, trace: ["/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/mclient.rb:115:in `check_results_with_retries'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/mclient.rb:61:in `method_missing'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/puppetd.rb:54:in `block in puppetd_runonce'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/puppetd.rb:51:in `each'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/puppetd.rb:51:in `puppetd_runonce'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/puppetd.rb:193:in `block in deploy_nodes'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/timeout.rb:68:in `timeout'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/puppetd.rb:175:in `deploy_nodes'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/puppetd.rb:32:in `deploy'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/deployment_engine/nailyfact.rb:33:in `deploy_piece'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/deployment_engine.rb:65:in `block (3 levels) in deploy'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/deployment_engine.rb:65:in `each_slice'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/deployment_engine.rb:65:in `block (2 levels) in deploy'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/deployment_engine.rb:63:in `each'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/deployment_engine.rb:63:in `block in deploy'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/deployment_engine.rb:59:in `each'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/deployment_engine.rb:59:in `deploy'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:45:in `deploy'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/dispatcher.rb:101:in `deploy'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/server.rb:130:in `dispatch_message'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/server.rb:85:in `block in dispatch'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/task_queue.rb:59:in `call'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/task_queue.rb:59:in `block in each'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/task_queue.rb:52:in `each'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/task_queue.rb:52:in `each'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/server.rb:83:in `each_with_index'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/server.rb:83:in `dispatch'", "/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/server.rb:69:in `block in perform_main_job'"]
2014-02-20 00:31:40 ERR
[9001] MCollective call failed in agent 'puppetd', method 'runonce', failed nodes:
ID: 2 - Reason: undefined local variable or method `puppet_agent_pid' for #<MCollective::Agent::Puppetd:0x7f468076f160>

Tags: library
Revision history for this message
Nikolay Fedotov (nfedotov) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-astute (master)

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

Changed in fuel:
status: New → In Progress
Changed in fuel:
importance: High → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-astute (master)

Reviewed: https://review.openstack.org/74951
Committed: https://git.openstack.org/cgit/stackforge/fuel-astute/commit/?id=3d43abeefb60677ce6cae83d31ebbba1ff3cdbe2
Submitter: Jenkins
Branch: master

commit 3d43abeefb60677ce6cae83d31ebbba1ff3cdbe2
Author: Vladimir <email address hidden>
Date: Thu Feb 20 11:35:28 2014 +0400

    Fixed problem with nonexistent method puppet_agent_pid

    Change-Id: I4a565ac8778e358bc3c11e50569e88b65e9edf0b
    Closes-Bug: #1282416

Changed in fuel:
status: In Progress → Fix Committed
tags: added: in progress
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #175
"build_id": "2014-02-21_05-41-44",
"mirantis": "yes",
"build_number": "175",
"nailgun_sha": "d528441c490fc53f26a9115fb866d41208727d1a",
"ostf_sha": "e74dcb33134d4334786a4fa27107febf9a497f2b",
"fuelmain_sha": "88cd7d7e64af3834fe9b8e38cd0518266d1445f7",
"astute_sha": "3d43abeefb60677ce6cae83d31ebbba1ff3cdbe2",
"release": "4.1",
"fuellib_sha": "fd40cb4d94582a5001a9bc94178f8dce14491ed6"

tags: removed: in progress
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.