{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/fleet/issues/1079","labels_url":"https://api.github.com/repos/coreos/fleet/issues/1079/labels{/name}","comments_url":"https://api.github.com/repos/coreos/fleet/issues/1079/comments","events_url":"https://api.github.com/repos/coreos/fleet/issues/1079/events","html_url":"https://github.com/coreos/fleet/issues/1079","id":53238930,"number":1079,"title":"Fleet Sidekick scheduling fails with \"Wants\" directive.","user":{"login":"sukrit007","id":758708,"avatar_url":"https://avatars.githubusercontent.com/u/758708?v=3","gravatar_id":"","url":"https://api.github.com/users/sukrit007","html_url":"https://github.com/sukrit007","followers_url":"https://api.github.com/users/sukrit007/followers","following_url":"https://api.github.com/users/sukrit007/following{/other_user}","gists_url":"https://api.github.com/users/sukrit007/gists{/gist_id}","starred_url":"https://api.github.com/users/sukrit007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sukrit007/subscriptions","organizations_url":"https://api.github.com/users/sukrit007/orgs","repos_url":"https://api.github.com/users/sukrit007/repos","events_url":"https://api.github.com/users/sukrit007/events{/privacy}","received_events_url":"https://api.github.com/users/sukrit007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-02T06:08:18Z","updated_at":"2015-02-09T18:48:05Z","closed_at":null,"body":"**Given**:  Main application unit file that \"Wants\" side kick service\r\n```\r\n[Unit]\r\nDescription=My Apache Frontend\r\nAfter=docker.service\r\nRequires=docker.service\r\nWants=apache-discovery@%i.service\r\n[Service]\r\nTimeoutStartSec=0\r\nExecStartPre=-/usr/bin/docker kill apache1\r\nExecStartPre=-/usr/bin/docker rm apache1\r\nExecStartPre=/usr/bin/docker pull coreos/apache\r\nExecStart=/usr/bin/docker run -rm --name apache1 -p 80:80 coreos/apache /usr/sbin/apache2ctl -D FOREGROUND\r\nExecStop=/usr/bin/docker stop apache1\r\n\r\n[X-Fleet]\r\nConflicts=apache@*.service\r\n```\r\n\r\n**And**: Sidekick unit  that binds to application service.\r\n```\r\n[Unit]\r\nDescription=Announce Apache1\r\nBindsTo=apache@%i.service\r\nAfter=apache@%i.service\r\n\r\n[Service]\r\nExecStart=/bin/sh -c \"while true; do etcdctl set /services/website/apache@%i '{ \\\"host\\\": \\\"%H\\\", \\\"port\\\": 80, \\\"version\\\": \\\"52c7248a14\\\" }' --ttl 60;sleep 45;done\"\r\nExecStop=/usr/bin/etcdctl rm /services/website/apache@%i\r\n\r\n[X-Fleet]\r\nMachineOf=apache@%i.service\r\n```\r\n\r\n**When**: I submit and start the app unit and sidekicks\r\n```shell\r\nfleetctl submit apache\\@.service\r\nfleetctl submit apache-discovery\\@.service\r\nfleetctl start apache@{1..1}.service\r\nfleetctl start apache-discovery@{1..1}.service\r\n```\r\n \r\n**Then**:  My sidekick fails to start\r\n```\r\nfleetctl status apache-discovery@1.service \r\n● apache-discovery@1.service\r\n   Loaded: not-found (Reason: No such file or directory)\r\n   Active: inactive (dead)\r\nJan 02 05:45:37 ip-10-249-144-233.us-west-1.compute.internal systemd[1]: Cannot add dependency job for unit apache-discovery@1.service, ignoring: Unit apache-discovery@1.service failed to load: No such file or directory.\r\n```\r\n\r\n**Env. Info**\r\nVERSION=549.0.0\r\nEC2 AMI=  us-east: ami-72ddb71a\r\nCLUSTER_SIZE = 2\r\nINSTANCE_SIZe = m3.medium\r\nFLEET = 0.9.0\r\n\r\n**Notes**  \r\nIt works on COREOS 472.0 fleet 0.8.3  but stopped working after upgrade to 549.0.0 , fleet 0.9.0 "},"comment":{"url":"https://api.github.com/repos/coreos/fleet/issues/comments/73565506","html_url":"https://github.com/coreos/fleet/issues/1079#issuecomment-73565506","issue_url":"https://api.github.com/repos/coreos/fleet/issues/1079","id":73565506,"user":{"login":"bcwaldon","id":548759,"avatar_url":"https://avatars.githubusercontent.com/u/548759?v=3","gravatar_id":"","url":"https://api.github.com/users/bcwaldon","html_url":"https://github.com/bcwaldon","followers_url":"https://api.github.com/users/bcwaldon/followers","following_url":"https://api.github.com/users/bcwaldon/following{/other_user}","gists_url":"https://api.github.com/users/bcwaldon/gists{/gist_id}","starred_url":"https://api.github.com/users/bcwaldon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcwaldon/subscriptions","organizations_url":"https://api.github.com/users/bcwaldon/orgs","repos_url":"https://api.github.com/users/bcwaldon/repos","events_url":"https://api.github.com/users/bcwaldon/events{/privacy}","received_events_url":"https://api.github.com/users/bcwaldon/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T18:48:05Z","updated_at":"2015-02-09T18:48:05Z","body":"I believe this is a duplicate of https://github.com/coreos/fleet/issues/997"}}