creating and deleting snapshot tag twice via Satellite API yields system.deleteTagFromSnapshot exception
Issue
- Exception and traceback error when running system snapshot tag creation and deletion API script twice, snapshot tag deletion API method
system.deleteTagFromSnapshotfails the second time, with error like the following:
Traceback (most recent call last):
File "./tag-delete.py", line 29, in <module>
client.system.deleteTagFromSnapshot(key, SYSTEM_ID, SNAPSHOT_TAG)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1575, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1473, in parse_response
return u.close()
File "/usr/lib64/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal
exception: No row with the given identifier exists:
Environment
- Red Hat Network Satellite 5.4.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
