Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to connect to schedd #15

Closed
patrickbryant opened this issue Sep 21, 2022 · 4 comments
Closed

Failing to connect to schedd #15

patrickbryant opened this issue Sep 21, 2022 · 4 comments

Comments

@patrickbryant
Copy link

I have been unable to get even simple_example.py to work since last week.

I have tried using older coffea-dask images and tried switching to a new interactive node, all with the same error:

Singularity> python simple_example.py
WARNING: GSI authentication is enabled by your security configuration! GSI is no longer supported.
For details, see https://htcondor.org/news/plan-to-replace-gst-in-htcss/
/opt/conda/lib/python3.8/site-packages/coffea/util.py:154: FutureWarning: In coffea version v0.8.0 (target date: 31 Dec 2022), this will be an error.
(Set coffea.deprecations_as_errors = True to get a stack trace now.)
ImportError: coffea.hist is deprecated
  warnings.warn(message, FutureWarning)
Waiting for at least one worker...
Failed to connect to schedd.
Task exception was never retrieved
future: <Task finished name='Task-46' coro=<_wrap_awaitable() done, defined at /opt/conda/lib/python3.8/asyncio/tasks.py:688> exception=AssertionError()>
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/asyncio/tasks.py", line 695, in _wrap_awaitable
    return (yield from awaitable.__await__())
  File "/opt/conda/lib/python3.8/site-packages/distributed/deploy/spec.py", line 64, in _
    assert self.status == Status.running
AssertionError
@lgray
Copy link
Contributor

lgray commented Sep 21, 2022

This one is really weird as I cannot reproduce it... Does condor_q work for you from within the container?

@patrickbryant
Copy link
Author

Hmm, no it does not:

Singularity> condor_q

Neither the environment variable CONDOR_CONFIG,
/etc/condor/, /usr/local/etc/, nor ~condor/ contain a condor_config source.
Either set CONDOR_CONFIG to point to a valid config source,
or put a "condor_config" file in /etc/condor/ /usr/local/etc/ or ~condor/
Exiting.

@patrickbryant
Copy link
Author

The env created for me by the shell script has no /etc/condor directory... I gather this directory should exist: #11

@patrickbryant
Copy link
Author

I needed to delete the .local dir in my home dir which was replacing the .local in the singularity env for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants