It looks like 'desire_conf' settings is ignored by sentinel
My 'sentinel.conf' file is:
# specify path to desire.conf or leave blank
# default is the same as DesireCore
desire_conf=/home/wal/dsr-mn2/desire.conf
# valid options are mainnet, testnet (default=mainnet)
network=mainnet
#network=testnet
# database connection details
db_name=database/sentinel.db
db_driver=sqlite
Ouptup of './venv/bin/py.test ./test'
~/sentinel$ ./venv/bin/py.test ./test
================================== test session starts ==================================
platform linux2 -- Python 2.7.12, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
rootdir: /home/vvn/sentinel, inifile:
collected 14 items / 2 errors
======================================== ERRORS =========================================
__________________ ERROR collecting test/unit/models/test_proposals.py __________________
test/unit/models/test_proposals.py:10: in
from models import GovernanceObject, Proposal, Vote
lib/models.py:5: in
import init
lib/init.py:103: in
main()
lib/init.py:100: in main
sys.exit(1)
E SystemExit: 1
------------------------------------ Captured stdout ------------------------------------
[Errno 2] No such file or directory: '/home/vvn/.desirecore/desire.conf'
DesireCore must be installed and configured, including JSONRPC access in desire.conf
_________________ ERROR collecting test/unit/models/test_superblocks.py _________________
test/unit/models/test_superblocks.py:10: in
from models import GovernanceObject, Proposal, Superblock, Vote
lib/models.py:5: in
import init
lib/init.py:103: in
main()
lib/init.py:100: in main
sys.exit(1)
E SystemExit: 1
------------------------------------ Captured stdout ------------------------------------
[Errno 2] No such file or directory: '/home/vvn/.desirecore/desire.conf'
DesireCore must be installed and configured, including JSONRPC access in desire.conf
!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!
================================ 2 error in 1.45 seconds ================================
I "solved" it by creating symlinks
ln -s /home/wal/dsr-mn2/desire.conf /home/vvn/.desirecore
Of course, this won't work with multiple MN as it seems in your case
I suspect, however, this is only related to tests. Even symlinking won't make the tests pass, because all hashes/roots/etc. on the tests are dash ones, not desire, thus failing pretty much everything.