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


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to