openbaton / openbaton-client

The openbaton external client, such as sdk and cli
Apache License 2.0
4 stars 2 forks source link

Adding Openstack (cloudwatt) VimInstance from dashboard error: Not listed Images successfully of VimInstance #1

Closed BediarSofiane closed 8 years ago

BediarSofiane commented 8 years ago

Hello, I'm trying to add a VimInstance from the openbaton dashboard (localhost:8080) with a .json file. but i'm getting this exception :

ERROR: HTTP status: 422 response data : {"code":"Bad Request","message":"Not listed Images successfully of VimInstance CloudWatt. Caused by: org.openbaton.exceptions.VimDriverException: p-imgcld-00.usr.prd1.val.cloudwatt.net connecting to GET https://p-imgcld-00.usr.prd1.val.cloudwatt.net:9292/v1/images/detail?limit=1000 HTTP/1.1"}

This is my .json file: { "name":"CloudWatt", "authUrl":"THE AUTH LINK", "tenant":"THE TENANT NAME", "username":"MY_USER_NAME" "password":"MY_PASSWORD", "keyPair":"THE_KEY", "securityGroups": [ THE SECURITY GROUPS ], "type":"openstack"

} If someone could help me with this or suggest some ideas of what is causing this exception. Thank you guys.

lorenzotomasini commented 8 years ago

I BediarSofiane,

we didn't experience that error before. I see you are using CloudWatt, aren't you? If yes, I don't think the openstack plugin works with CloudWatt. But I'm don't really know much about CloudWatt. If this is the case you should consider create a CloudWatt plugin. It's pretty easy :)

PS. next time, please consider open a issue on the related repo, here for instance instead of openbaton-client

ftcjeff commented 7 years ago

FWIW - I get the same error when using rackspace as my openstack VIM.

gc4rella commented 7 years ago

@ftcjeff just replied you on the issue you opened on the openstack-plugin project. I would keep this issue closed.