Comment 4 for bug 1591488

Revision history for this message
Nicolas Thomas (thomnico) wrote : Re: [Bug 1591488] Re: remove deprecated option --metadata-source

Hi Cheryl,

Can't remember and does not really matter..

I did a script to automate the process and use swift here
http://bazaar.launchpad.net/~thomnico/sademos/juju-on-openstack-resumed/view/head:/openstack/configure-juju-on-openstack

Which is much better anyway.

If not deprecated then it is totally broken ... this part is your call :)

On Thu, Jun 30, 2016 at 10:17 AM, Cheryl Jennings
<email address hidden> wrote:
> Nicolas - who did you speak with to determine that --metadata-source is
> not a valid option anymore?
>
> In talking with other core folks, I'm not sure that it should be
> deprecated / removed.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1591488
>
> Title:
> remove deprecated option --metadata-source
>
> Status in juju-core:
> Triaged
>
> Bug description:
> Context:
>
> From a "jumpserver" on a private openstack. I validate nova list etc..
> works..
>
> For 2.0 :
>
> Tried:
> $juju bootstrap openstack openstack --metadata-source=/home/ubuntu/ --config network=private --upload-tools --debug -v
> 2016-06-11 10:52:44 INFO juju.cmd supercommand.go:60 running juju [2.0-beta7 gc go1.6.1]
> 2016-06-11 10:52:44 DEBUG juju.cmd.juju.commands bootstrap.go:354 preparing controller with config: map[controller-uuid:d3e4dea8-83e8-41ff-8c7b-4911fe6bdce6 network:private type:openstack name:admin uuid:d3e4dea8-83e8-41ff-8c7b-4911fe6bdce6]
> 2016-06-11 10:52:44 INFO juju.provider.openstack provider.go:75 opening model "admin"
> 2016-06-11 10:52:44 DEBUG juju.provider.openstack provider.go:725 authURL: http://172.27.60.36:35357/v2.0/
> 2016-06-11 10:52:44 INFO cmd cmd.go:129 Creating Juju controller "local.openstack" on openstack/RegionOne
> 2016-06-11 10:52:44 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default cloud images"
> 2016-06-11 10:52:44 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default ubuntu cloud images"
> 2016-06-11 10:52:45 DEBUG juju.environs.simplestreams simplestreams.go:454 skipping index "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson" because of missing information: index file has no data for cloud {RegionOne http://172.27.60.36:35357/v2.0/} not found
> 2016-06-11 10:52:45 INFO juju.provider.common destroy.go:22 destroying model "admin"
> 2016-06-11 10:52:45 INFO juju.provider.common destroy.go:33 destroying instances
> 2016-06-11 10:52:45 DEBUG juju.provider.openstack provider.go:1080 terminating instances []
> 2016-06-11 10:52:45 INFO juju.provider.common destroy.go:53 destroying storage
> 2016-06-11 10:52:45 DEBUG juju.provider.openstack provider.go:725 authURL: http://172.27.60.36:35357/v2.0/
> 2016-06-11 10:52:46 DEBUG juju.provider.openstack provider.go:725 authURL: http://172.27.60.36:35357/v2.0/
> 2016-06-11 10:52:47 ERROR cmd supercommand.go:448 index file has no data for cloud {RegionOne http://172.27.60.36:35357/v2.0/} not found
>
>
> I notice the same behavior with 1.25 ..
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-core/+bug/1591488/+subscriptions

--
Best Regards,
       Nicolas Thomas
http://insights.ubuntu.com/?p=889
EMEA Solution Architect Canonical
GPG FPR: D592 4185 F099 9031 6590 6292 492F C740 F03A 7EB9