Docker: IAM permission error with DevTest 10.5 container image.

book

Article ID: 144808

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

When using the Apache Mesos and Marathon hosting platform (instead of the supported Docker Compose or Kubernetes), the following error was shown when running the provided IAAM Docker image (sv-docker.packages.ca.com/sv/iaam):

IAM Setup Error:
app: iam
run_id: abcdef-af62-4cd1-ba38-3793416b3c38
task_instance_id: 123456-1d30-11ea-8779-ca9ad2b80edb
epoch:
team:
message: Cannot start embedded server: SRVR-1: Cannot invoke 'start' on embedded process: SRVR-1: Could not create server content directory: /iam/standalone/data/content

Is there a way to not make the container tightly coupled with a specific account, or resolve this permission issue.

 

Environment

Release : 10.5.1

Component : CA Service Virtualization

Resolution

The provided DevTest IAAM Docker image (sv-docker.packages.ca.com/sv/iaam) was used and the following command was run before start up to set the permissions on the iam folder:
RUN chown -R 0 /iam/ && chmod -R g+rw /iam/