Project

General

Profile

Actions

Bug #12172

closed

can not change back BufferHostData buffer bass path if used buffer_host_setup.py to change it to something else.

Added by Anchi Cheng about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
03/03/2022
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.5
Show in known bugs:
No
Workaround:

Description

This is a bug due to insertion is not forced, but best to clean up so new row does not get added on the same camera-buffer host.

Actions #1

Updated by Dennis S about 2 years ago

Would it be possible to allow the buffer_host_setup.py to be ran in an non-interactive mode (by specifying values as arguments)? This way I could automate it to minimize such errors. Thank you.

Actions #2

Updated by Anchi Cheng about 2 years ago

Done.

Usage: buffer_host_setup.py [options]

Options:
-h, --help show this help message and exit
--buffer_host=BUFFER_HOST
Buffer hostname to setup, e.g. --buffer_host=buffer01
--base_path=PATH root path where frames are put on the buffer host. For
example, instead of
primary_storage_host:/data/frames/sessionname, you
want to put it under
buffer_host:/bufferdata/frames/sessionname, you should
enter /bufferdata.
--camera_host=CAMERA_HOST
Camera hostname to setup, e.g.
--camera_host=scope1cam1
--change_status Change status of the existing record

Actions #3

Updated by Anchi Cheng over 1 year ago

  • Status changed from New to Closed

works

Actions

Also available in: Atom PDF