Skip to content

Unable to find matching endpoint for requested service #699

Description

@mjk14

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions