reboot_plugin: Cluster creation failed because of '500 Internal Server Error'

Bug #1644794 reported by Alexey Stupnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Fuel Sustaining

Bug Description

Last 15 runs of https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.fuel_plugin_reboot/ are failed because fuel-qa was unable to set the cluster and received '500 Internal Server Error':

2016-11-24 22:29:09.337 DEBUG [7f3540682880] (logger) Request POST /api/clusters from 10.109.0.1:46530 {"release": "2", "name": "RebootPlugin", "mode": "ha_compact"}
2016-11-24 22:29:09.533 ERROR [7f3540682880] (logger) Response code '500 Internal Server Error' for POST /api/clusters from 10.109.0.1:46530

I have no rights to connect to swarm server and troubleshoot the issue, assigning bug to fuel-sustaining team.

Revision history for this message
Georgy Kibardin (gkibardin) wrote :

Something is wrong with the plugin - it contains release with a version without "-" in it.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/base.py", line 297, in handle_errors
    return func(cls, *args, **kwargs)
  File "<string>", line 2, in POST
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/base.py", line 355, in validate
    return func(cls, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/base.py", line 477, in POST
    new_obj = self.collection.create(data)
  File "/usr/lib/python2.7/site-packages/nailgun/objects/base.py", line 455, in create
    return cls.single.create(data)
  File "/usr/lib/python2.7/site-packages/nailgun/objects/cluster.py", line 195, in create
    ClusterPlugin.add_compatible_plugins(cluster)
  File "/usr/lib/python2.7/site-packages/nailgun/objects/plugin.py", line 223, in add_compatible_plugins
    for plugin in cls.get_compatible_plugins(cluster):
  File "/usr/lib/python2.7/site-packages/nailgun/objects/plugin.py", line 214, in get_compatible_plugins
    PluginCollection.all()))
  File "/usr/lib/python2.7/site-packages/nailgun/objects/plugin.py", line 213, in <lambda>
    lambda p: cls.is_compatible(cluster, p),
  File "/usr/lib/python2.7/site-packages/nailgun/objects/plugin.py", line 201, in is_compatible
    return plugin_adapter.validate_compatibility(cluster)
  File "/usr/lib/python2.7/site-packages/nailgun/plugins/adapters.py", line 252, in validate_compatibility
    cluster.release.version, release['version']
  File "/usr/lib/python2.7/site-packages/nailgun/plugins/adapters.py", line 224, in _is_release_version_compatible
    plugin_os, plugin_rel = plugin_rel_version.split('-')
ValueError: need more than 1 value to unpack

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Fuel QA Team (fuel-qa)
status: New → Confirmed
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

@Georgiy, QA team doesn't support plugins. If you see that "something is wrong with the plugin - it contains release with a version without "-" in it, please fix it!

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Fuel Sustaining (fuel-sustaining-team)
Revision history for this message
Georgy Kibardin (gkibardin) wrote :

Nastya, the plugin is created by QA code, this is why I've moved it to fuel-qa

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.