# Resource constraints problem

**URL:** <https://forums.suse.com/t/resource-constraints-problem/8207>\
**Category:** Rancher 1.x\
**Created:** [January 12, 2018, 11:20am UTC](https://forums.suse.com/t/resource-constraints-problem/8207 "2018-01-12T11:20:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shizbauer](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@shizbauer](https://forums.suse.com/u/shizbauer)\
**Post date:** [January 12, 2018, 11:20am UTC](https://forums.suse.com/t/resource-constraints-problem/8207/1 "2018-01-12T11:20:03Z")

</div>

Hi

I’m using “Bind9 Domain Name Server” from catalog and everything it’s working fine

i have tried to download the configuration , delete the stack and create from composer files and i got this error :

bind9 (Failed to allocate instance [container:1i706]: Bad instance [container:1i706] in state [error]: Allocation failed: No healthy hosts meet the resource constraints: [53:53/tcp, 53:53/udp portReservation, instanceReservation: 1].)

but no other dns servise is running on hosts.

rebuild the stack from catalog work as usual.

---

<div class="post-metadata">

**Author:** ![shubbard343](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@shubbard343](https://forums.suse.com/u/shubbard343)\
**Post date:** [January 12, 2018, 7:52pm UTC](https://forums.suse.com/t/resource-constraints-problem/8207/2 "2018-01-12T19:52:18Z")

</div>

Can you post the compose you used?

---

<div class="post-metadata">

**Author:** ![shizbauer](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@shizbauer](https://forums.suse.com/u/shizbauer)\
**Post date:** [January 15, 2018, 8:03am UTC](https://forums.suse.com/t/resource-constraints-problem/8207/3 "2018-01-15T08:03:33Z")

</div>

docker-compose.yml

version: '2’  
services:  
bind9:  
image: digitallumberjack/docker-bind9:v1.2.0  
environment:  
BIND9\_FORWARDERS: 217.29.160.11;217.29.160.12;  
BIND9\_KEY: y6XubZaQULQaxWCF6Pc2RuAAXD3OQGye/kP5ViGHNEo=  
BIND9\_KEYNAME: tsig-key  
BIND9\_ROOTDOMAIN: [cloud.orchestra.it](http://cloud.orchestra.it)  
RANCHER\_ENV: 'true’  
ports:  
- 53:53/tcp  
- 53:53/udp

rancher-compose.yml :

version: '2’  
services:  
bind9:  
scale: 1  
start\_on\_create: true  
health\_check:  
healthy\_threshold: 2  
response\_timeout: 2000  
port: 53  
unhealthy\_threshold: 3  
initializing\_timeout: 20000  
interval: 2000  
strategy: recreate

---

<div class="post-metadata">

**Author:** ![shizbauer](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@shizbauer](https://forums.suse.com/u/shizbauer)\
**Post date:** [January 17, 2018, 11:12am UTC](https://forums.suse.com/t/resource-constraints-problem/8207/4 "2018-01-17T11:12:52Z")

</div>

Hi  
i found the problem , was the label io.rancher.container.system defined on hosts.  
but i don’t understand why using catalog the problem don’t arise.

---

<div class="post-metadata">

**Author:** ![Olivenoir](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/olivenoir/32/9503_2.png) [@Olivenoir](https://forums.suse.com/u/Olivenoir)\
**Post date:** [July 28, 2022, 1:31pm UTC](https://forums.suse.com/t/resource-constraints-problem/8207/5 "2022-07-28T13:31:56Z")

</div>

Indeed i delete io.rancher.container.system and its work ! thx
