-
Bug
-
Resolution: Done
-
Major
-
2.9.1 GA
-
False
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Undefined
-
-
I tested ths command:
podman run --rm -v ${ABSOLUTE_RESOURCE_PATH}:/tmp/toolbox:Z registry.redhat.io/3scale-amp2/toolbox-rhel7:3scale2.9 3scale import openapi -d https://${AUTH}@{3SCALE_ADMIN}-admin.{DOMAIN_NAME /tmp/toolbox/my-test-api.json
Then got permssion error:
/opt/toolbox/lib/3scale_toolbox/cli/error_handler.rb:39:in `initialize': Permission denied @ rb_sysopen - crash.log (Errno::EACCES) from /opt/toolbox/lib/3scale_toolbox/cli/error_handler.rb:39:in `open' from /opt/toolbox/lib/3scale_toolbox/cli/error_handler.rb:39:in `print_unexpected_error' from /opt/toolbox/lib/3scale_toolbox/cli/error_handler.rb:25:in `handle_error' from /opt/toolbox/lib/3scale_toolbox/cli/error_handler.rb:13:in `rescue in error_watchdog' from /opt/toolbox/lib/3scale_toolbox/cli/error_handler.rb:9:in `error_watchdog' from /opt/toolbox/lib/3scale_toolbox/cli/error_handler.rb:5:in `error_watchdog' from /opt/toolbox/lib/3scale_toolbox/cli.rb:44:in `run' from /opt/toolbox/exe/3scale:15:in `<top (required)>' from /opt/toolbox/bin/3scale:29:in `load' from /opt/toolbox/bin/3scale:29:in `<main>'
When I run bash in the container:
podman run --rm -v ${ABSOLUTE_RESOURCE_PATH}:/tmp/toolbox:Z registry.redhat.io/3scale-amp2/toolbox-rhel7:3scale2.9 /bin/bash
I can access to /tmp/toolbox/my-test-api.json, but cannot create files under /opt/toolbox .
- relates to
-
THREESCALE-6147 Improve 3scale toolbox import openapi example
-
- Closed
-