Junaid Ali junaidali at xgrid.co
Mon Feb 13 06:12:54 UTC 2017


Hi Shweta,
can you remove all lines after the "endpoint: https://192.168.
100.2:5000/v2.0" line, re-add the cloud and source adminrc file in the
terminal. Then run:
$ juju autoload-credentials

and try bootstrapping again.


--
Junaid

On Mon, Feb 13, 2017 at 9:00 AM, Shweta Shotu <shwetashotu94 at gmail.com>
wrote:

> Hii,
>
> I installed juju on ubuntu 14.04, I am trying to add a private cloud to
> juju.This private cloud is an openstack setup on my local network.
>
> The commands are as follows:
>
> using this command, i got to know about that there no such cloud
>
> *~$ juju list-clouds*
> Cloud        Regions  Default        Type        Description
> aws               11  us-east-1      ec2         Amazon Web Services
> aws-china          1  cn-north-1     ec2         Amazon China
> aws-gov            1  us-gov-west-1  ec2         Amazon (USA Government)
> azure             18  centralus      azure       Microsoft Azure
> azure-china        2  chinaeast      azure       Microsoft Azure China
> cloudsigma         5  hnl            cloudsigma  CloudSigma Cloud
> google             6  us-east1       gce         Google Cloud Platform
> joyent             6  eu-ams-1       joyent      Joyent Cloud
> rackspace          6  dfw            rackspace   Rackspace Cloud
> localhost          1  localhost      lxd         LXD Container Hypervisor
>
> So, I added  openstack to the list of clouds using:
> ~$ juju add-cloud mystack openstack.yaml
> --------------------------------------------------
> *openstack.yaml :*
>
>      mystack:
>       type: openstack
>       auth-types: [userpass]
>       regions:
>         RegionOne:
>           endpoint: https://192.168.100.2:5000/v2.0
>       auth-mode: userpass
>       auth-url: http://192.168.100.2:5000/v2.0
>       default-series: trusty
>       password: password
>       region: RegionOne
>       tenant-name: admin
>       username: admin
> ----------------------------------------------------
> *~$ juju list-clouds*
> Cloud        Regions  Default        Type        Description
> aws               11  us-east-1      ec2         Amazon Web Services
> aws-china          1  cn-north-1     ec2         Amazon China
> aws-gov            1  us-gov-west-1  ec2         Amazon (USA Government)
> azure             18  centralus      azure       Microsoft Azure
> azure-china        2  chinaeast      azure       Microsoft Azure China
> cloudsigma         5  hnl            cloudsigma  CloudSigma Cloud
> google             6  us-east1       gce         Google Cloud Platform
> joyent             6  eu-ams-1       joyent      Joyent Cloud
> rackspace          6  dfw            rackspace   Rackspace Cloud
> localhost          1  localhost      lxd         LXD Container Hypervisor
> *mystack            1  RegionOne      openstack   Openstack Cloud*
>
>
> After adding it, I tried to bootstrap but I encounter authentication
> failed error.
>
> ~$ juju bootstrap -v
> Clouds
> aws
> aws-china
> aws-gov
> azure
> azure-china
> cloudsigma
> google
> joyent
> localhost
> mystack
> openstack
> rackspace
>
> Select a cloud [localhost]: mystack
>
> Enter a name for the Controller [mystack-RegionOne]:
>
> *ERROR authentication failed.*
>
> *Please ensure the credentials are correct*. A common mistake is
> to specify the wrong tenant. Use the OpenStack "project" name
> for tenant-name in your model configuration.
>
>
> I have checked google a lot but found no solution for this. So, Can anyone
> help me out regarding all this
>
>
> Regards,
> Shweta
> Tata Consultancy Services,
> Gurgaon
> Mailto: Shwet.2 at tcs.com
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/juju-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20170213/d8ec0f49/attachment.html>


More information about the Juju-dev mailing list