dalgibbard / citrix_xenserver_patcher

Auto / Manual Patching tool for Citrix XenServer Boxes
Do What The F*ck You Want To Public License
142 stars 45 forks source link

patching failed #4

Closed tvaughan73 closed 10 years ago

tvaughan73 commented 10 years ago

Tried to use this on a new xenserver 6.2 install. Received errors:

Would you like to install these items? [y/n]: y Starting patching... Downloading: XS62E001.zip Traceback (most recent call last): File "./patcher.py", line 384, in ? file_name = str(download_patch(patch_url)) File "./patcher.py", line 96, in download_patch u = urlopen(url) File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen return _opener.open(url, data) File "/usr/lib/python2.4/urllib2.py", line 364, in open response = meth(req, response) File "/usr/lib/python2.4/urllib2.py", line 471, in http_response response = self.parent.error( File "/usr/lib/python2.4/urllib2.py", line 402, in error return self._call_chain(_args) File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain result = func(_args) File "/usr/lib/python2.4/urllib2.py", line 480, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 403: Forbidden: body content-type denied

dalgibbard commented 10 years ago

Hello, Apologies for the delay in getting back to you on this one. The error you've received is a HTTP403 - although the code could have handled it better, the issue is with some sort of internal proxy/firewall within your environment by the looks of it. The patch you've had the error with is: http://support.citrix.com/servlet/KbServlet/download/34977-102-704231/XS62E001.zip

To prove a connectivity issue, you can attempt to download the patch manually, and you should experience the same issue:

wget -O XS62E001.zip http://support.citrix.com/servlet/KbServlet/download/34977-102-704231/XS62E001.zip

Using the above (and the patcher utility) i'm able to download this file fine. Best check your network settings with your network admin or similar.

Leaving this open to better handle the exception anyway.

dalgibbard commented 10 years ago

I committed a change earlier today which should provide some more user friendly output when an error like this occurs. Would you possibly be able to check this and report back?

Thanks!

dalgibbard commented 10 years ago

I'm going to assume this to be OK now - please let me know if you believe otherwise.