Skip to content
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.

Build error with container conductor: exec: \"conductor\": executable file not found in $PATH #935

Open
Ilmn-Ybi opened this issue Jun 1, 2018 · 3 comments
Labels
question stale-communication Candidate for the closure due to stale communication

Comments

@Ilmn-Ybi
Copy link

Ilmn-Ybi commented Jun 1, 2018

ISSUE TYPE
  • Bug Report
container.yml

version: "2"
settings:

conductor_base: rhosp12-conductor


##### OS / ENVIRONMENT
<!--- Paste output from `ansible-container --debug version` between the quotes below -->
Ansible Container, version 0.9.2
Linux, f24-ll-02, 3.10.0-693.5.2.el7.x86_64, #1 SMP Fri Oct 20 20:32:50 UTC 2017, x86_64
2.7.5 (default, Aug  4 2017, 00:39:18) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] /usr/bin/python2
{
  "ContainersPaused": 0, 
  "Labels": null, 
  "CgroupDriver": "systemd", 
  "ClusterAdvertise": "", 
  "ContainersRunning": 0, 
  "ContainerdCommit": {
    "Expected": "aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1", 
    "ID": ""
  }, 
  "InitBinary": "docker-init", 
  "NGoroutines": 24, 
  "Swarm": {
    "Managers": 0, 
    "ControlAvailable": false, 
    "NodeID": "", 
    "Cluster": {
      "Spec": {
        "TaskDefaults": {}, 
        "Orchestration": {}, 
        "EncryptionConfig": {
          "AutoLockManagers": false
        }, 
        "Raft": {
          "HeartbeatTick": 0, 
          "ElectionTick": 0
        }, 
        "CAConfig": {}, 
        "Dispatcher": {}
      }, 
      "Version": {}, 
      "ID": "", 
      "CreatedAt": "0001-01-01T00:00:00Z", 
      "UpdatedAt": "0001-01-01T00:00:00Z"
    }, 
    "Nodes": 0, 
    "Error": "", 
    "RemoteManagers": null, 
    "LocalNodeState": "inactive", 
    "NodeAddr": ""
  }, 
  "LoggingDriver": "journald", 
  "OSType": "linux", 
  "HttpProxy": "http://xxxxx.com:80", 
  "Runtimes": {
    "runc": {
      "path": "docker-runc"
    }, 
    "docker-runc": {
      "path": "/usr/libexec/docker/docker-runc-current"
    }
  }, 
  "DriverStatus": [
    [
      "Backing Filesystem", 
      "xfs"
    ], 
    [
      "Supports d_type", 
      "true"
    ], 
    [
      "Native Overlay Diff", 
      "true"
    ]
  ], 
  "OperatingSystem": "CentOS Linux 7 (Core)", 
  "Containers": 1, 
  "HttpsProxy": "http://xxxxx.com:80", 
  "BridgeNfIp6tables": true, 
  "MemTotal": 33225084928, 
  "SecurityOptions": [
    "name=seccomp,profile=/etc/docker/seccomp.json"
  ], 
  "Driver": "overlay2", 
  "IndexServerAddress": "https://index.docker.io/v1/", 
  "ClusterStore": "", 
  "InitCommit": {
    "Expected": "949e6facb77383876aeff8a6944dde66b3089574", 
    "ID": "N/A"
  }, 
  "Isolation": "", 
  "Registries": [
    {
      "Name": "docker.io", 
      "Secure": true
    }
  ], 
  "SystemStatus": null, 
  "OomKillDisable": true, 
  "PkgVersion": "<unknown>", 
  "SystemTime": "2018-06-01T14:00:09.186713381-07:00", 
  "Name": "f24-ll-02", 
  "CPUSet": true, 
  "RegistryConfig": {
    "InsecureRegistryCIDRs": [
      "127.0.0.0/8"
    ], 
    "IndexConfigs": {
      "docker.io": {
        "Official": true, 
        "Name": "docker.io", 
        "Secure": true, 
        "Mirrors": null
      }
    }, 
    "Mirrors": []
  }, 
  "DefaultRuntime": "docker-runc", 
  "ContainersStopped": 1, 
  "NCPU": 8, 
  "NFd": 16, 
  "Architecture": "x86_64", 
  "KernelMemory": true, 
  "CpuCfsQuota": true, 
  "Debug": false, 
  "IndexServerName": "docker.io", 
  "ID": "7B3C:NDQN:S373:KEUV:7SHB:B2F4:4EH2:62OE:QOVA:SGTR:WI7T:DUVP", 
  "IPv4Forwarding": true, 
  "KernelVersion": "3.10.0-693.5.2.el7.x86_64", 
  "BridgeNfIptables": true, 
  "NoProxy": "localhost,127.0.0.1", 
  "LiveRestoreEnabled": false, 
  "ServerVersion": "1.13.1", 
  "CpuCfsPeriod": true, 
  "ExperimentalBuild": false, 
  "MemoryLimit": true, 
  "SwapLimit": true, 
  "Plugins": {
    "Volume": [
      "local"
    ], 
    "Network": [
      "bridge", 
      "host", 
      "macvlan", 
      "null", 
      "overlay"
    ], 
    "Authorization": null
  }, 
  "Images": 55, 
  "DockerRootDir": "/var/lib/docker", 
  "NEventsListener": 0, 
  "CPUShares": true, 
  "RuncCommit": {
    "Expected": "9df8b306d01f59d3a8029be411de015b7304dd8f", 
    "ID": "N/A"
  }
}
{
  "KernelVersion": "3.10.0-693.5.2.el7.x86_64", 
  "PkgVersion": "<unknown>", 
  "Arch": "amd64", 
  "BuildTime": "2018-03-07T17:06:16.441560971+00:00", 
  "ApiVersion": "1.26", 
  "Version": "1.13.1", 
  "MinAPIVersion": "1.12", 
  "GitCommit": "774336d/1.13.1", 
  "Os": "linux", 
  "GoVersion": "go1.8.3"
}

##### SUMMARY
I've struggled to build own container conductor for RHEL, so I downloaded one from redhat (https://access.redhat.com/containers/#/search/openstack-ironic-conductor)

I tagged it and integrated it in my ansible-container build process (as shown in 'container.yml' above). But I ran into the following building errors - 
.....
2018-06-01T13:46:15.894357 Starting Docker build of Ansible Container Conductor image (please be patient)... [container.docker.engine] caller_file=/usr/lib/python2.7/site-packages/container/docker/engine.py caller_func=build_conductor_image caller_line=1038
Step 1/4 : FROM container-conductor-rhosp12-conductor:0.9.2
 ---> f446b55aeb34
