Skip to content

Error when starting development docker containers #144

@netrounds-fredrik

Description

@netrounds-fredrik

The set up of the containers does not populate it with initial data causing it to fail.

fredrik@cord:~/xos/containers$ make
sudo docker-compose up -d
[sudo] password for fredrik:
Pulling xos_db (xosproject/xos-postgres:latest)...
latest: Pulling from xosproject/xos-postgres
6edcc89ed412: Pull complete
bdf37643ee24: Pull complete
ea0211d47051: Pull complete
a3ed95caeb02: Pull complete
18cf5483431e: Pull complete
5b5f64e30632: Pull complete
8d53bbb29010: Pull complete
a99557697f9b: Pull complete
362036c263e2: Pull complete
359bffa06fb1: Pull complete
50499d43a793: Pull complete
24dbe71e1f5b: Pull complete
Digest: sha256:4eea3d80675f23df6d5bf93f80cfd8e40871cb7d60784c5291cc17971973cf03
Status: Downloaded newer image for xosproject/xos-postgres:latest
Pulling xos_synchronizer_openstack (xosproject/xos-synchronizer-openstack:latest)...
latest: Pulling from xosproject/xos-synchronizer-openstack
8387d9ff0016: Pull complete
3b52deaaf0ed: Pull complete
4bd501fad6de: Pull complete
a3ed95caeb02: Pull complete
1c977c872855: Pull complete
4ab3a1e4747d: Pull complete
da3a44992f76: Pull complete
14f7887c40c0: Pull complete
f0f309363038: Pull complete
83ac7afb5dc9: Pull complete
ee0c8f89f624: Pull complete
86f5679c85a3: Pull complete
65850c3970d3: Pull complete
a84941675410: Pull complete
f078e535ae73: Pull complete
1202e3440ba2: Pull complete
ae69e45827ac: Pull complete
9ed2879770e0: Pull complete
c1dea5ec1f62: Pull complete
d69df1e2ea7e: Pull complete
5308efc1ab7a: Pull complete
Digest: sha256:044a6f9f14d2742e91c1d92ff47fadeba5fd985d943d90b1f3b521b8aee20203
Status: Downloaded newer image for xosproject/xos-synchronizer-openstack:latest
Pulling xos (xosproject/xos:latest)...
latest: Pulling from xosproject/xos
8387d9ff0016: Already exists
3b52deaaf0ed: Already exists
4bd501fad6de: Already exists
a3ed95caeb02: Already exists
1c977c872855: Already exists
4ab3a1e4747d: Already exists
da3a44992f76: Already exists
14f7887c40c0: Already exists
f0f309363038: Already exists
83ac7afb5dc9: Already exists
ee0c8f89f624: Already exists
86f5679c85a3: Already exists
65850c3970d3: Already exists
Digest: sha256:87e9ce702b2dd11a821dd5fc0794f2d4e7f32e3097ec6ceff16a852bb74f00ab
Status: Downloaded newer image for xosproject/xos:latest
Creating containers_xos_db_1
Creating containers_xos_1
Creating containers_xos_synchronizer_openstack_1
../xos/configurations/common/wait_for_xos_port.sh 8000
Waiting for XOS to come up
XOS is ready
sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/setup.yaml
Traceback (most recent call last):
  File "/opt/xos/tosca/run.py", line 34, in <module>
    main()
  File "/opt/xos/tosca/run.py", line 28, in main
    u = User.objects.get(email=username)
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 92, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 357, in get
    self.model._meta.object_name)
core.models.user.DoesNotExist: User matching query does not exist.
make: *** [xos] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions