return 500 if diskpool not exists when add disks to vm
Bug #1747591 reported by
Huang Rui
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zVM Cloud Connector |
Confirmed
|
Low
|
cao biao |
Bug Description
Request body:
'[{u'disk_pool': u'ECKD:notexist', u'size': u'1g'}]' for guest 'RST95754'.
Error msg:
{u'rs': 402, u'overallRC': 4, u'modID': 1, u'rc': 5, u'output': u'', u'errmsg': u"SMUT error: SMUT request failed. RequestData: 'getHost diskpoolspace noexist', Results: '{'rs': 402, 'errno': 0, 'strError': '', 'overallRC': 4, 'rc': 5, 'response': ['(Error) ULTGHO0402E No information was found for the specified pool(s): noexist']}'"}
Should return 404 if specified disk pool not exists.
Changed in python-zvm-sdk: | |
importance: | Undecided → Low |
Changed in python-zvm-sdk: | |
milestone: | none → future |
Changed in python-zvm-sdk: | |
status: | New → Confirmed |
Changed in python-zvm-sdk: | |
assignee: | nobody → cao biao (flytiger) |
description: | updated |
To post a comment you must log in.
we need add a functional test for it if possible ...