No edit summary |
|||
Line 7: | Line 7: | ||
With Folsom RPMs (f18 updates-testing or f17 "preview" http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-openstack-folsom.repo) authtoken middleware can be configured in the application's config file https://review.openstack.org/#/c/10579/ | With Folsom RPMs (f18 updates-testing or f17 "preview" http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-openstack-folsom.repo) authtoken middleware can be configured in the application's config file https://review.openstack.org/#/c/10579/ | ||
Steps to remove middleware config from paste-ini: | Steps to remove middleware config from paste-ini: | ||
* Nova | * Nova | ||
$> sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken admin_tenant_name | $> sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken admin_tenant_name | ||
$> sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken admin_user | $> sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken admin_user | ||
Line 15: | Line 15: | ||
$> sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_user nova | $> sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_user nova | ||
$> sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_password servicepass | $> sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_password servicepass | ||
* Glance | |||
$> sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken admin_tenant_name | |||
$> sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken admin_user | |||
$> sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken admin_password | |||
$> sudo openstack-config --set /etc/glance/glance-api.conf paste_deploy flavor keystone | |||
$> sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_tenant_name service | |||
$> sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_user glance | |||
$> sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_password servicepass | |||
$> sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken admin_tenant_name | |||
$> sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken admin_user | |||
$> sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken admin_password | |||
$> sudo openstack-config --set /etc/glance/glance-registry.conf paste_deploy flavor keystone | |||
$> sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_tenant_name service | |||
$> sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_user glance | |||
$> sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_password servicepass |
Revision as of 15:29, 10 September 2012
Nova Network Setup
Please note in "Nova Network Setup" if you use a network other than 10.0.0.0/8 You must also add a corresponding "fixed_range" in /etc/nova/nova.conf and restart the nova network service, or reboot.
cfg-authtoken
With Folsom RPMs (f18 updates-testing or f17 "preview" http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-openstack-folsom.repo) authtoken middleware can be configured in the application's config file https://review.openstack.org/#/c/10579/ Steps to remove middleware config from paste-ini:
- Nova
$> sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken admin_tenant_name $> sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken admin_user $> sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken admin_password $> sudo openstack-config --set /etc/nova/nova.conf DEFAULT auth_strategy keystone $> sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_tenant_name service $> sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_user nova $> sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_password servicepass
- Glance
$> sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken admin_tenant_name $> sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken admin_user $> sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken admin_password $> sudo openstack-config --set /etc/glance/glance-api.conf paste_deploy flavor keystone $> sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_tenant_name service $> sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_user glance $> sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_password servicepass $> sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken admin_tenant_name $> sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken admin_user $> sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken admin_password $> sudo openstack-config --set /etc/glance/glance-registry.conf paste_deploy flavor keystone $> sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_tenant_name service $> sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_user glance $> sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_password servicepass