Rancher environment share host


I just see that if I create a new environment my hosts previously added doesn’t show up in this new env.
I have two question about this :

  • can I share a host between several env ? or each env need its own host ?
  • can I move a host from one env to another ?
  1. No you cannot share hosts across several environments. Each environment needs it own hosts.
  2. Currently there is no way to move a host from one environment to another.

Ok thank you.

Sadly since I removed my two nodes from default env and trying to add it to the new env, rancher agent isn’t working anymore and failing with a weird error (docker logs) :

Found container ID: 37d3fba500108e4539d9e18afd68202edd1ecf743e66dd14a1ba797db25dea23
Checking root: /host/run/runc
Checking file: 22dfb3a3cbc5dd5b461fd4821942b30fc3ad1e1442413c2a450411780b78181e
Checking file: 37d3fba500108e4539d9e18afd68202edd1ecf743e66dd14a1ba797db25dea23
Found state.json: 37d3fba500108e4539d9e18afd68202edd1ecf743e66dd14a1ba797db25dea23
time=“2017-06-30T09:18:57Z” level=fatal msg=“json: cannot unmarshal object into Go value of type []string”

Any idea ?

Ok I found the source of the error. My box was upgraded to docker 17.06.0~ce-0~debian which is not supported.
downgrading to 17.03.2~ce-0~debian-jessie seems working.