← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1491275] [NEW] Failed to create swarm bay

 

Public bug reported:

m-cond reports KeyError: 'number_of_minions' when creating a new swarm
bay

commit 97ad930147527fbb76acc320676d7c8a2a32e13e
Merge: 4089b1b 86ed292
Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
Date:   Wed Sep 2 01:27:21 2015 +0000

    Merge "Add roles to context"

taget@taget-ThinkStation-P300:~/nova$ magnum bay-create --name swarmbay  --baymodel swarmmodel --node-count 2
+--------------------+--------------------------------------+
| Property           | Value                                |
+--------------------+--------------------------------------+
| status             | None                                 |
| uuid               | abb8213d-ceab-44af-afa2-fb7a99a24035 |
| status_reason      | None                                 |
| created_at         | 2015-09-02T07:57:32+00:00            |
| updated_at         | None                                 |
| bay_create_timeout | 0                                    |
| api_address        | None                                 |
| baymodel_id        | ec0647b3-9285-41fe-be10-edfd3e357c4b |
| node_count         | 2                                    |
| node_addresses     | None                                 |
| master_count       | 1                                    |
| discovery_url      | None                                 |
| name               | swarmbay                             |
+--------------------+--------------------------------------+


2015-09-02 15:57:33.492 ERROR oslo.service.loopingcall [req-bf80d962-74cd-4e82-89bb-09095578cb0e admin admin] Fixed interval looping call 'magnum.conductor.handlers.bay_conductor.HeatPoller.poll_and_check' failed
2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall Traceback (most recent call last):
2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall   File "/usr/local/lib/python2.7/dist-packages/oslo_service/loopingcall.py", line 113, in _run_loop
2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall     result = func(*self.args, **self.kw)
2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall   File "/opt/stack/magnum/magnum/conductor/handlers/bay_conductor.py", line 249, in poll_and_check
2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall     self.bay.node_count = stack.parameters['number_of_minions']
2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall KeyError: 'number_of_minions'
2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall

** Affects: magnum
     Importance: Undecided
     Assignee: Eli Qiao (taget-9)
         Status: Confirmed

** Description changed:

+ m-cond reports KeyError: 'number_of_minions' when creating a new swarm
+ bay
+ 
+ commit 97ad930147527fbb76acc320676d7c8a2a32e13e
+ Merge: 4089b1b 86ed292
+ Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
+ Date:   Wed Sep 2 01:27:21 2015 +0000
+ 
+     Merge "Add roles to context"
+ 
+ taget@taget-ThinkStation-P300:~/nova$ magnum bay-create --name swarmbay  --baymodel swarmmodel --node-count 2
+ +--------------------+--------------------------------------+
+ | Property           | Value                                |
+ +--------------------+--------------------------------------+
+ | status             | None                                 |
+ | uuid               | abb8213d-ceab-44af-afa2-fb7a99a24035 |
+ | status_reason      | None                                 |
+ | created_at         | 2015-09-02T07:57:32+00:00            |
+ | updated_at         | None                                 |
+ | bay_create_timeout | 0                                    |
+ | api_address        | None                                 |
+ | baymodel_id        | ec0647b3-9285-41fe-be10-edfd3e357c4b |
+ | node_count         | 2                                    |
+ | node_addresses     | None                                 |
+ | master_count       | 1                                    |
+ | discovery_url      | None                                 |
+ | name               | swarmbay                             |
+ +--------------------+--------------------------------------+
+ 
+ 
  2015-09-02 15:57:33.492 ERROR oslo.service.loopingcall [req-bf80d962-74cd-4e82-89bb-09095578cb0e admin admin] Fixed interval looping call 'magnum.conductor.handlers.bay_conductor.HeatPoller.poll_and_check' failed
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall Traceback (most recent call last):
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall   File "/usr/local/lib/python2.7/dist-packages/oslo_service/loopingcall.py", line 113, in _run_loop
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall     result = func(*self.args, **self.kw)
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall   File "/opt/stack/magnum/magnum/conductor/handlers/bay_conductor.py", line 249, in poll_and_check
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall     self.bay.node_count = stack.parameters['number_of_minions']
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall KeyError: 'number_of_minions'
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall

** Project changed: nova => magnum

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1491275

Title:
  Failed to create swarm bay

Status in Magnum:
  Confirmed

Bug description:
  m-cond reports KeyError: 'number_of_minions' when creating a new swarm
  bay

  commit 97ad930147527fbb76acc320676d7c8a2a32e13e
  Merge: 4089b1b 86ed292
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Wed Sep 2 01:27:21 2015 +0000

      Merge "Add roles to context"

  taget@taget-ThinkStation-P300:~/nova$ magnum bay-create --name swarmbay  --baymodel swarmmodel --node-count 2
  +--------------------+--------------------------------------+
  | Property           | Value                                |
  +--------------------+--------------------------------------+
  | status             | None                                 |
  | uuid               | abb8213d-ceab-44af-afa2-fb7a99a24035 |
  | status_reason      | None                                 |
  | created_at         | 2015-09-02T07:57:32+00:00            |
  | updated_at         | None                                 |
  | bay_create_timeout | 0                                    |
  | api_address        | None                                 |
  | baymodel_id        | ec0647b3-9285-41fe-be10-edfd3e357c4b |
  | node_count         | 2                                    |
  | node_addresses     | None                                 |
  | master_count       | 1                                    |
  | discovery_url      | None                                 |
  | name               | swarmbay                             |
  +--------------------+--------------------------------------+


  2015-09-02 15:57:33.492 ERROR oslo.service.loopingcall [req-bf80d962-74cd-4e82-89bb-09095578cb0e admin admin] Fixed interval looping call 'magnum.conductor.handlers.bay_conductor.HeatPoller.poll_and_check' failed
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall Traceback (most recent call last):
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall   File "/usr/local/lib/python2.7/dist-packages/oslo_service/loopingcall.py", line 113, in _run_loop
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall     result = func(*self.args, **self.kw)
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall   File "/opt/stack/magnum/magnum/conductor/handlers/bay_conductor.py", line 249, in poll_and_check
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall     self.bay.node_count = stack.parameters['number_of_minions']
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall KeyError: 'number_of_minions'
  2015-09-02 15:57:33.492 TRACE oslo.service.loopingcall

To manage notifications about this bug go to:
https://bugs.launchpad.net/magnum/+bug/1491275/+subscriptions