Ask Your Question

Error (404): Item not found

asked 2018-02-02 08:35:44 -0500

M4rc0 gravatar image

Hi, I'm starting with pkgcloud and I have a problem with my code.

auth_username = 'admin'; auth_password = 'ac1556ad87354740'; auth_url = ''; project_name = 'admin'; region_name = 'RegionOne';

var conn = require('pkgcloud').compute.createClient({ provider: 'openstack', username: auth_username, password: auth_password, authUrl: auth_url, region: region_name });

where can I found the logs to check if this is working?

conn.getImages(function(err, images) { if(err){ console.error(err.message) } else { console.log(images[0].name); } });

I got 2 images loaded in my Openstack deployment, and the user , pass, and endpoint are ok. The result of this code is : Error (404): Item not found I have a packstack installation over Centos7, using pike Thanks for any help can I receive.

Kind regards, Marco

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-02-02 08:46:39 -0500

M4rc0 gravatar image

I got it. The URL has to be And I use this code to see what is happening (log)

conn.on('log::*', function(message, object) { if (object) { console.log(this.event.split('::')[1] + ' ' + message); console.dir(object); } else { console.log(this.event.split('::')[1] + ' ' + message); } });

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-02-02 08:35:44 -0500

Seen: 149 times

Last updated: Feb 02 '18