You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have setup a delta-cloud server in my local machine. And I try to communicate the openstack via deltacloud server. But i got some exception on while execute the below code. the exception is "error status='401' url='/api/images'"
The below lines are sample code for list the available images in openstack server.:
Hi Gopalan - this sounds like an authentication issue - however I'm confused about why this ticket is raised against the aws rubygem (from your description you mentioned openstack). Can you please file an issue against the deltacloud project itself - see our contact page/contact.html
I'm going to go ahead and close this ticket - let's pick this up against the deltacloud project (you can use our mailing list, irc or open a jira ticket).
Hi,
I have setup a delta-cloud server in my local machine. And I try to communicate the openstack via deltacloud server. But i got some exception on while execute the below code. the exception is "error status='401' url='/api/images'"
The below lines are sample code for list the available images in openstack server.:
String url = "http://hostname:3001/api/images";
String username = "openstack_username";
String password= "openstack_password";
HttpClient client = new DefaultHttpClient();
HttpGet request = new HttpGet(url);
request.addHeader("username", user);
request.addHeader("password", password);
HttpResponse httpResponse = client.execute(request);
BufferedReader rd = new BufferedReader(new InputStreamReader(httpResponse.getEntity().getContent()));
String result = rd.readLine();
Any one can u provide suggestion please.
The text was updated successfully, but these errors were encountered: