project-receptor / python-receptor

Project Receptor is a flexible multi-service relayer with remote execution and orchestration capabilities linking controllers with executors across a mesh of nodes.
Other
32 stars 21 forks source link

Receptor can be run with nonexistent config specified #225

Open lhellebr opened 4 years ago

lhellebr commented 4 years ago
# systemctl start receptor@DUMMY
# systemctl status receptor@*
● receptor@DUMMY.service - Receptor Node for DUMMY
   Loaded: loaded (/etc/systemd/system/receptor@.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2020-05-20 08:09:38 EDT; 7s ago
 Main PID: 11328 (receptor)
   CGroup: /system.slice/system-receptor.slice/receptor@DUMMY.service
           └─11328 /usr/bin/python3 /usr/bin/receptor -c /etc/receptor/DUMMY/receptor.conf -d /var/data/receptor/DUMMY node

May 20 08:09:38 dhcp-2-50.vms.sat.rdu2.redhat.com systemd[1]: Started Receptor Node for DUMMY.

The same happens when invoking the receptor command directly. I'd expect an error message and failure here.

zedr commented 3 years ago

Confirmed when installing the Receptor Plugin (receptor-0.6.3-2.el7) for Ansible Tower 3.8.1