Comments (2)
Ah, this is likely the problem:
flux-core/src/common/libflux/attr.c
Lines 107 to 149 in 6fe8a9b
when the parent-uri
attribute is fetched, flux_attr_get(3)
checks for an environment variable set by flux-proxy
and attempts to instead provide a remote uri. However, the name parent-uri
is updated to parent-remote-uri
before checking the cache, so if parent-remote-uri
is not already cached, then this call always results in an RPC, even if parent-uri
is cached.
This breaks the assumption in broker/module.c
attr_cache_to_json()
that all attrs returned by flux_attr_cache_first()
and flux_attr_cache_next()
will not result in an RPC.
Additionally, even if we fixed the cache check to avoid the RPC, the wrong value for parent-uri
would be set in the json representation of the cache passed to the module since it will have been translated to a remote URI.
Probably the right solution for now is to just unset FLUX_PROXY_REMOTE
in the broker (along with FLUX_URI
), since once another broker is started, the broker and its descendants are no longer under the influence of a remote flux proxy
. However, probably the cache check noted above should also be fixed, and maybe the whole way the uri is auto-translated to its remote equivalent should have another think...
from flux-core.
I did verify that unsetenv ("FLUX_PROXY_REMOTE");
early in the broker avoids this issue.
from flux-core.
Related Issues (20)
- rank0 broker crash at instance exit with large number of cancelled jobs HOT 5
- job shell spinning after openmpi hang
- Using local machine and restrict the maximum CPU can be used HOT 7
- kvs[0]: error_event_cb: received unknown namespace HOT 4
- job-exec: job namespaces orphaned after submit/kill test workload
- t2492-shell-lost.sh issue test sometimes kills wrong process HOT 5
- flux-top: error decoding a job record from job-list RPC HOT 8
- support `--taskmap=hostfile:PATH`
- support a default urgency (or priority adjustment) for queues
- jobs with resources assigned by alloc-bypass are included in scheduler hello response HOT 1
- C preprocessor "clang-cpp" fails sanity check HOT 9
- t2492-shell-lost.sh: job gets SIGINT too early HOT 1
- ci: asan build randomly failing HOT 2
- librlist: support gpus in rlist_set_allocated()
- testsuite: FAIL: t4000-issues-test-driver.t 1 - t4583-free-range-test HOT 13
- job-exec: job takes longer than necessary to terminate after a node failure
- future fulfilled with unspecified error when broker exits HOT 1
- t2812-flux-job-last.t sporadic hangs in CI HOT 2
- flux submit/bulksubmit doesn't preserve mustache templates in command
- flux-resource list processing is very slow HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flux-core.