return code should be 404 if destination guest not exists

Bug #1794900 reported by Huang Rui
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zVM Cloud Connector
Fix Committed
Medium
cao biao

Bug Description

When trying to attach volume to a guest that not exists, will got return code 500.
In this case, it's better to return 404.

Some situation that trying to attach a volume with wwpn/lun not exists.

Huang Rui (bjhuangr)
Changed in python-zvm-sdk:
assignee: nobody → cao biao (flytiger)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
jichenjc (jichenjc) wrote :

has this been tested in our FVT and documented in our doc as well?
also, please try detach as well...

Revision history for this message
cao biao (flytiger) wrote :

I have fixed this in recent volume feature code.

Changed in python-zvm-sdk:
status: Triaged → Fix Committed
Revision history for this message
jichenjc (jichenjc) wrote :

I suggest you add the patch link into bug so that we know where to find fix if any problem related occurs

Revision history for this message
cao biao (flytiger) wrote :
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.