--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Thu May 14 08:43:46 2015

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/rhcert/wsgi/rhcertServer.py in application(request={'CONTEXT_DOCUMENT_ROOT': '/var/www/html', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/var/www/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': '10.160.1.3', 'HTTP_REFERER': 'http://10.160.1.3/certification?type=openstack&id=1205098', ...}, startResponse=<built-in method start_response of mod_wsgi.Adapter object>)
     93     rhcertServer = RedHatCertificationServer()
     94     try:
=>   95         (status, responseHeaders, body) = rhcertServer.serve(request)
     96         startResponse(status, responseHeaders)
     97         return str(body)
status undefined, responseHeaders undefined, body undefined, rhcertServer = <_mod_wsgi_7f7845515abc503c8f5921993e733c4b.RedHatCertificationServer instance>, rhcertServer.serve = <bound method RedHatCertificationServer.serve of...21993e733c4b.RedHatCertificationServer instance>>, request = {'CONTEXT_DOCUMENT_ROOT': '/var/www/html', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/var/www/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': '10.160.1.3', 'HTTP_REFERER': 'http://10.160.1.3/certification?type=openstack&id=1205098', ...}
 /var/www/rhcert/wsgi/rhcertServer.py in serve(self=<_mod_wsgi_7f7845515abc503c8f5921993e733c4b.RedHatCertificationServer instance>, request={'CONTEXT_DOCUMENT_ROOT': '/var/www/html', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/var/www/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': '10.160.1.3', 'HTTP_REFERER': 'http://10.160.1.3/certification?type=openstack&id=1205098', ...})
     71             return self.redirect("/certifications")
     72         page = self.dispatchTable[path](request, self.rhcertStore)
=>   73         return page.serve()
     74 
     75     def redirect(self, url):
page = <test.Test instance>, page.serve = <bound method Test.serve of <test.Test instance>>
 /var/www/rhcert/wsgi/page.py in serve(self=<test.Test instance>)
    103         """ default page service is html wrapping + navigation """
    104         self.makeHTMLHeader()
=>  105         self.makeHTMLBody()
    106         self.makeHTMLFooter()
    107         responseHeaders = [('Content-Type', self.responseContent),
self = <test.Test instance>, self.makeHTMLBody = <bound method Test.makeHTMLBody of <test.Test instance>>
 /var/www/rhcert/wsgi/test.py in makeHTMLBody(self=<test.Test instance>)
     35         # otherwise
     36         self.body.write("""<div class="page-header"><h1>Select Host</h1></div>""")
=>   37         self.renderHostsForm()
     38         return self.body.getvalue()
     39 
self = <test.Test instance>, self.renderHostsForm = <bound method Test.renderHostsForm of <test.Test instance>>
 /var/www/rhcert/wsgi/test.py in renderHostsForm(self=<test.Test instance>)
     55                 print "******************************"
     56                 print osValues
=>   57                 if not self.getStore().getResultsDocumentsFor(certification, skipEmpty=False, host=Host(osValues[Tags.hostname], osValues[Tags.ip_address])):
     58                     matchCount = matchCount + 1
     59                     self.body.write("""<td><input type="radio" name="system-path" value="%s"></td>""" % str(filePath))
self = <test.Test instance>, self.getStore = <bound method Test.getStore of <test.Test instance>>, ).getResultsDocumentsFor undefined, certification = <rhcert.certificationtest.CertificationDocument instance>, skipEmpty undefined, builtin False = False, host undefined, global Host = <class 'rhcert.host.Host'>, osValues = {u'hostname': u'ucs3.localdomain', u'name': u'Maipo', u'product': u'Red Hat Enterprise Linux Server', u'release': u'7.1'}, global Tags = <class rhcert.tags.Tags>, Tags.hostname = 'hostname', Tags.ip_address = 'ip-address'

<type 'exceptions.KeyError'>: 'ip-address'
      args = ('ip-address',)
      message = 'ip-address'