host fails with error "node_name" with 3.12.2 agent

John-Paul Drawneek's Avatar

John-Paul Drawneek

06 Dec, 2015 01:22 AM

Patched up base image to latest and span up a new instance only to find it failed with the error "node_name"

2015-12-06 01:16:25,737+00:00 - ERROR - scalarizr.ops.system.init - Operation "system.init" (id: 152aee97-1c2e-4872-abe2-7834d1ca595e) failed. Reason: 'node_name'
Traceback (most recent call last):
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.12.2-py2.7.egg/scalarizr/api/", line 273, in _in_progress
    self._completed(self.func(self, *self.func_args, **self.func_kwds))
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.12.2-py2.7.egg/scalarizr/handlers/", line 442, in handler"before_host_up", hostup_msg)
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.12.2-py2.7.egg/scalarizr/libs/", line 33, in fire
    ln(*args, **kwargs)
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.12.2-py2.7.egg/scalarizr/handlers/union/", line 248, in setup_chef_automation
    execute_scripts(hi_chef, bollard_before)
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.12.2-py2.7.egg/scalarizr/handlers/union/", line 105, in execute_scripts
    bollard_before(task, kwds)
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.12.2-py2.7.egg/scalarizr/handlers/union/", line 247, in bollard_before
    data['node_name'] = kwds['node_name']
KeyError: 'node_name'
2015-12-06 01:16:25,973+00:00 - DEBUG - scalarizr.messaging.p2p.producer - Sending message 'OperationResult' into queue 'control'
2015-12-06 01:16:25,982+00:00 - DEBUG - - Encrypting message
2015-12-06 01:16:26,541+00:00 - DEBUG - scalarizr.messaging.p2p.consumer - Mark message (message_id: a465d0ee-1da0-4cab-ab9e-6db5044f33d1) as handled

  1. Support Staff 1 Posted by Marat Komarov on 06 Dec, 2015 04:11 PM

    Marat Komarov's Avatar

    Could you please attach a screenshot of chef tab and advanced tab for this farm role?


  2. Support Staff 2 Posted by Marat Komarov on 06 Dec, 2015 04:45 PM

    Marat Komarov's Avatar

    We've reproduced this bug and fixed it in Scalarizr 3.12.3


  3. 3 Posted by John-Paul Drawn... on 06 Dec, 2015 04:47 PM

    John-Paul Drawneek's Avatar

    Ok, thanks.

  4. John-Paul Drawneek closed this discussion on 06 Dec, 2015 04:47 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac