Something seems to have gone wrong and I’m either no longer able to create a butler or to connect to the dp0.2 data? The error below occurs in any code I try to run, including tutorial 4a.
Any ideas what might be causing this? It was working fine about a week ago. I then started trying to run tutorial 9 with a previous weekly build, but not sure this error is related. I restarted my server several times with the recommended build.
The RSP notebook troubleshooting guide ( link ) suggests possibly removing or renaming the .local file in your home directory on the RSP. Then you might try logging out and back in to the RSP again. If that doesn’t work, I’ll need to consult with others. I hope it works! Let me know! Thanks!
Thanks for the suggestion. I tried renaming the .local directory then logging back in but got the same result, though it did create a new .local.
But this might be on the right track. I was messing around with installing RAPID (unsuccessfully) and definitely might have broken some dependency somewhere.
$ env | grep ‘^PG’
PGPASSFILE=/home/bmorsony/.lsst/postgres-credentials.txt
$ keyring --disable
Traceback (most recent call last):
File “/opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-6.0.0/bin/keyring”, line 11, in
sys.exit(main())
File “/opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-6.0.0/lib/python3.10/site-packages/keyring/cli.py”, line 134, in main
return cli.run(argv)
File “/opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-6.0.0/lib/python3.10/site-packages/keyring/cli.py”, line 64, in run
core.disable()
File “/opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-6.0.0/lib/python3.10/site-packages/keyring/core.py”, line 48, in disable
raise RuntimeError(msg)
RuntimeError: Refusing to overwrite /home/bmorsony/.config/python_keyring/keyringrc.cfg
$ pgcli -h 10.163.0.3 -d idfdp02 -u postgres
Password for postgres:
connection failed: FATAL: password authentication failed for user “postgres”
connection to server at “10.163.0.3”, port 5432 failed: FATAL: password authentication failed for user “postgres”
The pgcli command ask for a password. This looks similar to the error I get when starting a butler, so maybe there’s a password missing somewhere for me?
OK, so somehow your postgres-credentials.txt has been modified. Try moving it aside (mv ~/.lsst/postgres-credentials.txt ~/.lsst/postgres-credentials-old.txt) and restarting your server.
(Please don’t post credentials in public places without redaction.)
That’s definitely incomplete, and it’s also definitely not your fault. The RSP admins will have to look into why there’s no entry for 10.163.0.3:5432:idfdp02:postgres which is needed to access the dp02 Butler repo.