kimchi-project / gingers390x

Wok plug-in focused in s390x management
Other
6 stars 8 forks source link

Storage-> FC LUNS. The error message while deleting a FC LUN path with invalid value is misleading. #25

Open mesmriti opened 8 years ago

mesmriti commented 8 years ago

When a FC LUN path is deleted with a invalid value or with invalid LUN path the error message displayed is misleading. The error message says that "Failed to add LUN" which should be "Failed to delete LUN" instead.

[root@zfwcec164 ~]# curl -k -u root:pass4root -H "Content-Type: application/json" -H "Accept: application/json" -X GET 'https://9.152.151.164:8001/plugins/gingers390x/fcluns/0.0.3080:0x5005076802160417:0x000000000000000s' { "reason":"GS390XSTG00003: Failed to add LUN, ", "code":"500 Internal Server Error" }

pawankg commented 8 years ago

I will be working on this issue.