You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rancher-compose -f test/docker-compose.yml -r test/rancher-compose.yml create
INFO[0000] Creating environment test
INFO[0000] Creating service foo
WARN[0000] Failed to find service bar to link to
INFO[0000] Creating service bar
The services show up in the GUI with only bar linking to foo, and foo having no links. But the order seems to be random and quite often I see bar linking to foo, and foo linking to nothing. If I add the missing link using the GUI, it does appear successfully.
Is this functionality supported? Cheers.
The text was updated successfully, but these errors were encountered:
I've just been pointed towards issue #1851, which perhaps I've duplicated here. If I simply 'up' the service without building, I still get the warn in rancher-compose, however the service does come up with the correct link.
rancher-compose -f test/docker-compose.yml -r test/rancher-compose.yml up
INFO[0000] Creating environment test
INFO[0000] Project [test]: Starting project
INFO[0000] Creating service foo
WARN[0001] Failed to find service bar to link to
INFO[0001] [0/2] [bar]: Starting
INFO[0001] Creating service bar
INFO[0013] [1/2] [bar]: Started
INFO[0023] [2/2] [foo]: Started
RancherOS: v0.4.0-rc2
Rancher: v0.32.0
Cattle: v0.75.0
User Interface: v0.40.0
Rancher Compose: v0.2.5
Description
I have two services that link to each other, described in the docker-compose.yml. I build them using rancher-compose.
Expected
Two services are created with links to each other.
Actual
Only one of the services links to the other, and I receive a warn in the rancher-compose output.
Details
Two services defined:
and I build them:
The services show up in the GUI with only bar linking to foo, and foo having no links. But the order seems to be random and quite often I see bar linking to foo, and foo linking to nothing. If I add the missing link using the GUI, it does appear successfully.
Is this functionality supported? Cheers.
The text was updated successfully, but these errors were encountered: