Talk:Getting started with OpenStack on Fedora 17

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(cfg-authtoken)
 
Line 8: Line 8:
 
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
  $> sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken admin_password
+
  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 --del /etc/nova/api-paste.ini filter:authtoken auth_host
  $> sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_tenant_name service
+
sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken auth_port
  $> sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_user nova
+
sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken auth_protocol
  $> sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_password servicepass
+
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
 +
sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_host 127.0.0.1
 +
sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_port 35357
 +
sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_protocol http
 
* Glance
 
* 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_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_user
  $> sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken admin_password
+
  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 --del /etc/glance/glance-api-paste.ini filter:authtoken auth_host
  $> sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_tenant_name service
+
sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken auth_port
  $> sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_user glance
+
sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken auth_protocol
  $> sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_password servicepass
+
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 --set /etc/glance/glance-api.conf keystone_authtoken auth_host 127.0.0.1
 +
sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken auth_port 35357
 +
sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken auth_protocol http
 
   
 
   
  $> 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_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_user
  $> sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken admin_password
+
  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 --del /etc/glance/glance-registry-paste.ini filter:authtoken auth_host
  $> sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_tenant_name service
+
sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken auth_port
  $> sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_user glance
+
sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken auth_protocol
  $> sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_password servicepass
+
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
 +
sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken auth_host 127.0.0.1
 +
sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken auth_port 35357
 +
sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken auth_protocol http

Latest revision as of 17:50, 10 September 2012

[edit] 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.

[edit] 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 --del /etc/nova/api-paste.ini filter:authtoken auth_host
sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken auth_port
sudo openstack-config --del /etc/nova/api-paste.ini filter:authtoken auth_protocol
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
sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_host 127.0.0.1
sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_port 35357
sudo openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_protocol http
  • 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 --del /etc/glance/glance-api-paste.ini filter:authtoken auth_host
sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken auth_port
sudo openstack-config --del /etc/glance/glance-api-paste.ini filter:authtoken auth_protocol
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 --set /etc/glance/glance-api.conf keystone_authtoken auth_host 127.0.0.1
sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken auth_port 35357
sudo openstack-config --set /etc/glance/glance-api.conf keystone_authtoken auth_protocol http

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 --del /etc/glance/glance-registry-paste.ini filter:authtoken auth_host
sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken auth_port
sudo openstack-config --del /etc/glance/glance-registry-paste.ini filter:authtoken auth_protocol
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
sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken auth_host 127.0.0.1
sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken auth_port 35357
sudo openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken auth_protocol http