Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to Spacewalk

2019-07-24 Thread Wenkai Chen
Hi Michael,

Thank you.
Do you have the exact steps of logging into the spacewalk database? The 
commands listed are not really conclusive.

[A close up of a sign  Description generated with very high confidence]

Chen Wenkai
Infrastructure Security Engineer

   [A picture containing building  Description generated with high 
confidence] <https://www.linkedin.com/company/ensign-infosecurity/>  [A 
picture containing tableware  Description generated with high confidence] 
<https://youtu.be/9J7FkhXpb-4>  [A close up of a sign  Description 
generated with high confidence] <https://www.facebook.com/EnsignGlobal>

  E:  wenkai_c...@ensigninfosecurity.com
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213


From: spacewalk-list-boun...@redhat.com  On 
Behalf Of FRANK Michael
Sent: Wednesday, 24 July 2019 7:32 PM
To: spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to 
Spacewalk

Hi Chen,

I know only this:

https://www.redhat.com/archives/spacewalk-list/2014-October/msg00041.html

regards

Michael

From: 
spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> 
mailto:spacewalk-list-boun...@redhat.com>> 
On Behalf Of Wenkai Chen
Sent: Wednesday, July 24, 2019 12:16 PM
To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>
Subject: Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to 
Spacewalk

HI,

What is the correct way to delete all errata in the database? I tried to delete 
all errata from the web UI, and tried re-importing the errata again by running 
the script provided by http://cefs.steve-meier.de/

This time, the duplicate error is gone.

[A close up of a signDescription generated with very high confidence]

Chen Wenkai
Infrastructure Security Engineer

   [A picture containing buildingDescription generated with high 
confidence] <https://www.linkedin.com/company/ensign-infosecurity/>  [A 
picture containing tablewareDescription generated with high confidence] 
<https://youtu.be/9J7FkhXpb-4>  [A close up of a signDescription 
generated with high confidence] <https://www.facebook.com/EnsignGlobal>

  E:  
wenkai_c...@ensigninfosecurity.com<mailto:wenkai_c...@ensigninfosecurity.com>
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213


From: 
spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> 
mailto:spacewalk-list-boun...@redhat.com>> 
On Behalf Of FRANK Michael
Sent: Wednesday, 24 July 2019 5:46 PM
To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>
Subject: Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to 
Spacewalk

Hello,

We had the same issue. Solution was to delete the conflicting record direct in 
the database.
After upgrade to 2.8 I don't see this anymore in the logs.


Regards

Michael FRANK



From: 
spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> 
mailto:spacewalk-list-boun...@redhat.com>> 
On Behalf Of Wenkai Chen
Sent: Wednesday, July 24, 2019 10:11 AM
To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>
Subject: [Spacewalk-list] [Spacewalk-List] Error while importing errata to 
Spacewalk

HI Spacewalk users,

I encountered an error while trying to import errata.

Fault returned from XML RPC Server, fault code 2601: 
redstone.xmlrpc.XmlRpcFault: Errata already exists with advisory CEBA-2018:3195

This caused the entire operation to rollback. May I know if this is expected? 
Spacewalk does not have the functionality to continue if existing errata exist?

[A close up of a signDescription generated with very high confidence]

Chen Wenkai
Infrastructure Security Engineer

   [A picture containing buildingDescription generated with high 
confidence] <https://www.linkedin.com/company/ensign-infosecurity/>  [A 
picture containing tablewareDescription generated with high confidence] 
<https://youtu.be/9J7FkhXpb-4>  [A close up of a signDescription 
generated with high confidence] <https://www.facebook.com/EnsignGlobal>

  E:  
wenkai_c...@ensigninfosecurity.com<mailto:wenkai_c...@ensigninfosecurity.com>
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213





CONFIDENTIALITY NOTICE: "This email is confidential and may also be privileged. 
If this email has been sent to you in error, please delete it immediately and 
notify us. Please do not copy, distribute or disseminate part or whole of this 
email if you are not the intended recipient or if you have not been authorized 
to do so. We reserve the right, to the extent and under circumstances permitted 
by applicable laws, to monitor, retain, intercept and block email messages to 
and from our systems. Thank you."


