Statistics
| Branch: | Tag: | Revision:

root / db / db_controller.py @ 92c53da1

History | View | Annotate | Download (4.3 kB)

# Date Author Comment
a5c17ad3 03/17/2011 03:49 am Dimitris Moraitis

fix settings import

c58091a6 03/03/2011 06:49 pm Vangelis Koukis

Fix db/db_controller.py bug triggering 0mq bug

Fix db/db_controller.py bug triggering 0mq assertion failure
in ganeti-0mqd, by forcing unique ZMQ_IDENTITY strings for each
db_controller instance.

The identity string is built using the hostname where db_controller...

c92af313 02/22/2011 03:41 pm Vangelis Koukis

Minor fixes in VM model and db_controller.py

Added comments for VirtualMachine attributes pertaining
to internal operating state (ACTIONS, OPER_STATES, etc.).

Minor fixes in db_controller.py.

5db87ed5 02/15/2011 01:21 am Vangelis Koukis

Make ZMQ thread in db_controller stoppable.

Make db_controller run all 0mq operations in a separate StoppableThread
with a stop() method. The main thread calls it, then publishes on an in-proc
PUB socket to interrupt any zmq_recv() call and join the thread when cleaning...

78d9b6b7 02/10/2011 06:42 pm Vangelis Koukis

Private fields in VM model, updated fixtures

Updated names of fields pertaining to VM state in VirtualMachine model,
updated fixtures.

database.sqlite can be removed, use:

rm database.sqlite; python manage.py syncdb

to recreate it from fixtures.

21f59a5d 02/10/2011 12:35 pm Vangelis Koukis

Use zmq_recv() in dedicated thread in db_controller.

It seems Python can only do signal processing in the main thread.
If the main thread calls zmq_recv(), no exceptions get raised
when a SIGINT is received for example.

WIP:
This moves the zmq_recv() to a separate thread, while the main...

86221fd5 02/09/2011 09:31 am Panos Louridas

Fix path issue.

d08a5f6f 02/08/2011 11:32 pm Vangelis Koukis

What commit b4141604 should have contained.

The proper contents of commit b4141604 are included here.


d7c1ed72 02/05/2011 09:18 pm Vassilios Karakoidas

rename dbcontrol and charger into proper python name