[Spacewalk-list] why does channel promotion fail?

Guy Matz guymatz at gmail.com
Mon Jul 22 18:10:56 UTC 2019


gentle-folk,
I can't see why this channel promotion fails:
$ spacewalk-manage-channel-lifecycle -c epel7_x86_84 --promote -d
INFO: Cloning dev-epel7_x86_84 from epel7_x86_84
ERROR: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal
exception: ERROR: duplicate key value violates unique constraint
"rhn_ce_ce_uq"\n  Detail: Key (channel_id, errata_id)=(373, 3811) already
exists.'>
Traceback (most recent call last):
  File "/usr/bin/spacewalk-manage-channel-lifecycle", line 263, in
clone_channel
    client.channel.software.clone(session, source_label, details, False)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1591, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1306, in single_request
    return self.parse_response(response)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1482, in parse_response
    return u.close()
  File "/usr/lib64/python2.7/xmlrpclib.py", line 794, in close
    raise Fault(**self._stack[0])
Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal
exception: ERROR: duplicate key value violates unique constraint
"rhn_ce_ce_uq"\n  Detail: Key (channel_id, errata_id)=(373, 3811) already
exists.'>
ERROR: Failed to clone channel

 . . .  when there is currently no dev-epel7_x86_64 channel!
$ spacecmd softwarechannel_list | grep dev-epel7_x86_84 || echo 'cannot
find it'
cannot find it

Any advice?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190722/0aae92ef/attachment.htm>


More information about the Spacewalk-list mailing list