Glance:
must edit /etc/my.cnf since the sql it used exceed the limit of sql lenght.
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
max_allowed_packet=10M
wait_timeout=28800
interactive_timeout = 28800
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
max_allowed_packet=10M
wait_timeout=28800
interactive_timeout = 28800
support ovf:
glance add name=lucid_ovf disk_format=vhd container_format=ovf is_public=True < lucid.ova
dashboard:
service memcached start
ECS on keystone:
keystone-manage credentials add admin EC2 'xyz' 'PASSWORD'
export EC2_ACCESS_KEY=xyzexport EC2_SECRET_KEY=PASSWORD
export EC2_URL="http://192.168.1.101:8773/services/Cloud"
PyDev nova-compute:
we must modify the nova-compute like this:
import eventlet
#eventlet.monkey_patch()
eventlet.monkey_patch(all=False, socket=True, select=True)
else it will complain:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 336, in fire_timers
timer()
File "/usr/lib/python2.6/site-packages/eventlet/hubs/timer.py", line 56, in __call__
cb(*args, **kw)
File "/usr/lib/python2.6/site-packages/eventlet/semaphore.py", line 95, in _do_acquire
waiter.switch()
error: cannot switch to a different thread
Develop OpenStack env On redhat:
cd /root/git/glance/toolsmodify piprequires and then insall pre
pip-python install -r piprequires