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

proxy does not work on ruby #3604

Closed
JaeseungYeom opened this issue Apr 21, 2021 · 6 comments
Closed

proxy does not work on ruby #3604

JaeseungYeom opened this issue Apr 21, 2021 · 6 comments

Comments

@JaeseungYeom
Copy link

It returns incorrect URL

@dongahn
Copy link
Member

dongahn commented Apr 21, 2021

Do you have an example trace of this failure @JaeseungYeom ?

@JaeseungYeom
Copy link
Author

JaeseungYeom commented Apr 21, 2021

I did not have this problem with the earlier version
commands: 0.21.0-8-gaa542baed
libflux-core: 0.21.0-8-gaa542baed
build-options: +hwloc==1.11.0

I cloned the latest today, and the version which is
commands: 0.25.0-51-ged8a7d2f1
libflux-core: 0.21.0-8-gaa542baed
build-options: +hwloc==1.11.0

When I start flux with the following script

#!/bin/sh
echo "ssh://$(hostname)$(flux getattr broker.rundir)" | tee flux.info
sleep inf

It only returns "ssh://ruby3"

@JaeseungYeom
Copy link
Author

However, without proxy, I was able to do my usual stuffs using 'mini submit' without problem.
Someone else ran it on quartz, he did not have proxy issue over there.

@SteVwonder
Copy link
Member

With v0.25.0, I think the attribute is now just called rundir:

$ flux getattr broker.rundir
flux-getattr: broker.rundir: No such file or directory
$ flux getattr rundir
/tmp/flux-GCUXf0

@garlick
Copy link
Member

garlick commented Apr 21, 2021

The local URI path has changed too. You might want to start with local-uri instead e.g.

$ flux getattr local-uri
local:///tmp/flux-b3GqFo/local-0
$ echo "ssh://$(hostname)$(flux getattr local-uri | sed -e 's!local://!!')"
ssh://sun1/tmp/flux-b3GqFo/local-0

@JaeseungYeom
Copy link
Author

I am able to run proxy now. Thanks

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

4 participants