pkgcloud / pkgcloud

pkgcloud is a standard library for node.js that abstracts away differences among multiple cloud providers.
http://github.com/pkgcloud/pkgcloud
MIT License
1.18k stars 372 forks source link

Unable to find matching endpoint for requested service #699

Open mjk14 opened 2 years ago

mjk14 commented 2 years ago

Hi. I want to access to blockstorage service on OpenStack for work with volumes. I use under config for connected to blockstorage service:

const client = pkgcloud.blockstorage.createClient({ provider: "openstack", username: "username", password: "password", authUrl: "http://ip:5000", region: "region", keystoneAuthVersion: 'v3', domainId: 'default', tenantId: 'project-id', }); when I use console.log(client) method, I see correct and valid object includes it's methods such as getVolumes, getSnapshots and etc. but when I use under code

client.getVolumes((err, volumes)=>{ if (err) console.log(err); console.log(volumes); })

I will deal with the following error: "Unable to find matching endpoint for requested service" thanks for guiding me. @kenperkins