Comments (6)
@AkihiroSuda PTAL.
from namazu.
container name needs to be specified:
namazu/nmz/cli/container/run/runflag.go
Line 81 in 2162f3d
from namazu.
@AkihiroSuda Thanks for your quick reply
- Look at the usage:
Docker-compatible options:
-d, --detach Run container in background and print container ID (nmz itself runs in foreground)
-i, --interactive Keep STDIN open even if not attached
-p Publish a container's port(s) to the host
--name Assign a name to the container
--rm Automatically remove the container when it exits
-t, --tty Allocate a pseudo-TTY
-v, --volume=[] Bind mount a volume
--volumes-from Mount volumes from the specified container(s)
--privileged Give extended privileges to this containerNamazu-specific options:
-nmz-autopilot Namazu configuration fileNOTE: Unlike docker, COMMAND is mandatory at the moment.
is every command mandatory?
container name needs to be specified:
I follow an example from this which also failed.
Could you plz give a complete cmd example, thank in advance.
from namazu.
[NMZ-DBG] 03:46:11.07: Registering an exploration policy "replayable" (at explorepolicy.go:36)
[NMZ-DBG] 03:46:11.07: Namazu Config=Config{map[string]interface {}{
"restport": int(10080),
"explorepolicyparam": map[string]interface {}{
"faultActionProbability": float64(0.5),
"minInterval": "80ms",
"maxInterval": "3000ms",
"shellActionInterval": "5000ms",
"shellActionCommand": "echo hello $(date)",
},
"clean": "",
"skipinitorchestrator": bool(false),
"validate": "",
"notcleanifvalidationfail": bool(false),
"explorepolicy": "random",
"init": "",
"storagetype": "naive",
"container": map[string]interface {}{
"enableFSInspector": bool(true),
"ethernetNFQNumber": int(42),
"procWatchInterval": time.Duration(1000000000),
"enableEthernetInspector": bool(false),
"enableProcInspector": bool(true),
},
"run": "run.sh",
"pbport": int(-1),
}} (at run.go:50)
prerequisite error: CAP_SYS_NICE is needed.Usage: namazu container run [OPTIONS] IMAGE COMMAND
Run a command in a new Namazu Container
**prerequisite error: CAP_SYS_NICE is needed.**
if cfg.GetBool("container.enableProcInspector") {
if !capInst.Get(cap.EFFECTIVE, cap.CAP_SYS_NICE) {
return fmt.Errorf("CAP_SYS_NICE is needed.")
}
}
from namazu.
docker run -it --privileged=true --cap-add=sys_nice osrg/namazu /bin/bash
solve the prerequisite error: CAP_SYS_NICE is needed
problem
from namazu.
- Wuuuuuu,I had installed the
namazu
successfully.I saw it was running in the daemon:
ng]interface {}{"comment":"injected by the random explorer"}}, "type":"action", "uuid":"7fc53aec-ac4d-4d97-afb4-33aacf17775c", "entity":"_namazu_shell_action_entity"}} (at orchestrator.go:97)
[NMZ-DBG] 02:15:01.25: action Signal{map[string]interface {}{"uuid":"7fc53aec-ac4d-4d97-afb4-33aacf17775c", "entity":"_namazu_shell_action_entity", "class":"ShellAction", "option":map[string]interface {}{"command":"echo hello $(date)", "comments":map[string]interface {}{"comment":"injected by the random explorer"}},
./bin/nmz container run --nmz-autopilot /gopath/src/github.com/osrg/namazu/example/template/config.toml -d --name zk3 -p 2183:2183 --privileged -v /foo:/foo jplock/zookeeper
@AkihiroSuda
how can I watch the fuzzy effect that namazu takes on my zookeeper-server?
from namazu.
Related Issues (20)
- Apply Namazu to logcabin
- Apply Namazu to TiKV, TiDB HOT 2
- Flaky test? (endpoint) HOT 2
- Project Rename: Earthquake --> Namazu
- Use package manager (govendor or something else) HOT 2
- LOW HANGING FRUIT: make goreportcard happy
- `nmz inspectors proc -cmd ...` lacks stdio HOT 1
- Print a warning if `sched_setattr` returns EPERM
- Flaky test: nmz/endpoint HOT 2
- Enable fs inspector in container mode HOT 3
- [doc] Mention and promote Namazu Swarm: CI Job Parallelizer built on Docker and Kubernetes
- Can not get mflag:Docker has removed pkg/mflag HOT 3
- runtime panic of process inspector HOT 2
- namazu has error when using O_DIRECT HOT 3
- scientific paper HOT 1
- restarting TiKV with file inspector hangs up forever HOT 9
- How to enable/disable inspector explictily HOT 4
- how to stop inspector HOT 2
- Does NAMAZU support CentOS 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 namazu.