sabbio93 / jujuBundles

0 stars 0 forks source link

Errore aggiunta openstack come cloud di juju #5

Open sabbio93 opened 6 years ago

sabbio93 commented 6 years ago

18:23:44 INFO juju.cmd supercommand.go:56 running juju [2.3.4 gc go1.9.2] 18:23:44 DEBUG juju.cmd supercommand.go:57 args: []string{"/snap/juju/3591/bin/juju", "bootstrap", "mystack", "--debug"} 18:23:44 DEBUG juju.cmd.juju.commands bootstrap.go:835 authenticating with region "RegionOne" and credential "admin" () 18:23:44 DEBUG juju.cmd.juju.commands bootstrap.go:963 provider attrs: map[external-network: use-openstack-gbp:false policy-target-group: use-floating-ip:false use-default-secgroup:false network:] 18:23:45 INFO cmd authkeys.go:114 Adding contents of "/home/ubuntu/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys 18:23:45 INFO cmd authkeys.go:114 Adding contents of "/home/ubuntu/.ssh/id_rsa.pub" to authorized-keys 18:23:45 DEBUG juju.cmd.juju.commands bootstrap.go:1019 preparing controller with config: map[use-default-secgroup:false image-metadata-url: transmit-vendor-metrics:true apt-https-proxy: max-action-results-size:5G use-openstack-gbp:false max-status-history-size:5G default-series:xenial container-inherit-properties: agent-metadata-url: test-mode:false max-action-results-age:336h uuid:bb737caa-9b7d-45bf-8d29-4b0ea93a1083 external-network: provisioner-harvest-mode:destroyed enable-os-refresh-update:true name:controller http-proxy: disable-network-management:false ignore-machine-addresses:false no-proxy:127.0.0.1,localhost,::1 cloudinit-userdata: fan-config: max-status-history-age:336h development:false egress-subnets: update-status-hook-interval:5m type:openstack ssl-hostname-verification:true apt-http-proxy: apt-no-proxy: ftp-proxy: policy-target-group: logforward-enabled:false https-proxy: container-networking-method: apt-mirror: firewall-mode:instance net-bond-reconfigure-delay:17 apt-ftp-proxy: resource-tags: automatically-retry-hooks:true network: proxy-ssh:false agent-stream:released image-stream:released logging-config: use-floating-ip:false enable-os-upgrade:true authorized-keys:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtK6GY6FPgvIM6JJB6/Xw7ZPgBUCSL/G7UaJqMPZKto8KW96FvezT5nEjrb/xK/j/hkb/pDBS2E6cHluLRzeu8aqPIGREBW7TtxeNWI6CTVPT4Dp3LzTcS+KjFXQxOt6oHG/mutn+ll/s4L3ra/fufWu4wfLlgRSxNQm/Dwplo0ymI1Pjr09GR5oozyLTDnp+wRVs0Ef5CAHd6VHwyLJD7V5nPTKIa1GJBuvhL7kA/PcvPfupjUi7Hm+KdMgDXxBM2Rd1CG14SW3f1VnvUDQ+b7SWLV5XM705uzN8OGFr//ybahhLHjmIwI3eAnpFTyihbHJpTDMSPSdXVq52wVXbF juju-client-key ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDR/I7sEly7QHvqmvWVk8TSDUyL2NCSorh0O+gbCv2AyzFDiWQQiZ7WirH4KlQC7bW8Vy6EI9U/EWdvz4XmnK7AIb8q8U2evhOWuobf4zRfFg9yNQK/LhupB7PhBHSjV1tXR72vVUG2I/9mZGzqYDZpUbd2rjwW5FtruQl4KtBooT/zOWeyHOLSxkvwtI8QflzsdRSTiqcW8Q5yd0s0BtAri0D+m1XblZ/mdY3CMG3RK45zeoQM9NP4+xGrs/aPz91Rivwf8B67biOo6Nys44m+uHdOzMXnF9EOxpSwrt1q70YnAyrO/Sfzzx6+42k3TU4vk+tQoxyzLHqnDrMmhG/f ubuntu@ubuntu ] 18:23:45 INFO juju.provider.openstack provider.go:144 opening model "controller" 18:23:46 DEBUG goose :1 auth details: &{Token:2f91b19f35684020a38206c30b7f29e5 TenantId: UserId:fe00c841cf5e41648247511035e92c75 Domain:admin_domain RegionServiceURLs:map[RegionOne:map[metric:http://192.168.211.215:8041 image:http://192.168.211.213:9292 network:http://192.168.211.212:9696 cloudformation:http://192.168.211.216:8000/v1 alarming:http://192.168.211.8:8042 object-store:http://192.168.211.204:80/swift/v1 identity:http://192.168.211.205:5000/v3 placement:http://192.168.211.207:8778]]} 18:23:46 DEBUG juju.provider.openstack provider.go:803 authentication failed: cannot create service URLs caused by: the configured region "RegionOne" does not allow access to all required services, namely: compute access to these services is missing: compute 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. 18:23:46 DEBUG cmd supercommand.go:459 error stack: github.com/juju/juju/provider/openstack/provider.go:804: 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. github.com/juju/juju/environs/bootstrap/prepare.go:163: github.com/juju/juju/environs/bootstrap/prepare.go:99: github.com/juju/juju/cmd/juju/commands/bootstrap.go:480:

passi per riprodurlo: Cloud Types maas manual openstack oracle vsphere

Select cloud type: openstack

Enter a name for your openstack cloud: mystack

A cloud named "mystack" already exists. Do you want to replace that definition? (y/N): y

Enter the API endpoint url for the cloud: http://192.168.211.205:5000/v3

Auth Types access-key userpass

Select one or more auth types separated by commas: access-key, userpass

Enter region name: RegionOne

Enter the API endpoint url for the region [use cloud api url]:

Enter another region? (Y/n): n

Cloud "mystack" successfully added You may bootstrap with 'juju bootstrap mystack' ubuntu@ubuntu:~$ juju bootstrap mystack --debug