I used python to test the regular expression and it's broken. It works for RHEL 7
>>> print re.search('(redhat|sl|centos)-release-(?!notes)([\\w]*-)7\\.(.*)\\.rpm','redhat-release-server-7.0-1.el7.x86_64.rpm')
<_sre.SRE_Match object at 0x7fce261a36b8>
>>> print re.search('(redhat|sl|centos)-release-(?!notes)([\\w]*-)7\\.(.*)\\.rpm','centos-release-7-0.1406.el7.centos.2.3.x86_64.rpm')
None


On Mon, Jul 7, 2014 at 6:13 PM, Jonathan Brenes F. <jbrenes@gmail.com> wrote:
I was trying to add the new CentOS 7-0.1406 and I received this error:
Mon Jul  7 17:45:53 2014 - DEBUG | Found a candidate signature: breed=redhat, version=rhel6
Mon Jul  7 17:45:53 2014 - DEBUG | Found a candidate signature: breed=redhat, version=rhel7
Mon Jul  7 17:45:53 2014 - DEBUG | Found a candidate signature: breed=redhat, version=fedora20
Mon Jul  7 17:45:53 2014 - DEBUG | Found a candidate signature: breed=redhat, version=fedora16
Mon Jul  7 17:45:54 2014 - DEBUG | Found a candidate signature: breed=redhat, version=fedora17
Mon Jul  7 17:45:54 2014 - DEBUG | Found a candidate signature: breed=redhat, version=fedora18
Mon Jul  7 17:45:54 2014 - DEBUG | Found a candidate signature: breed=redhat, version=fedora19
Mon Jul  7 17:45:54 2014 - ERROR | No signature matched in /var/www/cobbler/ks_mirror/centos7-0.1406-x86_64
Mon Jul  7 17:45:54 2014 - ERROR | ### TASK FAILED ###

I was looking into distro_signatures.json and I didn't find the problem
   "rhel7": {
    "signatures":["Packages"],
    "version_file":"(redhat|sl|centos)-release-(?!notes)([\\w]*-)7*.\\.rpm",

Actual package name is centos-release-7-0.1406.el7.centos.2.3.x86_64.rpm

Any ideas how to fix this?