Step 2/4 : VOLUME /usr
 ---> Running in 999fe2f53bab
 ---> 4c93f2d25587
Removing intermediate container 999fe2f53bab
Step 3/4 : COPY /build-src /_ansible/build
 ---> d16cb2760b5f
Removing intermediate container 7b4db55ffecf
Step 4/4 : RUN ( test -f /_ansible/build/ansible-requirements.txt && pip install --no-cache-dir -r /_ansible/build/ansible-requirements.txt || true ) &&     ( test -f /_ansible/build/requirements.yml && ansible-galaxy install -p /etc/ansible/roles -r /_ansible/build/requirements.yml || true ) &&     ( test -f /_ansible/build/ansible.cfg && cp /_ansible/build/ansible.cfg /etc/ansible/ansible.cfg || true)
 ---> Running in 15f8438b58c6

{}
/bin/sh: pip: command not found

/bin/sh: ansible-galaxy: command not found

cp: cannot create regular file '/etc/ansible/ansible.cfg': No such file or directory

 ---> 13c12bb8b77f
Removing intermediate container 15f8438b58c6
Successfully built 13c12bb8b77f
2018-06-01T13:47:47.215933 Cleaning up temporary directory [container.utils.temp] caller_file=/usr/lib/python2.7/site-packages/container/utils/temp.py caller_func=__exit__ caller_line=22 path=/tmp/tmpej6SzL
2018-06-01T13:47:47.219738 Config settings               ....
...
.../ansible/ansible-container-rhosp12-conductor': {'bind': '/src', 'mode': 'ro'}}, 'detach': True, 'privileged': True}
2018-06-01T13:48:17.306709 Unknown exception 404 Client Error: Not Found ("oci runtime error: container_linux.go:247: starting container process caused "exec: \"conductor\": executable file not found in $PATH"
") [container.cli] caller_file=/usr/lib/python2.7/site-packages/structlog/stdlib.py caller_func=exception caller_line=95
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/container/cli.py", line 299, in __call__
    getattr(core, u'hostcmd_{}'.format(args.subcommand))(**vars(args))
  File "/usr/lib/python2.7/site-packages/container/__init__.py", line 28, in __wrapped__
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/container/core.py", line 201, in hostcmd_build
    'build', dict(config), base_path, kwargs, save_container=save_container)
  File "/usr/lib/python2.7/site-packages/container/docker/engine.py", line 454, in await_conductor_command
    conductor_id = self.run_conductor(command, config, base_path, params)
  File "/usr/lib/python2.7/site-packages/container/docker/engine.py", line 105, in __wrapped__
    return fn(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/container/__init__.py", line 28, in __wrapped__
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/container/docker/engine.py", line 446, in run_conductor
    reraise(*sys.exc_info())
  File "/usr/lib/python2.7/site-packages/container/docker/engine.py", line 439, in run_conductor
    **run_kwargs
  File "/usr/lib/python2.7/site-packages/docker/models/containers.py", line 725, in run
    container.start()
  File "/usr/lib/python2.7/site-packages/docker/models/containers.py", line 337, in start
    return self.client.api.start(self.id, **kwargs)
  File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 19, in wrapped
    return f(self, resource_id, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/docker/api/container.py", line 1086, in start
    self._raise_for_status(res)
  File "/usr/lib/python2.7/site-packages/docker/api/client.py", line 224, in _raise_for_status
    raise create_api_error_from_http_exception(e)
  File "/usr/lib/python2.7/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
    raise cls(e, response=response, explanation=explanation)
NotFound: 404 Client Error: Not Found ("oci runtime error: container_linux.go:247: starting container process caused "exec: \"conductor\": executable file not found in $PATH"
")


##### STEPS TO REPRODUCE ####
ansible-container --debug build --no-cache

##### EXPECTED RESULTS
Container built successfully.

I could build the same project with a downloaded Centos7 conductor, the only change is 'conductor_base' (replaced with the Centos conductor).

##### ACTUAL RESULTS
na@f24-ll-02 ansible-container-rhosp12-conductor]$ pwd
/home/na/Desktop/DockerTest/ansible/ansible-container-rhosp12-conductor
[na@f24-ll-02 ansible-container-rhosp12-conductor]$ ansible-container --debug build --no-cache
2018-06-01T13:46:15.635596 The default type is            [container.config] caller_file=/usr/lib/python2.7/site-packages/container/config.py caller_func=_resolve_defaults caller_line=189 config=<class 'ruamel.yaml.comments.CommentedMap'> defaults=<type '_ordereddict.ordereddict'>
2018-06-01T13:46:15.636228 Getting environment variables... [container.config] caller_file=/usr/lib/python2.7/site-packages/container/config.py caller_func=_get_environment_variables caller_line=205
2018-06-01T13:46:15.636810 Read environment variables     [container.config] caller_file=/usr/lib/python2.7/site-packages/container/config.py caller_func=_get_environment_variables caller_line=210 env_vars={}
2018-06-01T13:46:15.637341 Resolved template variables    [container.config] caller_file=/usr/lib/python2.7/site-packages/container/config.py caller_func=_resolve_defaults caller_line=194 template_vars={}
2018-06-01T13:46:15.637874 Parsed config                  [container.config] caller_file=/usr/lib/python2.7/site-packages/container/config.py caller_func=set_env caller_line=148 config={"version": "2", "settings": {"conductor_base": "rhosp12-conductor", "project_name": "gmx-ac-rhel7", "k8s_namespace": {"name": "gmx-ansible-container", "description": "DevelopmentEnv", "display_name": "gmx_ansible_container"}, "environment": "container=docker", "pwd": "/home/na/Desktop/DockerTest/ansible/ansible-container-rhosp12-conductor"}, "services": {"gmx-install-rhel7": {"from": "registry.access.redhat.com/rhel7", "environment": {"http_proxy": "http://contractorproxywest.northgrum.com:80", "https_proxy": "http://contractorproxywest.northgrum.com:80"}, "cap_add": ["SYS_ADMIN"], "tmpfs": ["/run"], "volumes": ["/sys/fs/cgroup:/sys/fs/cgroup:ro", "/applogs:/applogs", "/missiondata:/missiondata", "/gmxConfiguration:/gmxConfiguration"], "roles": ["gmx_installs"], "stop_signal": "SIGRTMIN+3", "privileged": true, "become_user": "root", "ports": ["161:161/udp", "162:162/udp", "1705:1705/udp", "4567:4567/udp", "4568:4568/udp", "8443:8443/udp", "16110:16110/udp"], "command": "/usr/sbin/init"}}, "registries": {}, "defaults": {}}
2018-06-01T13:46:15.638393 Loading engine capabilities    [container.utils.loader] caller_file=/usr/lib/python2.7/site-packages/container/utils/loader.py caller_func=load_engine caller_line=14 capabilities=['BUILD', 'RUN'] engine=docker
2018-06-01T13:46:15.772858 Setting Docker client timeout to 60 [container.docker.engine] caller_file=/usr/lib/python2.7/site-packages/container/docker/engine.py caller_func=get_timeout caller_line=122
2018-06-01T13:46:15.781212 Could not find container for conductor [container.docker.engine] all_containers=[] caller_file=/usr/lib/python2.7/site-packages/container/docker/engine.py caller_func=get_container_id_for_service caller_line=531 container=u'gmx-ac-rhel7_conductor'
2018-06-01T13:46:15.785345 Call: Engine.build_conductor_image [container.docker.engine] args=('/home/na/Desktop/DockerTest/ansible/ansible-container-rhosp12-conductor', 'rhosp12-conductor') caller_file=/usr/lib/python2.7/site-packages/container/docker/engine.py caller_func=Engine.build_conductor_image caller_line=23 kwargs={'environment': [], 'cache': False}
2018-06-01T13:46:15.786688 Using temporary directory      [container.utils.temp] caller_file=/usr/lib/python2.7/site-packages/container/utils/temp.py caller_func=__enter__ caller_line=17 path=/tmp/tmpej6SzL
2018-06-01T13:46:15.787218 Building Docker Engine context... [container.docker.engine] caller_file=/usr/lib/python2.7/site-packages/container/docker/engine.py caller_func=build_conductor_image caller_line=963
2018-06-01T13:46:15.871949 Rendered Jinja Template:       [container.utils] body=FROM rhosp12-conductor
ENV ANSIBLE_CONTAINER=1





RUN (curl https://bootstrap.pypa.io/get-pip.py | python - --no-cache-dir ) && \
    mkdir -p /etc/ansible/roles /_ansible/src && \
    (curl https://get.docker.com/builds/Linux/x86_64/docker-17.04.0-ce.tgz \
       | tar -zxC /usr/local/bin/ --strip-components=1 docker/docker )

# The COPY here will break cache if the version of Ansible Container changed
COPY /container-src /_ansible/container
RUN cd /_ansible && \
    pip install --no-cache-dir -r container/conductor-build/conductor-requirements.txt && \
    PYTHONPATH=. LC_ALL="en_US.UTF-8" python container/conductor-build/setup.py develop -v -N && \
    ansible-galaxy install -p /etc/ansible/roles -r container/conductor-build/conductor-requirements.yml




 caller_file=/usr/lib/python2.7/site-packages/container/utils/__init__.py caller_func=jinja_render_to_temp caller_line=83
2018-06-01T13:46:15.877501 Rendered Jinja Template:       [container.utils] body=FROM container-conductor-rhosp12-conductor:0.9.2


VOLUME /usr


# The COPY here will break cache if the requirements or ansible.cfg has changed
COPY /build-src /_ansible/build
RUN ( test -f /_ansible/build/ansible-requirements.txt && pip install --no-cache-dir -r /_ansible/build/ansible-requirements.txt || true ) && \
    ( test -f /_ansible/build/requirements.yml && ansible-galaxy install -p /etc/ansible/roles -r /_ansible/build/requirements.yml || true ) && \
    ( test -f /_ansible/build/ansible.cfg && cp /_ansible/build/ansible.cfg /etc/ansible/ansible.cfg || true)
 caller_file=/usr/lib/python2.7/site-packages/container/utils/__init__.py caller_func=jinja_render_to_temp caller_line=83
2018-06-01T13:46:15.879584 Context manifest:              [container.docker.engine] caller_file=/usr/lib/python2.7/site-packages/container/docker/engine.py caller_func=build_conductor_image caller_line=1030
2018-06-01T13:46:15.879740 tarball item: build-src/ansible.cfg (144 bytes) [container.docker.engine] bytes=144 file=build-src/ansible.cfg
2018-06-01T13:46:15.879870 tarball item: build-src/ansible-requirements.txt (130 bytes) [container.docker.engine] bytes=130 file=build-src/ansible-requirements.txt
2018-06-01T13:46:15.879994 tarball item: build-src/requirements.yml (298 bytes) [container.docker.engine] bytes=298 file=build-src/requirements.yml
2018-06-01T13:46:15.880120 tarball item: build-src/.touch (0 bytes) [container.docker.engine] bytes=0 file=build-src/.touch
2018-06-01T13:46:15.880239 tarball item: contrib/get-pip.py (1595409 bytes) [container.docker.engine] bytes=1595409 file=contrib/get-pip.py
2018-06-01T13:46:15.880356 tarball item: container-src (0 bytes) [container.docker.engine] bytes=0L file=container-src
2018-06-01T13:46:15.880471 tarball item: container-src/__init__.py (947 bytes) [container.docker.engine] bytes=947 file=container-src/__init__.py
2018-06-01T13:46:15.880584 tarball item: container-src/cli.py (22794 bytes) [container.docker.engine] bytes=22794 file=container-src/cli.py
2018-06-01T13:46:15.880696 tarball item: container-src/config.py (15653 bytes) [container.docker.engine] bytes=15653 file=container-src/config.py
2018-06-01T13:46:15.880811 tarball item: container-src/core.py (42745 bytes) [container.docker.engine] bytes=42745 file=container-src/core.py
2018-06-01T13:46:15.880924 tarball item: container-src/engine.py (6740 bytes) [container.docker.engine] bytes=6740 file=container-src/engine.py
2018-06-01T13:46:15.881038 tarball item: container-src/exceptions.py (2158 bytes) [container.docker.engine] bytes=2158 file=container-src/exceptions.py
2018-06-01T13:46:15.881155 tarball item: container-src/docker (0 bytes) [container.docker.engine] bytes=0L file=container-src/docker
2018-06-01T13:46:15.881270 tarball item: container-src/docker/__init__.py (205 bytes) [container.docker.engine] bytes=205 file=container-src/docker/__init__.py
2018-06-01T13:46:15.881384 tarball item: container-src/docker/config.py (2393 bytes) [container.docker.engine] bytes=2393 file=container-src/docker/config.py
2018-06-01T13:46:15.881497 tarball item: container-src/docker/deploy.py (248 bytes) [container.docker.engine] bytes=248 file=container-src/docker/deploy.py
2018-06-01T13:46:15.881609 tarball item: container-src/docker/importer.py (24838 bytes) [container.docker.engine] bytes=24838 file=container-src/docker/importer.py
2018-06-01T13:46:15.881723 tarball item: container-src/docker/secrets.py (5255 bytes) [container.docker.engine] bytes=5255 file=container-src/docker/secrets.py
2018-06-01T13:46:15.881836 tarball item: container-src/docker/files (0 bytes) [container.docker.engine] bytes=0L file=container-src/docker/files
2018-06-01T13:46:15.881949 tarball item: container-src/docker/files/conductor-requirements.txt (273 bytes) [container.docker.engine] bytes=273 file=container-src/docker/files/conductor-requirements.txt
2018-06-01T13:46:15.882063 tarball item: container-src/docker/files/conductor-requirements.yml (60 bytes) [container.docker.engine] bytes=60 file=container-src/docker/files/conductor-requirements.yml
2018-06-01T13:46:15.882182 tarball item: container-src/docker/files/get-pip.py (1595409 bytes) [container.docker.engine] bytes=1595409 file=container-src/docker/files/get-pip.py
2018-06-01T13:46:15.882294 tarball item: container-src/docker/files/setup.py (4628 bytes) [container.docker.engine] bytes=4628 file=container-src/docker/files/setup.py
2018-06-01T13:46:15.882404 tarball item: container-src/docker/files/get-pip.pyc (1593358 bytes) [container.docker.engine] bytes=1593358 file=container-src/docker/files/get-pip.pyc
2018-06-01T13:46:15.882513 tarball item: container-src/docker/files/setup.pyc (6039 bytes) [container.docker.engine] bytes=6039 file=container-src/docker/files/setup.pyc
2018-06-01T13:46:15.882622 tarball item: container-src/docker/templates (0 bytes) [container.docker.engine] bytes=0L file=container-src/docker/templates
2018-06-01T13:46:15.882732 tarball item: container-src/docker/templates/conductor-local-dockerfile.j2 (674 bytes) [container.docker.engine] bytes=674 file=container-src/docker/templates/conductor-local-dockerfile.j2
2018-06-01T13:46:15.882842 tarball item: container-src/docker/templates/conductor-src-dockerfile.j2 (3020 bytes) [container.docker.engine] bytes=3020 file=container-src/docker/templates/conductor-src-dockerfile.j2
2018-06-01T13:46:15.882952 tarball item: container-src/docker/__init__.pyc (327 bytes) [container.docker.engine] bytes=327 file=container-src/docker/__init__.pyc
2018-06-01T13:46:15.883062 tarball item: container-src/docker/config.pyc (2354 bytes) [container.docker.engine] bytes=2354 file=container-src/docker/config.pyc
2018-06-01T13:46:15.883175 tarball item: container-src/docker/deploy.pyc (325 bytes) [container.docker.engine] bytes=325 file=container-src/docker/deploy.pyc
2018-06-01T13:46:15.883286 tarball item: container-src/docker/importer.pyc (20674 bytes) [container.docker.engine] bytes=20674 file=container-src/docker/importer.pyc
2018-06-01T13:46:15.883399 tarball item: container-src/docker/secrets.pyc (5093 bytes) [container.docker.engine] bytes=5093 file=container-src/docker/secrets.pyc
2018-06-01T13:46:15.883511 tarball item: container-src/docker/engine.py (49654 bytes) [container.docker.engine] bytes=49654 file=container-src/docker/engine.py
2018-06-01T13:46:15.883622 tarball item: container-src/docker/engine.pyc (39560 bytes) [container.docker.engine] bytes=39560 file=container-src/docker/engine.pyc
2018-06-01T13:46:15.883735 tarball item: container-src/k8s (0 bytes) [container.docker.engine] bytes=0L file=container-src/k8s
2018-06-01T13:46:15.883848 tarball item: container-src/k8s/__init__.py (196 bytes) [container.docker.engine] bytes=196 file=container-src/k8s/__init__.py
2018-06-01T13:46:15.883960 tarball item: container-src/k8s/base_config.py (932 bytes) [container.docker.engine] bytes=932 file=container-src/k8s/base_config.py
2018-06-01T13:46:15.884071 tarball item: container-src/k8s/base_deploy.py (34216 bytes) [container.docker.engine] bytes=34216 file=container-src/k8s/base_deploy.py
2018-06-01T13:46:15.884190 tarball item: container-src/k8s/base_engine.py (10144 bytes) [container.docker.engine] bytes=10144 file=container-src/k8s/base_engine.py
2018-06-01T13:46:15.884300 tarball item: container-src/k8s/config.py (660 bytes) [container.docker.engine] bytes=660 file=container-src/k8s/config.py
2018-06-01T13:46:15.884410 tarball item: container-src/k8s/deploy.py (1720 bytes) [container.docker.engine] bytes=1720 file=container-src/k8s/deploy.py
2018-06-01T13:46:15.884520 tarball item: container-src/k8s/engine.py (1276 bytes) [container.docker.engine] bytes=1276 file=container-src/k8s/engine.py
2018-06-01T13:46:15.884632 tarball item: container-src/k8s/__init__.pyc (324 bytes) [container.docker.engine] bytes=324 file=container-src/k8s/__init__.pyc
2018-06-01T13:46:15.884744 tarball item: container-src/k8s/base_config.pyc (1357 bytes) [container.docker.engine] bytes=1357 file=container-src/k8s/base_config.pyc
2018-06-01T13:46:15.884856 tarball item: container-src/k8s/base_deploy.pyc (23623 bytes) [container.docker.engine] bytes=23623 file=container-src/k8s/base_deploy.pyc
2018-06-01T13:46:15.884967 tarball item: container-src/k8s/base_engine.pyc (8659 bytes) [container.docker.engine] bytes=8659 file=container-src/k8s/base_engine.pyc
2018-06-01T13:46:15.885078 tarball item: container-src/k8s/config.pyc (1255 bytes) [container.docker.engine] bytes=1255 file=container-src/k8s/config.pyc
2018-06-01T13:46:15.885193 tarball item: container-src/k8s/deploy.pyc (1961 bytes) [container.docker.engine] bytes=1961 file=container-src/k8s/deploy.pyc
2018-06-01T13:46:15.885304 tarball item: container-src/k8s/engine.pyc (1919 bytes) [container.docker.engine] bytes=1919 file=container-src/k8s/engine.pyc
2018-06-01T13:46:15.885414 tarball item: container-src/openshift (0 bytes) [container.docker.engine] bytes=0L file=container-src/openshift
2018-06-01T13:46:15.885530 tarball item: container-src/openshift/__init__.py (196 bytes) [container.docker.engine] bytes=196 file=container-src/openshift/__init__.py
2018-06-01T13:46:15.885642 tarball item: container-src/openshift/config.py (427 bytes) [container.docker.engine] bytes=427 file=container-src/openshift/config.py
2018-06-01T13:46:15.885753 tarball item: container-src/openshift/deploy.py (6241 bytes) [container.docker.engine] bytes=6241 file=container-src/openshift/deploy.py
2018-06-01T13:46:15.885864 tarball item: container-src/openshift/engine.py (2207 bytes) [container.docker.engine] bytes=2207 file=container-src/openshift/engine.py
2018-06-01T13:46:15.885975 tarball item: container-src/openshift/__init__.pyc (330 bytes) [container.docker.engine] bytes=330 file=container-src/openshift/__init__.pyc
2018-06-01T13:46:15.886093 tarball item: container-src/openshift/config.pyc (1033 bytes) [container.docker.engine] bytes=1033 file=container-src/openshift/config.pyc
2018-06-01T13:46:15.886209 tarball item: container-src/openshift/deploy.pyc (5210 bytes) [container.docker.engine] bytes=5210 file=container-src/openshift/deploy.pyc
2018-06-01T13:46:15.886319 tarball item: container-src/openshift/engine.pyc (2634 bytes) [container.docker.engine] bytes=2634 file=container-src/openshift/engine.pyc
2018-06-01T13:46:15.886428 tarball item: container-src/utils (0 bytes) [container.docker.engine] bytes=0L file=container-src/utils
2018-06-01T13:46:15.886539 tarball item: container-src/utils/__init__.py (11391 bytes) [container.docker.engine] bytes=11391 file=container-src/utils/__init__.py
2018-06-01T13:46:15.886651 tarball item: container-src/utils/_text.py (12304 bytes) [container.docker.engine] bytes=12304 file=container-src/utils/_text.py
2018-06-01T13:46:15.886763 tarball item: container-src/utils/galaxy.py (8120 bytes) [container.docker.engine] bytes=8120 file=container-src/utils/galaxy.py
2018-06-01T13:46:15.886874 tarball item: container-src/utils/loader.py (906 bytes) [container.docker.engine] bytes=906 file=container-src/utils/loader.py
2018-06-01T13:46:15.886985 tarball item: container-src/utils/logmux.py (1313 bytes) [container.docker.engine] bytes=1313 file=container-src/utils/logmux.py
2018-06-01T13:46:15.887097 tarball item: container-src/utils/ordereddict.py (678 bytes) [container.docker.engine] bytes=678 file=container-src/utils/ordereddict.py
2018-06-01T13:46:15.887329 tarball item: container-src/utils/temp.py (698 bytes) [container.docker.engine] bytes=698 file=container-src/utils/temp.py
2018-06-01T13:46:15.887447 tarball item: container-src/utils/visibility.py (3329 bytes) [container.docker.engine] bytes=3329 file=container-src/utils/visibility.py
2018-06-01T13:46:15.887563 tarball item: container-src/utils/__init__.pyc (11603 bytes) [container.docker.engine] bytes=11603 file=container-src/utils/__init__.pyc
2018-06-01T13:46:15.887679 tarball item: container-src/utils/_text.pyc (8796 bytes) [container.docker.engine] bytes=8796 file=container-src/utils/_text.pyc
2018-06-01T13:46:15.887793 tarball item: container-src/utils/galaxy.pyc (7803 bytes) [container.docker.engine] bytes=7803 file=container-src/utils/galaxy.pyc
2018-06-01T13:46:15.887906 tarball item: container-src/utils/loader.pyc (1170 bytes) [container.docker.engine] bytes=1170 file=container-src/utils/loader.pyc
2018-06-01T13:46:15.888019 tarball item: container-src/utils/logmux.pyc (2559 bytes) [container.docker.engine] bytes=2559 file=container-src/utils/logmux.pyc
2018-06-01T13:46:15.888137 tarball item: container-src/utils/ordereddict.pyc (915 bytes) [container.docker.engine] bytes=915 file=container-src/utils/ordereddict.pyc
2018-06-01T13:46:15.888251 tarball item: container-src/utils/temp.pyc (1358 bytes) [container.docker.engine] bytes=1358 file=container-src/utils/temp.pyc
2018-06-01T13:46:15.888363 tarball item: container-src/utils/visibility.pyc (4148 bytes) [container.docker.engine] bytes=4148 file=container-src/utils/visibility.pyc
2018-06-01T13:46:15.888474 tarball item: container-src/templates (0 bytes) [container.docker.engine] bytes=0L file=container-src/templates
2018-06-01T13:46:15.888585 tarball item: container-src/templates/ansible-container-inventory.py (1230 bytes) [container.docker.engine] bytes=1230 file=container-src/templates/ansible-container-inventory.py
2018-06-01T13:46:15.888698 tarball item: container-src/templates/ansible-dockerfile.j2 (1194 bytes) [container.docker.engine] bytes=1194 file=container-src/templates/ansible-dockerfile.j2
2018-06-01T13:46:15.888809 tarball item: container-src/templates/ansible.cfg (41 bytes) [container.docker.engine] bytes=41 file=container-src/templates/ansible.cfg
2018-06-01T13:46:15.888921 tarball item: container-src/templates/builder.sh (620 bytes) [container.docker.engine] bytes=620 file=container-src/templates/builder.sh
2018-06-01T13:46:15.889034 tarball item: container-src/templates/compose_versioned.j2.yml (237 bytes) [container.docker.engine] bytes=237 file=container-src/templates/compose_versioned.j2.yml
2018-06-01T13:46:15.889150 tarball item: container-src/templates/hosts.j2 (90 bytes) [container.docker.engine] bytes=90 file=container-src/templates/hosts.j2
2018-06-01T13:46:15.889262 tarball item: container-src/templates/install-docker-compose.j2.yml (712 bytes) [container.docker.engine] bytes=712 file=container-src/templates/install-docker-compose.j2.yml
2018-06-01T13:46:15.889374 tarball item: container-src/templates/restart-docker-compose.j2.yml (75 bytes) [container.docker.engine] bytes=75 file=container-src/templates/restart-docker-compose.j2.yml
2018-06-01T13:46:15.889486 tarball item: container-src/templates/run-docker-compose.j2.yml (75 bytes) [container.docker.engine] bytes=75 file=container-src/templates/run-docker-compose.j2.yml
2018-06-01T13:46:15.889596 tarball item: container-src/templates/stop-docker-compose.j2.yml (75 bytes) [container.docker.engine] bytes=75 file=container-src/templates/stop-docker-compose.j2.yml
2018-06-01T13:46:15.889706 tarball item: container-src/templates/wait_on_host.py (2365 bytes) [container.docker.engine] bytes=2365 file=container-src/templates/wait_on_host.py
2018-06-01T13:46:15.889833 tarball item: container-src/templates/init (0 bytes) [container.docker.engine] bytes=0L file=container-src/templates/init
2018-06-01T13:46:15.889951 tarball item: container-src/templates/init/ansible-requirements.j2.txt (131 bytes) [container.docker.engine] bytes=131 file=container-src/templates/init/ansible-requirements.j2.txt
2018-06-01T13:46:15.890106 tarball item: container-src/templates/init/ansible.j2.cfg (145 bytes) [container.docker.engine] bytes=145 file=container-src/templates/init/ansible.j2.cfg
2018-06-01T13:46:15.890220 tarball item: container-src/templates/init/container.j2.yml (2514 bytes) [container.docker.engine] bytes=2514 file=container-src/templates/init/container.j2.yml
2018-06-01T13:46:15.890333 tarball item: container-src/templates/init/meta.j2.yml (1231 bytes) [container.docker.engine] bytes=1231 file=container-src/templates/init/meta.j2.yml
2018-06-01T13:46:15.890445 tarball item: container-src/templates/init/requirements.j2.yml (299 bytes) [container.docker.engine] bytes=299 file=container-src/templates/init/requirements.j2.yml
2018-06-01T13:46:15.890555 tarball item: container-src/templates/role (0 bytes) [container.docker.engine] bytes=0L file=container-src/templates/role
2018-06-01T13:46:15.890665 tarball item: container-src/templates/role/.travis.j2.yml (540 bytes) [container.docker.engine] bytes=540 file=container-src/templates/role/.travis.j2.yml
2018-06-01T13:46:15.890774 tarball item: container-src/templates/role/README.j2.md (1287 bytes) [container.docker.engine] bytes=1287 file=container-src/templates/role/README.j2.md
2018-06-01T13:46:15.890886 tarball item: container-src/templates/role/defaults (0 bytes) [container.docker.engine] bytes=0L file=container-src/templates/role/defaults
2018-06-01T13:46:15.890998 tarball item: container-src/templates/role/defaults/main.j2.yml (55 bytes) [container.docker.engine] bytes=55 file=container-src/templates/role/defaults/main.j2.yml
2018-06-01T13:46:15.891113 tarball item: container-src/templates/role/meta (0 bytes) [container.docker.engine] bytes=0L file=container-src/templates/role/meta
2018-06-01T13:46:15.891223 tarball item: container-src/templates/role/meta/main.j2.yml (3220 bytes) [container.docker.engine] bytes=3220 file=container-src/templates/role/meta/main.j2.yml
2018-06-01T13:46:15.891336 tarball item: container-src/templates/role/test (0 bytes) [container.docker.engine] bytes=0L file=container-src/templates/role/test
2018-06-01T13:46:15.891446 tarball item: container-src/templates/role/test/test.j2.yml (81 bytes) [container.docker.engine] bytes=81 file=container-src/templates/role/test/test.j2.yml
2018-06-01T13:46:15.891555 tarball item: container-src/templates/ansible-container-inventory.pyc (2032 bytes) [container.docker.engine] bytes=2032 file=container-src/templates/ansible-container-inventory.pyc
2018-06-01T13:46:15.891666 tarball item: container-src/templates/wait_on_host.pyc (2483 bytes) [container.docker.engine] bytes=2483 file=container-src/templates/wait_on_host.pyc
2018-06-01T13:46:15.891791 tarball item: container-src/__init__.pyc (1391 bytes) [container.docker.engine] bytes=1391 file=container-src/__init__.pyc
2018-06-01T13:46:15.891893 tarball item: container-src/cli.pyc (17783 bytes) [container.docker.engine] bytes=17783 file=container-src/cli.pyc
2018-06-01T13:46:15.891996 tarball item: container-src/config.pyc (14813 bytes) [container.docker.engine] bytes=14813 file=container-src/config.pyc
2018-06-01T13:46:15.892097 tarball item: container-src/core.pyc (30177 bytes) [container.docker.engine] bytes=30177 file=container-src/core.pyc
2018-06-01T13:46:15.892216 tarball item: container-src/engine.pyc (10545 bytes) [container.docker.engine] bytes=10545 file=container-src/engine.pyc
2018-06-01T13:46:15.892340 tarball item: container-src/exceptions.pyc (5654 bytes) [container.docker.engine] bytes=5654 file=container-src/exceptions.pyc
2018-06-01T13:46:15.892464 tarball item: container-src/conductor-build/setup.py (4628 bytes) [container.docker.engine] bytes=4628 file=container-src/conductor-build/setup.py
2018-06-01T13:46:15.892577 tarball item: container-src/conductor-build/conductor-requirements.txt (273 bytes) [container.docker.engine] bytes=273 file=container-src/conductor-build/conductor-requirements.txt
2018-06-01T13:46:15.892679 tarball item: container-src/conductor-build/conductor-requirements.yml (60 bytes) [container.docker.engine] bytes=60 file=container-src/conductor-build/conductor-requirements.yml
2018-06-01T13:46:15.892781 tarball item: Dockerfile (771 bytes) [container.docker.engine] bytes=771 file=Dockerfile
2018-06-01T13:46:15.892882 tarball item: build-src/ansible.cfg (144 bytes) [container.docker.engine] bytes=144 file=build-src/ansible.cfg
2018-06-01T13:46:15.892983 tarball item: build-src/ansible-requirements.txt (130 bytes) [container.docker.engine] bytes=130 file=build-src/ansible-requirements.txt
2018-06-01T13:46:15.893084 tarball item: build-src/requirements.yml (298 bytes) [container.docker.engine] bytes=298 file=build-src/requirements.yml
2018-06-01T13:46:15.893201 tarball item: build-src/.touch (0 bytes) [container.docker.engine] bytes=0 file=build-src/.touch
2018-06-01T13:46:15.893299 tarball item: Dockerfile (577 bytes) [container.docker.engine] bytes=577 file=Dockerfile
2018-06-01T13:46:15.894357 Starting Docker build of Ansible Container Conductor image (please be patient)... [container.docker.engine] caller_file=/usr/lib/python2.7/site-packages/container/docker/engine.py caller_func=build_conductor_image caller_line=1038
Step 1/4 : FROM container-conductor-rhosp12-conductor:0.9.2
 ---> f446b55aeb34
Step 2/4 : VOLUME /usr
 ---> Running in 999fe2f53bab
 ---> 4c93f2d25587
Removing intermediate container 999fe2f53bab
Step 3/4 : COPY /build-src /_ansible/build
 ---> d16cb2760b5f
Removing intermediate container 7b4db55ffecf
Step 4/4 : RUN ( test -f /_ansible/build/ansible-requirements.txt && pip install --no-cache-dir -r /_ansible/build/ansible-requirements.txt || true ) &&     ( test -f /_ansible/build/requirements.yml && ansible-galaxy install -p /etc/ansible/roles -r /_ansible/build/requirements.yml || true ) &&     ( test -f /_ansible/build/ansible.cfg && cp /_ansible/build/ansible.cfg /etc/ansible/ansible.cfg || true)
 ---> Running in 15f8438b58c6

{}
/bin/sh: pip: command not found

/bin/sh: ansible-galaxy: command not found

cp: cannot create regular file '/etc/ansible/ansible.cfg': No such file or directory

 ---> 13c12bb8b77f
Removing intermediate container 15f8438b58c6
Successfully built 13c12bb8b77f
2018-06-01T13:47:47.215933 Cleaning up temporary directory [container.utils.temp] caller_file=/usr/lib/python2.7/site-packages/container/utils/temp.py caller_func=__exit__ caller_line=22 path=/tmp/tmpej6SzL
2018-06-01T13:47:47.219738 Config settings                [container.core] caller_file=/usr/lib/python2.7/site-packages/container/core.py caller_func=hostcmd_build caller_line=191 conf=<class 'container.docker.config.AnsibleContainerConfig'> config=<container.docker.config.AnsibleContainerConfig object at 0x19abe50> rawsettings={"conductor_base": "rhosp12-conductor", "project_name": "gmx-ac-rhel7", "k8s_namespace": {"name": "gmx-ansible-container", "description": "DevelopmentEnv", "display_name": "gmx_ansible_container"}, "environment": "container=docker", "pwd": "/bla/Desktop/DockerTest/ansible/ansible-container-rhosp12-conductor"} settings={"conductor_base": "rhosp12-conductor", "project_name": "gmx-ac-rhel7", "k8s_namespace": {"name": "gmx-ansible-container", "description": "DevelopmentEnv", "display_name": "gmx_ansible_container"}, "environment": "container=docker", "pwd": "/bla/Desktop/DockerTest/ansible/ansible-container-rhosp12-conductor"}
2018-06-01T13:47:47.221664 Call: Engine.run_conductor     [container.docker.engine] args=('build', {'services': ordereddict([('gmx-install-rhel7', ordereddict([('from', 'registry.access.redhat.com/rhel7'), ('environment', ordereddict([('http_proxy', 'http://contractorproxywest.northgrum.com:80'), ('https_proxy', 'http://contractorproxywest.northgrum.com:80')])), ('cap_add', ['SYS_ADMIN']), ('tmpfs', ['/run']), ('volumes', ['/sys/fs/cgroup:/sys/fs/cgroup:ro', '/applogs:/applogs', '/missiondata:/missiondata', '/gmxConfiguration:/gmxConfiguration']), ('roles', ['gmx_installs']), ('stop_signal', 'SIGRTMIN+3'), ('privileged', True), ('become_user', 'root'), ('ports', ['161:161/udp', '162:162/udp', '1705:1705/udp', '4567:4567/udp', '4568:4568/udp', '8443:8443/udp', '16110:16110/udp']), ('command', '/usr/sbin/init')]))]), 'version': '2', 'registries': ordereddict([]), 'defaults': ordereddict([]), 'settings': ordereddict([('conductor_base', 'rhosp12-conductor'), ('project_name', 'gmx-ac-rhel7'), ('k8s_namespace', ordereddict([('name', 'gmx-ansible-container'), ('description', 'DevelopmentEnv'), ('display_name', 'gmx_ansible_container')])), ('environment', 'container=docker'), ('pwd', '/bla/Desktop/DockerTest/ansible/ansible-container-rhosp12-conductor')])}, '/bla/Desktop/DockerTest/ansible/ansible-container-rhosp12-conductor', {'with_volumes': [], 'config_vars': ordereddict([]), 'conductor_cache': True, 'local_python': False, 'with_variables': [], 'selinux': True, 'purge_last': True, 'cache': False, 'volume_driver': None, 'devel': False, 'src_mount_path': None, 'roles_path': [], 'subcommand': 'build', 'ansible_options': u'', 'flatten': False, 'container_cache': True, 'debug': True, 'services_to_build': None, 'save_conductor_container': False}) caller_file=/usr/lib/python2.7/site-packages/container/docker/engine.py caller_func=Engine.run_conductor caller_line=23 kwargs={}
2018-06-01T13:47:47.237451 Docker run:                    [container.docker.engine] caller_file=/usr/lib/python2.7/site-packages/container/docker/engine.py caller_func=run_conductor caller_line=435 image=u'sha256:13c12bb8b77fbfd07408ead728539d24c6834b5450c35f67bd348139842aa6e2' params={'name': u'gmx-ac-rhel7_conductor', 'cap_add': ['SYS_ADMIN'], 'environment': {'DOCKER_HOST': 'unix:///var/run/docker.sock', 'ANSIBLE_ROLES_PATH': '/src/roles:/etc/ansible/roles'}, 'working_dir': '/src', 'command': ['conductor', 'build', '--project-name', 'gmx-ac-rhel7', '--engine', 'docker', '--params', u'eyJ3aXRoX3ZvbHVtZXMiOiBbXSwgImNvbmZpZ192YXJzIjoge30sICJjb25kdWN0b3JfY2FjaGUiOiB0cnVlLCAibG9jYWxfcHl0aG9uIjogZmFsc2UsICJ3aXRoX3ZhcmlhYmxlcyI6IFtdLCAic2VsaW51eCI6IHRydWUsICJwdXJnZV9sYXN0IjogdHJ1ZSwgImNhY2hlIjogZmFsc2UsICJ2b2x1bWVfZHJpdmVyIjogbnVsbCwgImRldmVsIjogZmFsc2UsICJzcmNfbW91bnRfcGF0aCI6IG51bGwsICJyb2xlc19wYXRoIjogW10sICJzdWJjb21tYW5kIjogImJ1aWxkIiwgImFuc2libGVfb3B0aW9ucyI6ICIiLCAiZmxhdHRlbiI6IGZhbHNlLCAiY29udGFpbmVyX2NhY2hlIjogdHJ1ZSwgImRlYnVnIjogdHJ1ZSwgInNlcnZpY2VzX3RvX2J1aWxkIjogbnVsbCwgInNhdmVfY29uZHVjdG9yX2NvbnRhaW5lciI6IGZhbHNlfQ==', '--config', u'eyJzZXJ2aWNlcyI6IFtbImdteC1pbnN0YWxsLXJoZWw3IiwgeyJmcm9tIjogInJlZ2lzdHJ5LmFjY2Vzcy5yZWRoYXQuY29tL3JoZWw3IiwgImVudmlyb25tZW50IjogeyJodHRwX3Byb3h5IjogImh0dHA6Ly9jb250cmFjdG9ycHJveHl3ZXN0Lm5vcnRoZ3J1bS5jb206ODAiLCAiaHR0cHNfcHJveHkiOiAiaHR0cDovL2NvbnRyYWN0b3Jwcm94eXdlc3Qubm9ydGhncnVtLmNvbTo4MCJ9LCAiY2FwX2FkZCI6IFsiU1lTX0FETUlOIl0sICJ0bXBmcyI6IFsiL3J1biJdLCAidm9sdW1lcyI6IFsiL3N5cy9mcy9jZ3JvdXA6L3N5cy9mcy9jZ3JvdXA6cm8iLCAiL2FwcGxvZ3M6L2FwcGxvZ3MiLCAiL21pc3Npb25kYXRhOi9taXNzaW9uZGF0YSIsICIvZ214Q29uZmlndXJhdGlvbjovZ214Q29uZmlndXJhdGlvbiJdLCAicm9sZXMiOiBbImdteF9pbnN0YWxscyJdLCAic3RvcF9zaWduYWwiOiAiU0lHUlRNSU4rMyIsICJwcml2aWxlZ2VkIjogdHJ1ZSwgImJlY29tZV91c2VyIjogInJvb3QiLCAicG9ydHMiOiBbIjE2MToxNjEvdWRwIiwgIjE2MjoxNjIvdWRwIiwgIjE3MDU6MTcwNS91ZHAiLCAiNDU2Nzo0NTY3L3VkcCIsICI0NTY4OjQ1NjgvdWRwIiwgIjg0NDM6ODQ0My91ZHAiLCAiMTYxMTA6MTYxMTAvdWRwIl0sICJjb21tYW5kIjogIi91c3Ivc2Jpbi9pbml0In1dXSwgInNldHRpbmdzIjogW1siY29uZHVjdG9yX2Jhc2UiLCAicmhvc3AxMi1jb25kdWN0b3IiXSwgWyJwcm9qZWN0X25hbWUiLCAiZ214LWFjLXJoZWw3Il0sIFsiazhzX25hbWVzcGFjZSIsIHsibmFtZSI6ICJnbXgtYW5zaWJsZS1jb250YWluZXIiLCAiZGVzY3JpcHRpb24iOiAiRGV2ZWxvcG1lbnRFbnYiLCAiZGlzcGxheV9uYW1lIjogImdteF9hbnNpYmxlX2NvbnRhaW5lciJ9XSwgWyJlbnZpcm9ubWVudCIsICJjb250YWluZXI9ZG9ja2VyIl0sIFsicHdkIiwgIi9ob21lLzRqMzYzMDEvRGVza3RvcC9Eb2NrZXJUZXN0L2Fuc2libGUvYW5zaWJsZS1jb250YWluZXItcmhvc3AxMi1jb25kdWN0b3IiXV0sICJ2ZXJzaW9uIjogIjIiLCAiZGVmYXVsdHMiOiBbXSwgInJlZ2lzdHJpZXMiOiBbXX0=', '--encoding', 'b64json'], 'user': 'root', 'volumes': {'gmx-ac-rhel7_secrets': {'bind': '/docker/secrets', 'mode': 'rw'}, '/bla/.docker/config.json': {'bind': '/bla/.docker/config.json', 'mode': 'rw'}, '/var/run/docker.sock': {'bind': '/var/run/docker.sock', 'mode': 'rw'}, '/bla/Desktop/DockerTest/ansible/ansible-container-rhosp12-conductor': {'bind': '/src', 'mode': 'ro'}}, 'detach': True, 'privileged': True}
2018-06-01T13:48:17.306709 Unknown exception 404 Client Error: Not Found ("oci runtime error: container_linux.go:247: starting container process caused "exec: \"conductor\": executable file not found in $PATH"
") [container.cli] caller_file=/usr/lib/python2.7/site-packages/structlog/stdlib.py caller_func=exception caller_line=95
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/container/cli.py", line 299, in __call__
    getattr(core, u'hostcmd_{}'.format(args.subcommand))(**vars(args))
  File "/usr/lib/python2.7/site-packages/container/__init__.py", line 28, in __wrapped__
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/container/core.py", line 201, in hostcmd_build
    'build', dict(config), base_path, kwargs, save_container=save_container)
  File "/usr/lib/python2.7/site-packages/container/docker/engine.py", line 454, in await_conductor_command
    conductor_id = self.run_conductor(command, config, base_path, params)
  File "/usr/lib/python2.7/site-packages/container/docker/engine.py", line 105, in __wrapped__
    return fn(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/container/__init__.py", line 28, in __wrapped__
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/container/docker/engine.py", line 446, in run_conductor
    reraise(*sys.exc_info())
  File "/usr/lib/python2.7/site-packages/container/docker/engine.py", line 439, in run_conductor
    **run_kwargs
  File "/usr/lib/python2.7/site-packages/docker/models/containers.py", line 725, in run
    container.start()
  File "/usr/lib/python2.7/site-packages/docker/models/containers.py", line 337, in start
    return self.client.api.start(self.id, **kwargs)
  File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 19, in wrapped
    return f(self, resource_id, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/docker/api/container.py", line 1086, in start
    self._raise_for_status(res)
  File "/usr/lib/python2.7/site-packages/docker/api/client.py", line 224, in _raise_for_status
    raise create_api_error_from_http_exception(e)
  File "/usr/lib/python2.7/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
    raise cls(e, response=response, explanation=explanation)
NotFound: 404 Client Error: Not Found ("oci runtime error: container_linux.go:247: starting container process caused "exec: \"conductor\": executable file not found in $PATH"
")



Any idea where I should look at? I googled a little but could not find helpful hints.
@Ilmn-Ybi
Copy link
Author

Ilmn-Ybi commented Jun 1, 2018

I also tried the same build process (same images, files, etc.) on a RHEL7.5 system and got the same error.

@Voronenko
Copy link
Contributor

Conductor image needs tuning

/bin/sh: pip: command not found

/bin/sh: ansible-galaxy: command not found

Take a look on conductor example:

https://github.com/softasap/dck-ansible-container/blob/master/alpine/alpine-37/Dockerfile

you need to have plenty of tools there

@Voronenko
Copy link
Contributor

@Ilmn-Ybi did you try ?

@Voronenko Voronenko added question stale-communication Candidate for the closure due to stale communication labels Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question stale-communication Candidate for the closure due to stale communication
Projects
None yet
Development

No branches or pull requests

2 participants