This electronic transmission (and any attachments thereto) is intended solely 

Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to Spacewalk

2019-07-24 Thread FRANK Michael
Hi Chen,

I know only this:

https://www.redhat.com/archives/spacewalk-list/2014-October/msg00041.html

regards

Michael

From: spacewalk-list-boun...@redhat.com  On 
Behalf Of Wenkai Chen
Sent: Wednesday, July 24, 2019 12:16 PM
To: spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to 
Spacewalk

HI,

What is the correct way to delete all errata in the database? I tried to delete 
all errata from the web UI, and tried re-importing the errata again by running 
the script provided by http://cefs.steve-meier.de/

This time, the duplicate error is gone.

[A close up of a sign  Description generated with very high confidence]


Chen Wenkai
Infrastructure Security Engineer

   [A picture containing building  Description generated with high 
confidence] <https://www.linkedin.com/company/ensign-infosecurity/>  [A 
picture containing tableware  Description generated with high confidence] 
<https://youtu.be/9J7FkhXpb-4>  [A close up of a sign  Description 
generated with high confidence] <https://www.facebook.com/EnsignGlobal>


  E:  
wenkai_c...@ensigninfosecurity.com<mailto:wenkai_c...@ensigninfosecurity.com>
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213





From: 
spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> 
mailto:spacewalk-list-boun...@redhat.com>> 
On Behalf Of FRANK Michael
Sent: Wednesday, 24 July 2019 5:46 PM
To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>
Subject: Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to 
Spacewalk

Hello,

We had the same issue. Solution was to delete the conflicting record direct in 
the database.
After upgrade to 2.8 I don't see this anymore in the logs.


Regards

Michael FRANK



From: 
spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> 
mailto:spacewalk-list-boun...@redhat.com>> 
On Behalf Of Wenkai Chen
Sent: Wednesday, July 24, 2019 10:11 AM
To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>
Subject: [Spacewalk-list] [Spacewalk-List] Error while importing errata to 
Spacewalk

HI Spacewalk users,

I encountered an error while trying to import errata.

Fault returned from XML RPC Server, fault code 2601: 
redstone.xmlrpc.XmlRpcFault: Errata already exists with advisory CEBA-2018:3195

This caused the entire operation to rollback. May I know if this is expected? 
Spacewalk does not have the functionality to continue if existing errata exist?

[A close up of a signDescription generated with very high confidence]


Chen Wenkai
Infrastructure Security Engineer

   [A picture containing buildingDescription generated with high 
confidence] <https://www.linkedin.com/company/ensign-infosecurity/>  [A 
picture containing tablewareDescription generated with high confidence] 
<https://youtu.be/9J7FkhXpb-4>  [A close up of a signDescription 
generated with high confidence] <https://www.facebook.com/EnsignGlobal>


  E:  
wenkai_c...@ensigninfosecurity.com<mailto:wenkai_c...@ensigninfosecurity.com>
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213








CONFIDENTIALITY NOTICE: "This email is confidential and may also be privileged. 
If this email has been sent to you in error, please delete it immediately and 
notify us. Please do not copy, distribute or disseminate part or whole of this 
email if you are not the intended recipient or if you have not been authorized 
to do so. We reserve the right, to the extent and under circumstances permitted 
by applicable laws, to monitor, retain, intercept and block email messages to 
and from our systems. Thank you."


This electronic transmission (and any attachments thereto) is intended solely 
for the use of the addressee(s). It may contain confidential or legally 
privileged information. If you are not the intended recipient of this message, 
you must delete it immediately and notify the sender. Any unauthorized use or 
disclosure of this message is strictly prohibited.  Faurecia does not guarantee 
the integrity of this transmission and shall therefore never be liable if the 
message is altered or falsified nor for any virus, interception or damage to 
your system.

