# When applying patch - Exception thrown - UnknownXML

**URL:** <https://forums.suse.com/t/when-applying-patch-exception-thrown-unknownxml/29658>\
**Category:** SUSE Multi Linux Manager\
**Created:** [April 11, 2017, 8:12pm UTC](https://forums.suse.com/t/when-applying-patch-exception-thrown-unknownxml/29658 "2017-04-11T20:12:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dangross](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dangross](https://forums.suse.com/u/dangross)\
**Post date:** [April 11, 2017, 8:12pm UTC](https://forums.suse.com/t/when-applying-patch-exception-thrown-unknownxml/29658/1 "2017-04-11T20:12:54Z")

</div>

I am evaluating SUMA 3 and when I apply patches to servers, they are successfully applied, but I get a bunch of emails with exceptions for each of the channels. Any idea what is causing this and how to remedy it?

Thx

```auto
Exception type <class 'spacewalk.server.apacheRequest.UnknownXML'>
Exception while handling function media.1 Request object information:
URI: /XMLRPC/GET-REQ/sles12-sp2-updates-x86_64/media.1/media
 :
 :
Response sent back to the caller:
While running 'media.1': caught
<class 'spacewalk.server.apacheRequest.UnknownXML'> : Invalid request received (function 'media.1' invalid; path_info is /GET-REQ/sles12-sp2-updates-x86_64/media.1/media).

```

---

<div class="post-metadata">

**Author:** ![kwk](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/kwk/32/11997_2.png) [@kwk](https://forums.suse.com/u/kwk)\
**Post date:** [April 12, 2017, 10:06am UTC](https://forums.suse.com/t/when-applying-patch-exception-thrown-unknownxml/29658/2 "2017-04-12T10:06:42Z")

</div>

Checking for “media.1” is zypper’s way to detect if the media (DVD) is bootable. For online repos, the only way is to issue a GET request for the file and continue according to the result (success, error). Don’t worry about these exceptions.

---

<div class="post-metadata">

**Author:** ![dangross](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dangross](https://forums.suse.com/u/dangross)\
**Post date:** [April 13, 2017, 9:35pm UTC](https://forums.suse.com/t/when-applying-patch-exception-thrown-unknownxml/29658/3 "2017-04-13T21:35:53Z")

</div>

Thanks for the explanation. Problem is, I get 8 emails from SUMA for every server that gets patched. I don’t want to disable notifications because I would like to get “legitimate” exceptions. Is there some way to address this particular “media.1” exception so that it simply will not get thrown for every server getting patched?.

---

<div class="post-metadata">

**Author:** ![pfoerfr](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@pfoerfr](https://forums.suse.com/u/pfoerfr)\
**Post date:** [April 18, 2017, 5:16pm UTC](https://forums.suse.com/t/when-applying-patch-exception-thrown-unknownxml/29658/4 "2017-04-18T17:16:13Z")

</div>

I have the same situation. It is only occure on sles 12 sp2 machine.  
In my environment I got the mail for each channel and host. This mean when you have five channels per host and 200 hosts, you will get 1000 mail.

This could not be normal! Should I open a call at SUSE?

regards  
Franz

---

<div class="post-metadata">

**Author:** ![HvdHeuvel](https://avatars.discourse-cdn.com/v4/letter/h/3da27b/32.png) [@HvdHeuvel](https://forums.suse.com/u/HvdHeuvel)\
**Post date:** [April 24, 2017, 11:08pm UTC](https://forums.suse.com/t/when-applying-patch-exception-thrown-unknownxml/29658/5 "2017-04-24T23:08:26Z")

</div>

On Tue, 18 Apr 2017 14:24:01 +0000, pfoerfr wrote:  
[color=blue]

> I have the same situation. It is only occure on sles 12 sp2 machine. In  
> my environment I got the mail for each channel and host. This mean when  
> you have five channels per host and 200 hosts, you will get 1000 mail.
> 
> This could not be normal! Should I open a call at SUSE?
> 
> regards Franz[/color]

Hi Franz,

There is a PTF for this available that should resolve this problem, but I  
don know when the fix will become available yet.

Is this for SUMA 3 on x86\_64 ?

Are you able to open a SR perhaps so we can assist you further when  
needed ?

Thanks  
Hans

---

<div class="post-metadata">

**Author:** ![dangross](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dangross](https://forums.suse.com/u/dangross)\
**Post date:** [May 1, 2017, 4:23pm UTC](https://forums.suse.com/t/when-applying-patch-exception-thrown-unknownxml/29658/6 "2017-05-01T16:23:36Z")

</div>

Maybe you should open one. I cannot because my evaluation license has expired.
