Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I am trying to bootstrap juju 2.0 on a private openstack cloud. I am using 14.04.3 images in glance, trying to generate my own metadata.
- Running:
- juju metadata generate-image -a amd64 -i 0f719993-0ffa-4202-bc13-de2540f0e0bb -r RegionOne -s wily -d /home/ubuntu -u http://192.168.4.11:5000/v2.0
- gives me the error that :
- WARNING model could not be opened: model "" not found
- ERROR streams/v1/index2.sjson not accessed, actual error: invalid URL "file:///home/ubuntu/images/streams/v1/index2.sjson" not found
- ERROR streams/v1/index2.json not accessed, actual error: invalid URL "file:///home/ubuntu/images/streams/v1/index2.json" not found
- Image metadata files have been written to:...
- If I specify -m ~/environments.yaml on the juju metadata generate-image command, tells me:
- WARNING model could not be opened: model "environments.yaml" not found
- If I set JUJU_MODEL=dr, it tells me it can't find dr.
- ## contents of /home/ubuntu/.local/share/juju/clouds.yaml
- clouds:
- dr:
- type: openstack
- auth-types: [userpass]
- regions:
- RegionOne:
- endpoint: http://192.168.4.11:5000/v2.0
- ## contents of /home/ubuntu/.local/share/juju/environments.yaml
- environments:
- dr:
- type: openstack
- use-floating-ip: false
- use-default-secgroup: false
- network: admin_internal_net
- auth-url: http://192.168.4.11:5000/v2.0
- region: RegionOne
- auth-mode: userpass
- tenant-name: juju
- username: juju
- password: supersecretpassword
- ## output of juju list-clouds:
- CLOUD TYPE REGIONS
- ...
- local:dr openstack RegionOne
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement