History | View | Annotate | Download (4.5 kB)
Merge branch 'devel-2.3'
Conflicts: lib/cmdlib.py: Trivial qa/ganeti-qa.py: Trivial...
ensure-dirs: Speed up when using big queues
The “ensure-dirs” script as included in Ganeti 2.3 is very slow whenworking with big queues requiring a change of permissions on many or allfiles.
$ find /var/lib/ganeti/queue/ | wc -l52354
Before this change:...
Move “rapi_users” file into separate directory
This reduces the number of notifications in “ganeti-rapi”. Until now itwas notified for every change in …/lib/ganeti and had to check whetherthe users file was affected. A symlink is always created in cfgupgrade...
Allow ensure-dirs to run partially and skip big file chunks
The startup of the daemons would take a lot of time otherwise,also it's not needed to set the permissions of those file overand over again, because if the daemons are once migrated to theuser they will keep creating the file for that user....
Adapt ensure-dirs to accomodate the additional permissions and files
Please note that this can and will be improved over time. There are discussionsabout automated file generation of ensure-dirs so we can really keep all thepermissions and file ownerships in one place. Because right now they are all...
ensure-dirs: don't fail if no rapi log is present
Sometimes a node has never been a master. Or ran rapi. In that case weneed to create the file (because if later rapi gets started, it won't beable to create it itself).
Signed-off-by: Guido Trotter <ultrotter@google.com>...
Let daemon-utils fix the owners for ganeti-rapi
This is a workaround until we fully switched to user separation and fixes theowners of directories/log files so ganeti-rapi will start flawlessly. This isright now run for every daemon but as it operates on a relatively small subset...