Problems with node group templates update

Bug #1499730 reported by Andrey Pavlov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Sahara
Fix Released
Medium
Andrey Pavlov

Bug Description

* volumes_availability_zone, volumes_type, volume_local_to_instance, volumes_availability_zone, volumes_size fields can't be updated without updating volumes_per_node field. There is not error occurs, new values just don't pass to update request data.

* if node_processes field (which is optional) isn't present in update parameters, the following error occurs:

File "/home/kshatrix/python-saharaclient/saharaclient/api/node_group_templates.py", line 116, in update
    'node_group_template')
  File "/home/kshatrix/python-saharaclient/saharaclient/api/base.py", line 117, in _update
    self._raise_api_exception(resp)
  File "/home/kshatrix/python-saharaclient/saharaclient/api/base.py", line 184, in _raise_api_exception
    error_message=error_data.get("error_message"))
saharaclient.api.base.APIException: None is not of type 'array'

Changed in python-saharaclient:
assignee: nobody → Andrey Pavlov (apavlov-n)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-saharaclient (master)

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

Changed in python-saharaclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-saharaclient (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/228048

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-saharaclient (stable/liberty)

Reviewed: https://review.openstack.org/228048
Committed: https://git.openstack.org/cgit/openstack/python-saharaclient/commit/?id=660dc7b3feae093354c06bb6d6424f5a6512900c
Submitter: Jenkins
Branch: stable/liberty

commit 660dc7b3feae093354c06bb6d6424f5a6512900c
Author: Andrey Pavlov <email address hidden>
Date: Fri Sep 25 17:41:35 2015 +0300

    Fixing cluster and node group template updates

    Changes:

    * volume(s)_* fields now can be updated without
      updating volumes_per_node field
    * ngt now can be updated without node_processes field
    * arguments of update methods (except of id) changed
      to optional

    Change-Id: I3549cb98f1c15d303cdc13bbd3875a85b43f29b8
    Closes-bug: #1499730
    Closes-bug: #1499732

tags: added: in-stable-liberty
Changed in python-saharaclient:
status: In Progress → Fix Committed
Changed in python-saharaclient:
status: Fix Committed → Fix Released
importance: Undecided → Medium
milestone: none → 0.12.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-saharaclient 0.11.1

This issue was fixed in the openstack/python-saharaclient 0.11.1 release.

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.