This electronic transmission (and any attachments thereto) is intended solely 
for the use of the addressee(s). It may contain confidential or legally 
privileged information. If you are not the intended recipient of this message, 
you must delete it immediately and notify the sender. Any unauthorized use or 
disclosure of this message is strictly prohibited.  Faurecia does not guarantee 
the integrity of this transmission and shall therefore never be liable if the 
message is altered or falsified nor for any virus, interception or damage to 
your system.
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to Spacewalk

2019-07-24 Thread Steve Meier

Hello,

Am 2019-07-24 10:10, schrieb Wenkai Chen:

HI Spacewalk users,

I encountered an error while trying to import errata.

Fault returned from XML RPC Server, fault code 2601:
redstone.xmlrpc.XmlRpcFault: Errata already exists with advisory
CEBA-2018:3195

This caused the entire operation to rollback. May I know if this is
expected? Spacewalk does not have the functionality to continue if
existing errata exist?


I assume that you are using my script (errata-import.pl). At startup
it requests a list of all existing errata from Spacewalk to distinguish
which ones need to be created and which ones should be updated 
(different

API commands).

For some reason (maybe database corruption?) Spacewalk sometimes does 
not

report all existing errata and then complains when the script tries to
create it.

This seems to be a Spacewalk bug that is currently not replicable. Most
people have had success by deleting all Errata and starting fresh.

Kind regards,
  Steve

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to Spacewalk

2019-07-24 Thread Wenkai Chen
HI,

What is the correct way to delete all errata in the database? I tried to delete 
all errata from the web UI, and tried re-importing the errata again by running 
the script provided by http://cefs.steve-meier.de/

This time, the duplicate error is gone.

[A close up of a sign  Description generated with very high confidence]

Chen Wenkai
Infrastructure Security Engineer

   [A picture containing building  Description generated with high 
confidence] <https://www.linkedin.com/company/ensign-infosecurity/>  [A 
picture containing tableware  Description generated with high confidence] 
<https://youtu.be/9J7FkhXpb-4>  [A close up of a sign  Description 
generated with high confidence] <https://www.facebook.com/EnsignGlobal>

  E:  wenkai_c...@ensigninfosecurity.com
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213


From: spacewalk-list-boun...@redhat.com  On 
Behalf Of FRANK Michael
Sent: Wednesday, 24 July 2019 5:46 PM
To: spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to 
Spacewalk

Hello,

We had the same issue. Solution was to delete the conflicting record direct in 
the database.
After upgrade to 2.8 I don't see this anymore in the logs.


Regards

Michael FRANK



From: 
spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> 
mailto:spacewalk-list-boun...@redhat.com>> 
On Behalf Of Wenkai Chen
Sent: Wednesday, July 24, 2019 10:11 AM
To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>
Subject: [Spacewalk-list] [Spacewalk-List] Error while importing errata to 
Spacewalk

HI Spacewalk users,

I encountered an error while trying to import errata.

Fault returned from XML RPC Server, fault code 2601: 
redstone.xmlrpc.XmlRpcFault: Errata already exists with advisory CEBA-2018:3195

This caused the entire operation to rollback. May I know if this is expected? 
Spacewalk does not have the functionality to continue if existing errata exist?

[A close up of a signDescription generated with very high confidence]

Chen Wenkai
Infrastructure Security Engineer

   [A picture containing buildingDescription generated with high 
confidence] <https://www.linkedin.com/company/ensign-infosecurity/>  [A 
picture containing tablewareDescription generated with high confidence] 
<https://youtu.be/9J7FkhXpb-4>  [A close up of a signDescription 
generated with high confidence] <https://www.facebook.com/EnsignGlobal>

  E:  
wenkai_c...@ensigninfosecurity.com<mailto:wenkai_c...@ensigninfosecurity.com>
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213





CONFIDENTIALITY NOTICE: "This email is confidential and may also be privileged. 
If this email has been sent to you in error, please delete it immediately and 
notify us. Please do not copy, distribute or disseminate part or whole of this 
email if you are not the intended recipient or if you have not been authorized 
to do so. We reserve the right, to the extent and under circumstances permitted 
by applicable laws, to monitor, retain, intercept and block email messages to 
and from our systems. Thank you."


