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

xenserver 7.1 #72

Open joaoreis81 opened 6 years ago

joaoreis81 commented 6 years ago

for xenserver 7.1 the patch uploader task seems to hang.

dalgibbard commented 6 years ago

Can you provide some more information please? There's been no other reported issues...

Which patch is failing? How long did you wait? What output do you have from the script? Can you perform the action manually? Are you patching a pool, or a single host? If a single host, is it a member of a pool? If yes, is it a master or slave node?

vmpr commented 6 years ago

@joaoreis81 - do you have a DefaultSR? In XenServer 7.1 the patches were deployed to a path in the DefaultSR, and if you dont have one, it will fail.

I had the same Problem, because my pool has only local storage - so you will never select a default SR

you can set it with this commands:

xe pool-list < uuid of your pool > xe sr-list < uuids of your SRs > xe pool-param-set uuid=< uuid of your pool > default-SR=< uuid of your SR, which you want to use >

benze commented 6 years ago

@vmpr Thanks! I had the same issue, and your suggestion to set a default SR worked for me.

inflatador commented 6 years ago

+2, I had this issue as well. FYI, the patch upload command will work if you manually specify an sr-uuid . If I have time I'll fork again and try and add a warning to the script about this issue.