{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/29477","labels_url":"https://api.github.com/repos/saltstack/salt/issues/29477/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/29477/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/29477/events","html_url":"https://github.com/saltstack/salt/issues/29477","id":120718456,"number":29477,"title":"Metadata of repo.saltstack.com/yum/rhel6/ doesn't match packages in repo","user":{"login":"AirOnSkin","id":3176649,"avatar_url":"https://avatars.githubusercontent.com/u/3176649?v=3","gravatar_id":"","url":"https://api.github.com/users/AirOnSkin","html_url":"https://github.com/AirOnSkin","followers_url":"https://api.github.com/users/AirOnSkin/followers","following_url":"https://api.github.com/users/AirOnSkin/following{/other_user}","gists_url":"https://api.github.com/users/AirOnSkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AirOnSkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AirOnSkin/subscriptions","organizations_url":"https://api.github.com/users/AirOnSkin/orgs","repos_url":"https://api.github.com/users/AirOnSkin/repos","events_url":"https://api.github.com/users/AirOnSkin/events{/privacy}","received_events_url":"https://api.github.com/users/AirOnSkin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Fixed%20Pending%20Verification","name":"Fixed Pending Verification","color":"d4c5f9"},{"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P2","name":"P2","color":"155fb5"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Packaging","name":"Packaging","color":"006b75"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Platform","name":"Platform","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"dmurphy18","id":9943204,"avatar_url":"https://avatars.githubusercontent.com/u/9943204?v=3","gravatar_id":"","url":"https://api.github.com/users/dmurphy18","html_url":"https://github.com/dmurphy18","followers_url":"https://api.github.com/users/dmurphy18/followers","following_url":"https://api.github.com/users/dmurphy18/following{/other_user}","gists_url":"https://api.github.com/users/dmurphy18/gists{/gist_id}","starred_url":"https://api.github.com/users/dmurphy18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmurphy18/subscriptions","organizations_url":"https://api.github.com/users/dmurphy18/orgs","repos_url":"https://api.github.com/users/dmurphy18/repos","events_url":"https://api.github.com/users/dmurphy18/events{/privacy}","received_events_url":"https://api.github.com/users/dmurphy18/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2816,"closed_issues":3263,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-01-27T22:27:38Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-12-07T07:53:10Z","updated_at":"2016-01-27T22:27:38Z","closed_at":"2016-01-27T22:27:38Z","body":"Hello there,\r\n\r\nWe've come across a problem when syncing the YUM RHEL6 repo at repo.saltstack.com to our local repo server. The packages *zeromq-devel-4.0.5-4.el6.i686.rpm* and *zeromq-devel-4.0.5-4.el6.i686.rpm* failed to synchronize. The cause for this seems to be mismatching metadata.\r\n\r\nCurrently available are the following two rpms:\r\n* zeromq-devel-**4.0.5-1**.el6.i686.rpm\r\n* zeromq-devel-**4.0.5-1**.el6.x86_64.rpm\r\n\r\nThe metadata however lists:\r\n* zeromq-devel-**4.0.5-4**.el6.i686.rpm\r\n* zeromq-devel-**4.0.5-4**.el6.x86_64.rpm\r\n\r\nThe following few commands show our proceeding:\r\n* Initiating the repo sync:\r\n```\r\nlpm@cricetus: ~ $ reposync --config=/usr/local/zhaw/app/reposerver/conf/centos6/yum.conf --repoid=saltstack --download_path=/var/www/html/repo/centos/x86_64/6/2015-12-04\r\nsaltstack                                                                                                                              | 2.9 kB     00:00     \r\n[saltstack: 1     of 119   ] Skipping existing PyYAML-3.11-1.el6.i686.rpm\r\n[saltstack: 2     of 119   ] Skipping existing PyYAML-3.11-1.el6.x86_64.rpm\r\n\r\n...\r\n\r\n[saltstack: 118   of 119   ] Downloading zeromq-devel-4.0.5-4.el6.i686.rpm\r\nCould not retrieve package zeromq-devel-4.0.5-4.el6.i686. Error was failure: zeromq-devel-4.0.5-4.el6.i686.rpm from saltstack: [Errno 256] No more mirrors to try.\r\n[saltstack: 119   of 119   ] Downloading zeromq-devel-4.0.5-4.el6.x86_64.rpm\r\nCould not retrieve package zeromq-devel-4.0.5-4.el6.x86_64. Error was failure: zeromq-devel-4.0.5-4.el6.x86_64.rpm from saltstack: [Errno 256] No more mirrors to try.\r\n```\r\n* Showing packages in repo:\r\n```\r\nlpm@cricetus: ~ $ curl http://repo.saltstack.com/yum/rhel6/ | grep -E 'zeromq-devel-'\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 32431    0 32431    0     0  73427      0 --:--:-- --:--:-- --:--:-- 73706\r\n<tr><td valign=\"top\"><img src=\"/icons/unknown.gif\" alt=\"[   ]\"></td><td><a href=\"zeromq-devel-4.0.5-1.el6.i686.rpm\">zeromq-devel-4.0.5-1.el6.i686.rpm</a></td><td align=\"right\">2015-10-15 15:54  </td><td align=\"right\">107K</td><td>&nbsp;</td></tr>\r\n<tr><td valign=\"top\"><img src=\"/icons/unknown.gif\" alt=\"[   ]\"></td><td><a href=\"zeromq-devel-4.0.5-1.el6.x86_64.rpm\">zeromq-devel-4.0.5-1.el6.x86_64.rpm</a></td><td align=\"right\">2015-10-15 15:54  </td><td align=\"right\">107K</td><td>&nbsp;</td></tr>\r\n```\r\n* Showing packages in metadata:\r\n```\r\nlpm@cricetus: /tmp $ wget http://repo.saltstack.com/yum/rhel6/repodata/e3085c99e53cc5184a23f016a9041c1b4a7542b570c527da637ae34788600dbb-primary.xml.gz\r\n2015-12-07 08:01:55 URL:http://repo.saltstack.com/yum/rhel6/repodata/e3085c99e53cc5184a23f016a9041c1b4a7542b570c527da637ae34788600dbb-primary.xml.gz [32239/32239] -> \"e3085c99e53cc5184a23f016a9041c1b4a7542b570c527da637ae34788600dbb-primary.xml.gz\" [1]\r\nlpm@cricetus: /tmp $ gunzip e3085c99e53cc5184a23f016a9041c1b4a7542b570c527da637ae34788600dbb-primary.xml.gz \r\nlpm@cricetus: /tmp $ cat /tmp/e3085c99e53cc5184a23f016a9041c1b4a7542b570c527da637ae34788600dbb-primary.xml | grep -E 'zeromq-devel-'\r\n  <location href=\"zeromq-devel-4.0.5-4.el6.i686.rpm\"/>\r\n  <location href=\"zeromq-devel-4.0.5-4.el6.x86_64.rpm\"/>\r\n```\r\n\r\nCheers,\r\nStefan"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/175892540","html_url":"https://github.com/saltstack/salt/issues/29477#issuecomment-175892540","issue_url":"https://api.github.com/repos/saltstack/salt/issues/29477","id":175892540,"user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T22:27:38Z","updated_at":"2016-01-27T22:27:38Z","body":"I'm going to go ahead and close this issue, since it is fixed. If this pops up again, do leave a comment and we'll be happy to reopen. Thanks!"}}