Wednesday 26 June 2013

DevStack setup

1, if you met the issue/error related to keystone: 

keystone-manage can stopped unexpectedly;


This is due to MySQL root password. If you have MySQL installed before the devstack setup. The root password may not be the same as the ADMIN_PASSWORD in localrc config file.


use the following command to change the root password for MySQL:


$ mysqladmin -u root -p'oldpassword' password newpass



refer to the following article:

http://www.cyberciti.biz/faq/mysql-change-root-password/

2, by default swift and quantum are not installed by the stack.sh.

refer to wiki of QuantumDevstack for installation of Quantum.

disable_service n-net 
enable_service q-svc 
enable_service q-agt 
enable_service q-dhcp 
enable_service q-l3 
enable_service q-meta 
enable_service quantum 
# Optional, to enable tempest configuration as part of devstack 
enable_service tempest

to enable swift, add followings to localrc
enable_service swift

3, if met quantum server can not be started, if may be caused by an old version of oslo.
refer to following bug fixing on launchpad
https://bugs.launchpad.net/neutron/+bug/1194807

openstack/common/db/sqlalchemy/session.py", line 283, in <module>
    deprecated_opts=[cfg.DeprecatedOpt('sql_connection',
AttributeError: 'module' object has no attribute 'DeprecatedOpt'
Seems that something was merged in quantum that depends on trunk unreleased oslo components.
Oslo version I've installed: oslo.config-1.1.1

No comments:

Post a Comment