You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 13, 2021. It is now read-only.
Some problems met when installing the namazu. #189
[NMZ-DBG] 02:44:52.84: Registering a signal class "ProcSetSchedAction" (at signal.go:48)
[NMZ-DBG] 02:44:52.84: Registering an exploration policy "dumb" (at explorepolicy.go:36)
[NMZ-DBG] 02:44:52.84: Registering an exploration policy "random" (at explorepolicy.go:36)
[NMZ-DBG] 02:44:52.84: Registering an exploration policy "replayable" (at explorepolicy.go:36)
[NMZ-CRT] 02:44:52.84: PANIC: runtime error: index out of range (at coreutil.go:49)
panic: runtime error: index out of range [recovered]
panic: runtime error: index out of range
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 container
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.")
}
}
changed the title [-]"panic: runtime error: index out of range [recovered]" when running the namazu in the docker mode.[/-][+]Some problems met when installing the namazu.[/+]on Apr 8, 2019
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?
Activity
maoling commentedon Apr 4, 2019
@AkihiroSuda PTAL.
AkihiroSuda commentedon Apr 4, 2019
container name needs to be specified:
namazu/nmz/cli/container/run/runflag.go
Line 81 in 2162f3d
maoling commentedon Apr 4, 2019
@AkihiroSuda Thanks for your quick reply
is every command mandatory?
I follow an example from this which also failed.
Could you plz give a complete cmd example, thank in advance.
maoling commentedon Apr 4, 2019
maoling commentedon Apr 4, 2019
docker run -it --privileged=true --cap-add=sys_nice osrg/namazu /bin/bashsolve the
prerequisite error: CAP_SYS_NICE is neededproblem[-]"panic: runtime error: index out of range [recovered]" when running the namazu in the docker mode.[/-][+]Some problems met when installing the namazu.[/+]maoling commentedon Apr 8, 2019
@AkihiroSuda
namazusuccessfully.I saw it was running in the daemon:./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?