# Rancher-compose hanging

**URL:** <https://forums.suse.com/t/rancher-compose-hanging/55>\
**Category:** Rancher 1.x\
**Created:** [July 10, 2015, 5:15pm UTC](https://forums.suse.com/t/rancher-compose-hanging/55 "2015-07-10T17:15:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jeremy/32/12_2.png) [@jeremy](https://forums.suse.com/u/jeremy)\
**Post date:** [July 10, 2015, 5:15pm UTC](https://forums.suse.com/t/rancher-compose-hanging/55/1 "2015-07-10T17:15:10Z")

</div>

I’m setting up a 3 host MongoDB replica set and everything is (finally) working as expected. However, I have to build everything manually in the Rancher UI because rancher-compose is hanging when I try to run the config from my working setup. Once I build the working project in the Rancher UI, I grab the config (below) and run it as-is with `rancher-compose`. It creates a new project (which I can see in the UI), then just hangs indefinitely. No errors/logs. Nothing. Even with debug mode (`--debug`).

```auto
$ rancher-compose --debug up
DEBU[0000] Opening compose file: docker-compose.yml
DEBU[0000] Opening rancher-compose file: /Users/Jeremy/code/mongo/rancher-compose.yml
INFO[0000] Creating environment mongo

```

Can you guys help me out with this?

docker-compose.yml

```auto
mongo1:
  restart: always
  environment:
    MONGO_ROLE: primary
  tty: true
  hostname: mongo1
  image: jshimko/mongopri:0.1.0
  links:
  - mongo3:mongo3
  - mongo2:mongo2
  stdin_open: true
mongo3:
  restart: always
  tty: true
  hostname: mongo3
  image: jshimko/mongopri:0.1.0
  links:
  - mongo1:mongo1
  - mongo2:mongo2
  stdin_open: true
mongo2:
  restart: always
  tty: true
  hostname: mongo2
  image: jshimko/mongopri:0.1.0
  links:
  - mongo3:mongo3
  - mongo1:mongo1
  stdin_open: true

```

rancher-compose.yml

```auto

mongo1:
  scale: 1
mongo3:
  scale: 1
mongo2:
  scale: 1

```

---

<div class="post-metadata">

**Author:** ![ibuildthecloud](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/ibuildthecloud/32/8_2.png) [@ibuildthecloud](https://forums.suse.com/u/ibuildthecloud)\
**Post date:** [July 10, 2015, 10:50pm UTC](https://forums.suse.com/t/rancher-compose-hanging/55/2 "2015-07-10T22:50:11Z")

</div>

@jeremy This should be fixed in v0.27.0. We have just done rc2 of the server but the new rancher-compose CLI has not been released yet.

---

<div class="post-metadata">

**Author:** ![jeremy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jeremy/32/12_2.png) [@jeremy](https://forums.suse.com/u/jeremy)\
**Post date:** [July 11, 2015, 1:34am UTC](https://forums.suse.com/t/rancher-compose-hanging/55/3 "2015-07-11T01:34:32Z")

</div>

Awesome. Thanks for the update!

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [July 16, 2015, 6:19pm UTC](https://forums.suse.com/t/rancher-compose-hanging/55/4 "2015-07-16T18:19:42Z")

</div>

@jeremy FYI, we released a new version of Rancher-compose, but circular links (your example) hasn’t been addressed yet.

---

<div class="post-metadata">

**Author:** ![jeremy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jeremy/32/12_2.png) [@jeremy](https://forums.suse.com/u/jeremy)\
**Post date:** [July 16, 2015, 9:16pm UTC](https://forums.suse.com/t/rancher-compose-hanging/55/5 "2015-07-16T21:16:34Z")

</div>

Ok. Thanks again @denise!

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [July 16, 2015, 9:41pm UTC](https://forums.suse.com/t/rancher-compose-hanging/55/6 "2015-07-16T21:41:19Z")

</div>

I’ll keep you posted on when we include the fix, which we hope to address in the next couple of days.

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [July 28, 2015, 12:07am UTC](https://forums.suse.com/t/rancher-compose-hanging/55/7 "2015-07-28T00:07:01Z")

</div>

This took a little longer than expected, but this is fixed with the latest rancher-compose v0.2.5.

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [July 28, 2015, 9:01pm UTC](https://forums.suse.com/t/rancher-compose-hanging/55/8 "2015-07-28T21:01:45Z")

</div>


