Service Virtualization

 View Only
  • 1.  Docker Compose components

    Posted Jun 05, 2020 02:43 PM
    Hi Guys, 

    I´m trying to run Coordinator and Simulator in a docker container using: sudo ./installSVDocker.sh -d http://xxx.com:1506  -C 1 -S 1.  When it sends a get requisiton to  https://sv-docker.packages.ca.com/v2/sv/config-server/manifests/0.0.2 it answer unauthorized. 

    Follow the execution log:

    sudo ./installSVDocker.sh -d http://xxx.com:1506 -V 1 -C 1 -S 1
    Prerequisite checksChecking for Docker
    Docker is already installed
    Docker version is 19.03
    Check for Docker-Compose docker-compose is already installed
    docker-compose version 1.25.5, build 8a1c60f6
    Checks if Enterprise Dashboard is accessible and other prerequisite checks
    The provided enterprise dashboard http://xxx.com:1506 is up.
    Creating User and Group with name devtest and id 1010 if not present
    Useful Information regarding VSEs Virtual Services should start in below range for Virtual Service Environment - vse 20000-20049
    Installation Directory is:
    Pulling Images
    Creating lisa-network and starting containers
    Pulling config-server (sv-docker.packages.ca.com/sv/config-server:0.0.2)...
    ERROR: Get https://sv-docker.packages.ca.com/v2/sv/config-server/manifests/0.0.2: unauthorized: Unauthorized

    Does anyone knows how to solve it? 

    Regards,
    Francis


  • 2.  RE: Docker Compose components
    Best Answer

    Broadcom Employee
    Posted Jun 05, 2020 03:09 PM
    Hello Francis,
                You need to request the docker repo credentials from Broadcom support and use that to login to the repo before running the command. More details at the below link.

    docker login <docker-registry-name> -u <docker-registry-username> -p <docker-registry-password>


    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/devops/devtest-solutions/10-6/installing/DevTest-with-Docker-Compose.html

    Regards,
    Surya


  • 3.  RE: Docker Compose components

    Posted Jun 06, 2020 01:02 AM
    Hi Francis,

    You have to provide username and password as well along with other arguments .

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------