fuel-qa: cannot deploy a node with plugin-role
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Swann Croiset | ||
8.0.x |
Fix Released
|
High
|
Swann Croiset |
Bug Description
The fuel-qa didn't evolve to fully support new plugin api.
when using self.fuel_
This should works with plugin which don't declare a role but for plugin-as-role, the plugin must be enabled to expose the new role.
see review for the code: https:/
./utils/
...
[snip]
...
2016-02-09 17:50:36,179 - INFO fuel_web_
status ready
name dump
cluster None
result {}
progress 100
message /api/dump/
id 1
uuid 0c33db32-
2016-02-09 17:50:36,180 - DEBUG __init__.py:61 -- Done: task_wait with result: {u'status': u'ready', u'name': u'dump', u'cluster': None, u'result': {}, u'progress': 100, u'message': u'/api/d
ump/fuel-
2016-02-09 17:50:36,180 - DEBUG __init__.py:55 -- Calling: get_admin_node_ip with args: ([<class 'fuelweb_
2016-02-09 17:50:36,189 - DEBUG __init__.py:61 -- Done: get_admin_node_ip with result: 10.109.35.2
2016-02-09 17:50:36,189 - INFO decorators.py:49 -- Saving logs to "/home/
2016-02-09 17:50:36,432 - DEBUG decorators.py:104 -- (<tests.
2016-02-09 17:52:22,869 - DEBUG __init__.py:55 -- Calling: get_admin_node_ip with args: ([<class 'fuelweb_
2016-02-09 17:52:23,249 - DEBUG __init__.py:61 -- Done: get_admin_node_ip with result: 10.109.35.2
2016-02-09 17:52:23,249 - INFO decorators.py:307 -- <<<<<**
2016-02-09 17:52:23,249 - INFO decorators.py:308 -- Failed in method 'deploy_
2016-02-09 17:52:23,249 - INFO decorators.py:318 -- You could revert and ssh to master node: [source /home/osadmin/
oy_lma_toolchain && ssh root@10.109.35.2]
2016-02-09 17:52:23,249 - INFO decorators.py:320 -- <<<<<**
2016-02-09 17:52:23,275 - ERROR decorators.py:112 -- Traceback (most recent call last):
File "/home/
result = func(*args, **kwargs)
File "/home/
self.
File "/home/
result = func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
return func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
return func(*args, **kwargs)
File "/home/
task = self.deploy_
File "/home/
result = func(*args, **kwargs)
File "/home/
return self.client.
File "/home/
result = func(*args, **kwargs)
File "/home/
response = func(*args, **kwargs)
File "/home/
"/api/
File "/home/
return self._open(req)
File "/home/
return self._get_
File "/home/
return self.opener.
File "/usr/lib/
response = meth(req, response)
File "/usr/lib/
'http', request, response, code, msg, hdrs)
File "/usr/lib/
return self._call_
File "/usr/lib/
result = func(*args)
File "/usr/lib/
raise HTTPError(
2016-02-09 17:52:23,276 - INFO decorators.py:113 -- <<<<<**
ERROR
=======
ERROR: Deploy cluster in HA mode with the LMA toolchain
-------
Traceback (most recent call last):
File "/home/
compatabili
File "/home/
func()
File "/home/
File "/home/
func(
File "/home/
result = func(*args, **kwargs)
File "/home/
self.
File "/home/
result = func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
return func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
return func(*args, **kwargs)
File "/home/
task = self.deploy_
File "/home/
result = func(*args, **kwargs)
File "/home/
return self.client.
File "/home/
result = func(*args, **kwargs)
File "/home/
response = func(*args, **kwargs)
File "/home/
"/api/
File "/home/
return self._open(req)
File "/home/
return self._get_
File "/home/
return self.opener.
File "/usr/lib/
response = meth(req, response)
File "/usr/lib/
'http', request, response, code, msg, hdrs)
File "/usr/lib/
return self._call_
File "/usr/lib/
result = func(*args)
File "/usr/lib/
raise HTTPError(
HTTPError: HTTP Error 500: Internal Server Error
Changed in fuel: | |
assignee: | nobody → Swann Croiset (swann-w) |
status: | New → In Progress |
Changed in fuel: | |
milestone: | none → 9.0 |
importance: | Undecided → High |
tags: | added: area-qa non-release |
tags: | removed: non-release |
Reviewed: https:/ /review. openstack. org/277471 /git.openstack. org/cgit/ openstack/ fuel-qa/ commit/ ?id=06fd4c348ac f7312b34d9dbc45 57d1d87c13c999
Committed: https:/
Submitter: Jenkins
Branch: master
commit 06fd4c348acf731 2b34d9dbc4557d1 d87c13c999
Author: Swann Croiset <email address hidden>
Date: Mon Feb 8 17:02:12 2016 +0100
Enable plugins when setting attributes
without this patch plugin are not enabled and Nailgun fails
with error 500 when trying to assign node with a role defined by the
plugin.
Fixes-bug: #1543962
Change-Id: Ie22ff85c3eb65a 0524d594ccfb211 6ea87bd082f