[openstack-dev] [Openstack] [TROVE] Manual Installation Again

Mark Kirkwood mark.kirkwood at catalyst.net.nz
Fri Mar 7 05:19:53 UTC 2014


On 07/03/14 18:03, Mark Kirkwood wrote:
>
>
> The wrong concerns the action given to trove-manage in the "Prepare
> Database" section:
>
> $ trove-manage --config-file=<PathToTroveConf> image_update mysql
>      `nova --os-username trove --os-password trove --os-tenant-name trove
>      --os-auth-url http://<KeystoneIp>:5000/v2.0 image-list | awk
> '/trove-image/ {print $2}'`
>
> This should probably be:
>
> $ trove-manage --config-file=<PathToTroveConf> datastore_version_update
> mysql mysql-5.5 mysql
>      `nova --os-username trove --os-password trove --os-tenant-name trove
>      --os-auth-url http://<KeystoneIp>:5000/v2.0 image-list | awk
> '/trove-image/ {print $2}'` 1
>
> ...which is a bit of a mouthful - might be better to break it into 2 steps.
>


...and I got it wrong too - forgot the package arg, sorry:

$ trove-manage --config-file=<PathToTroveConf> datastore_version_update 
mysql mysql-5.5 mysql
     `nova --os-username trove --os-password trove --os-tenant-name trove
     --os-auth-url http://<KeystoneIp>:5000/v2.0 image-list | awk 
'/trove-image/ {print $2}'` mysql-server-5.5 1

Especially in the light of the above I think a less confusing 
presentation would be:

$ nova --os-username trove --os-password trove --os-tenant-name trove
     --os-auth-url http://<KeystoneIp>:5000/v2.0 image-list | awk 
'/trove-image/ {print $2}'
<image uuid>

$ trove-manage --config-file=<PathToTroveConf> datastore_version_update 
mysql mysql-5.5 mysql <image uuid> mysql-server-5.5 1




More information about the OpenStack-dev mailing list