[Openstack-devel] Would like to write OpenStack Documentation / HOW-TO for Debian

Julien Danjou acid at debian.org
Thu Feb 23 09:45:53 UTC 2012


On Thu, Feb 23 2012, Alexey Eromenko wrote:

> 1. Create two MySQL databases and associated users :
>
> # mysqladmin create nova
> # mysql -e "grant all on nova.* to '<nova_user>' identified by '<nova_secret>'"
> # mysqladmin flush-privileges
>
> It is unclear -- it can be any user ?
> Assuming I have a user "myuser" with passwrd "123456", I type:
> # mysql -e "grant all on nova.* to 'myuser' identified by '123456'"
> ?
>
> Or it must be some specific OpenStack user ?
> Will 'root' work ?
> Password must match to the /etc/passwd one ?

It's MySQL users, see:

     http://dev.mysql.com/doc/refman/5.5/en/adding-users.html

for more explanation.

> 2. What is %tenant_id%  ?
>
> Endpoint templates for the region :
>
> # keystone-manage endpointTemplates add RegionOne nova
> http://<proxy.host>:8774/v1.1/%tenant_id%
> http://<proxy.host>:8774/v1.1/%tenant_id%
> http://<proxy.host>:8774/v1.1/%tenant_id% 1 1
>
> Nowhere in this document it is mentioned.

It's meant to be typed as it its, it will be substitued by Keystone
itself later.

> 3. keystone configuration:
>
> # keystone-manage role grant Admin admin admin
> # keystone-manage role grant Admin admin
>
> Why I need those 2 lines ?
> Short explanation (or a link to explanation) would largely help.

I'm not sure both lines are really needed, but anyway I've added an
explanation for all on the wiki.

> 4. glance configuration:
>
> Docs Says: "Glance-common will ask you which pipeline flavor you want.
> Choose keystone. "
>
> Assuming I have mistakenly chose another option, how can I revert it ?
> I tried to purge and then re-install this package, but it didn't help.

dpkg-reconfigure glance-common

-- 
Julien Danjou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20120223/cf817938/attachment-0001.pgp>


More information about the Openstack-devel mailing list