scale out when user out of quotas

Bug #1822994 reported by Bo Tran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
New
Undecided
Unassigned

Bug Description

When a user do scale out or create a cluster/node and that user out of quotas such as ram, volumes/volume_size, vcpus but the action still have been do.

Error:
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base [req-5f542621-66d0-4d12-bd34-f3833208bdcc b987e7c4f69d44afbb662d241a228ab0 38741e5cf34648db82415207ff4442ba - - -] Unexpected exception occurred during action NODE_CREATE (3cd9d9c2-a586-4dd6-ad10-2e8f71c538d5) execution: HttpException: 413: Client Error for url: http://192.168.53.89:8776/v3/38741e5cf34648db82415207ff4442ba/volumes, VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'.: InternalError: HttpException: 413: Client Error for url: http://192.168.53.89:8776/v3/38741e5cf34648db82415207ff4442ba/volumes, VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'.
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base Traceback (most recent call last):
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/senlin/engine/actions/base.py", line 672, in ActionProc
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base result, reason = action.execute()
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/senlin/engine/actions/node_action.py", line 281, in execute
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base res, reason = self._execute()
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/senlin/engine/actions/node_action.py", line 240, in _execute
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base return method()
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/env/local/lib/python2.7/site-packages/osprofiler/profiler.py", line 160, in wrapper
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base result = f(*args, **kwargs)
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/senlin/engine/actions/node_action.py", line 70, in do_create
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base res, reason = self.entity.do_create(self.context)
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/senlin/engine/node.py", line 220, in do_create
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base physical_id = pb.Profile.create_object(context, self)
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/env/local/lib/python2.7/site-packages/osprofiler/profiler.py", line 160, in wrapper
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base result = f(*args, **kwargs)
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/senlin/profiles/base.py", line 227, in create_object
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base return profile.do_create(obj)
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/contrib/senlin-vccloud-server-profile/vccloud/server.py", line 667, in do_create
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base obj, block_device_mapping_v2, 'create')
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/contrib/senlin-vccloud-server-profile/vccloud/server.py", line 473, in _resolve_bdm
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base bd['volume_type']
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/contrib/senlin-vccloud-server-profile/vccloud/openstack.py", line 64, in create_volume
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base snapshot_id=snapshot_id
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/senlin/drivers/sdk.py", line 101, in invoke_with_catch
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base raise parse_exception(ex)
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base File "/mnt/1A922325732ED3DB/Python/senlin/senlin/drivers/sdk.py", line 90, in parse_exception
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base raise senlin_exc.InternalError(code=code, message=message)
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base InternalError: HttpException: 413: Client Error for url: http://192.168.53.89:8776/v3/38741e5cf34648db82415207ff4442ba/volumes, VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'.
2019-04-03 16:45:58.128 25401 ERROR senlin.engine.actions.base
2019-04-03 16:45:58.196 25401 ERROR senlin.drivers.sdk [req-5f542621-66d0-4d12-bd34-f3833208bdcc b987e7c4f69d44afbb662d241a228ab0 38741e5cf34648db82415207ff4442ba - - -] HttpException: 413: Client Error for url: http://192.168.53.89:8776/v3/38741e5cf34648db82415207ff4442ba/volumes, VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'.: HttpException: HttpException: 413: Client Error for url: http://192.168.53.89:8776/v3/38741e5cf34648db82415207ff4442ba/volumes, VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'.
2019-04-03 16:45:58.260 25401 ERROR senlin.engine.actions.base [req-5f542621-66d0-4d12-bd34-f3833208bdcc b987e7c4f69d44afbb662d241a228ab0 38741e5cf34648db82415207ff4442ba - - -] Unexpected exception occurred during action NODE_CREATE (700727c1-7813-47de-99a7-a26f82ed062e) execution: HttpException: 413: Client Error for url: http://192.168.53.89:8776/v3/38741e5cf34648db82415207ff4442ba/volumes, VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'.: InternalError: HttpException: 413: Client Error for url: http://192.168.53.89:8776/v3/38741e5cf34648db82415207ff4442ba/volumes, VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'.

So, i report.

Tags: out-of quotas
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.