Hi Ted, I use a combination of spacewalk-report and spacewalk-clone-by-date (from the spacewalk-utils package) to clone my channels DEV -> QA -> PROD based on the date.
—Dean On May 7, 2020, at 10:40 AM, Ted Carr <ted.c...@sungardas.com<mailto:ted.c...@sungardas.com>> wrote: Hi All, I have been googling around and I haven’t been able to find an answer to my question. I have cloned "oraclelinux7-x86_64" channel to "qa-oraclelinux7-x86_64" a few weeks ago and now I want to sync the new errata in original channel to the QA channel. In the past I have used the web interface going to Manage Software Channels ---> Channel Name ---> Errata tab ---> Clone and then clicked on "Clone Errata" to clone them from the original channel. Or I have used a python script I wrote years ago which does a client.channel.software.mergePackages. I am interested in seeing if I can accomplish the same using 'spacecmd' I have tried running "spacecmd softwarechannel_errata_sync oraclelinux7-x86_64 qa-oraclelinux7-x86_64", however from the output it looks like it wants to remove all of the errata in the channel and replace it instead of just adding the missing errata. For example: summary: oraclelinux7-x86_64: 2412 errata qa-oraclelinux7-x86_64: 2402 errata add 2412 errata to qa-oraclelinux7-x86_64 remove 2402 errata from qa-oraclelinux7-x86_64 I did notice that the errata in the cloned channel has "CL-" prepended to the name: # spacecmd softwarechannel_errata_diff oraclelinux7-x86_64 qa-oraclelinux7-x86_64 | grep 2020-1116 INFO: Connected to http://swk01/rpc/api<https://urldefense.com/v3/__http://swk01/rpc/api__;!!MXVguWEtGgZw!YMadM3JA4rM0DaYQH5HkZNQXtepySDieL884DJiDOFPApCsXJYglUlLG5wTLHjlWnA$> as swadmin -ELSA-2020-1116 Important: qemu-kvm security, bug fix, and +CL-ELSA-2020-1116 Important: qemu-kvm security, bug fix, and So I am assuming that is the cause of the behavior. Is there a way to use spacecmd to just add the missing errata? Thanks in advance!! Cheers, Ted _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com<mailto:Spacewalk-list@redhat.com> https://urldefense.com/v3/__https://www.redhat.com/mailman/listinfo/spacewalk-list__;!!MXVguWEtGgZw!YMadM3JA4rM0DaYQH5HkZNQXtepySDieL884DJiDOFPApCsXJYglUlLG5wQTzUvCsA$
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list