rock
rock copied to clipboard
Rock Deploy created extra Stenographer Dirs
After deploying RockNSM ansible creates directories for Stenographers Packets and Index for each interface it found. These are created one level to high which gets confusing after stenographer starts because it will create the correct dirs.
The path they are created is
/data/stenographer/<interface name>/index
/data/stenographer/<interface name>/packets
the correct path should actually be
/data/stenographer/<interface name>/thread0/index
/data/stenographer/<interface name>/thread/packets
Here is the relevant task:
- name: Create stenographer directories
file:
path: "{{ stenographer_data_dir }}/{{ item[0] }}/{{ item[1] }}"
mode: 0755
owner: "{{ stenographer_user }}"
group: "{{ stenographer_group }}"
state: directory
with_nested:
- "{{ stenographer_monitor_interfaces }}"
- [ 'index', 'packets' ]