This electronic transmission (and any attachments thereto) is intended solely 
for the use of the addressee(s). It may contain confidential or legally 
privileged information. If you are not the intended recipient of this message, 
you must delete it immediately and notify the sender. Any unauthorized use or 
disclosure of this message is strictly prohibited.  Faurecia does not guarantee 
the integrity of this transmission and shall therefore never be liable if the 
message is altered or falsified nor for any virus, interception or damage to 
your system.
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] [Spacewalk-List] Error while importing errata to Spacewalk

2019-07-24 Thread FRANK Michael
Hello,

We had the same issue. Solution was to delete the conflicting record direct in 
the database.
After upgrade to 2.8 I don't see this anymore in the logs.


Regards

Michael FRANK



From: spacewalk-list-boun...@redhat.com  On 
Behalf Of Wenkai Chen
Sent: Wednesday, July 24, 2019 10:11 AM
To: spacewalk-list@redhat.com
Subject: [Spacewalk-list] [Spacewalk-List] Error while importing errata to 
Spacewalk

HI Spacewalk users,

I encountered an error while trying to import errata.

Fault returned from XML RPC Server, fault code 2601: 
redstone.xmlrpc.XmlRpcFault: Errata already exists with advisory CEBA-2018:3195

This caused the entire operation to rollback. May I know if this is expected? 
Spacewalk does not have the functionality to continue if existing errata exist?

[A close up of a sign  Description generated with very high confidence]


Chen Wenkai
Infrastructure Security Engineer

   [A picture containing building  Description generated with high 
confidence] <https://www.linkedin.com/company/ensign-infosecurity/>  [A 
picture containing tableware  Description generated with high confidence] 
<https://youtu.be/9J7FkhXpb-4>  [A close up of a sign  Description 
generated with high confidence] <https://www.facebook.com/EnsignGlobal>


  E:  
wenkai_c...@ensigninfosecurity.com<mailto:wenkai_c...@ensigninfosecurity.com>
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213








CONFIDENTIALITY NOTICE: "This email is confidential and may also be privileged. 
If this email has been sent to you in error, please delete it immediately and 
notify us. Please do not copy, distribute or disseminate part or whole of this 
email if you are not the intended recipient or if you have not been authorized 
to do so. We reserve the right, to the extent and under circumstances permitted 
by applicable laws, to monitor, retain, intercept and block email messages to 
and from our systems. Thank you."


This electronic transmission (and any attachments thereto) is intended solely 
for the use of the addressee(s). It may contain confidential or legally 
privileged information. If you are not the intended recipient of this message, 
you must delete it immediately and notify the sender. Any unauthorized use or 
disclosure of this message is strictly prohibited.  Faurecia does not guarantee 
the integrity of this transmission and shall therefore never be liable if the 
message is altered or falsified nor for any virus, interception or damage to 
your system.
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] [Spacewalk-List] Error while importing errata to Spacewalk

2019-07-24 Thread Wenkai Chen
HI Spacewalk users,

I encountered an error while trying to import errata.

Fault returned from XML RPC Server, fault code 2601: 
redstone.xmlrpc.XmlRpcFault: Errata already exists with advisory CEBA-2018:3195

This caused the entire operation to rollback. May I know if this is expected? 
Spacewalk does not have the functionality to continue if existing errata exist?

[A close up of a sign  Description generated with very high confidence]

Chen Wenkai
Infrastructure Security Engineer

   [A picture containing building  Description generated with high 
confidence]   [A 
picture containing tableware  Description generated with high confidence] 
  [A close up of a sign  Description 
generated with high confidence] 

  E:  wenkai_c...@ensigninfosecurity.com
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213





CONFIDENTIALITY NOTICE: "This email is confidential and may also be privileged. 
If this email has been sent to you in error, please delete it immediately and 
notify us. Please do not copy, distribute or disseminate part or whole of this 
email if you are not the intended recipient or if you have not been authorized 
to do so. We reserve the right, to the extent and under circumstances permitted 
by applicable laws, to monitor, retain, intercept and block email messages to 
and from our systems. Thank you."

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list