{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/3213","labels_url":"https://api.github.com/repos/rancher/rancher/issues/3213/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/3213/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/3213/events","html_url":"https://github.com/rancher/rancher/issues/3213","id":125681210,"number":3213,"title":"Issue with multiple host_label key-value pairs","user":{"login":"gcallsen","id":633975,"avatar_url":"https://avatars.githubusercontent.com/u/633975?v=3","gravatar_id":"","url":"https://api.github.com/users/gcallsen","html_url":"https://github.com/gcallsen","followers_url":"https://api.github.com/users/gcallsen/followers","following_url":"https://api.github.com/users/gcallsen/following{/other_user}","gists_url":"https://api.github.com/users/gcallsen/gists{/gist_id}","starred_url":"https://api.github.com/users/gcallsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcallsen/subscriptions","organizations_url":"https://api.github.com/users/gcallsen/orgs","repos_url":"https://api.github.com/users/gcallsen/repos","events_url":"https://api.github.com/users/gcallsen/events{/privacy}","received_events_url":"https://api.github.com/users/gcallsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-08T19:53:14Z","updated_at":"2016-01-08T21:18:55Z","closed_at":null,"body":"Currently having an issue deploying a service with a scheduling rule that includes more than one host_label key=value pair. i.e.:\r\n\r\n    labels:\r\n        io.rancher.scheduler.affinity:host_label: key1=true, key2=true\r\n\r\nWhen deploying with *either* key1=true or key2=true the scheduling works correctly. When we have both rules it fails. \r\n\r\nTried this when running v0.50.2, just upgraded and tested again with v0.51.0. I recall being able to do this in the past and I believe documentation (http://docs.rancher.com/rancher/rancher-compose/scheduling/) suggests that should work correctly. Am I missing something on this?\r\n\r\nMany thanks."},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/170126291","html_url":"https://github.com/rancher/rancher/issues/3213#issuecomment-170126291","issue_url":"https://api.github.com/repos/rancher/rancher/issues/3213","id":170126291,"user":{"login":"deniseschannon","id":11410997,"avatar_url":"https://avatars.githubusercontent.com/u/11410997?v=3","gravatar_id":"","url":"https://api.github.com/users/deniseschannon","html_url":"https://github.com/deniseschannon","followers_url":"https://api.github.com/users/deniseschannon/followers","following_url":"https://api.github.com/users/deniseschannon/following{/other_user}","gists_url":"https://api.github.com/users/deniseschannon/gists{/gist_id}","starred_url":"https://api.github.com/users/deniseschannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniseschannon/subscriptions","organizations_url":"https://api.github.com/users/deniseschannon/orgs","repos_url":"https://api.github.com/users/deniseschannon/repos","events_url":"https://api.github.com/users/deniseschannon/events{/privacy}","received_events_url":"https://api.github.com/users/deniseschannon/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T21:18:54Z","updated_at":"2016-01-08T21:18:54Z","body":"@gcallsen Okay, I was mistaken. You should be able to use a comma separated list for labels. \r\n\r\nI was thinking of the `key in (value1, value2)`.\r\n\r\nI just tested this on v0.51.0 and was able to do the comma separated list. \r\n\r\nWhat are the issues that you have with deploying?"}}