ronivay / XenOrchestraInstallerUpdater

Xen Orchestra install/update script
GNU General Public License v3.0
1.18k stars 189 forks source link

Script stuck at curl error #84

Closed jeebsion closed 3 years ago

jeebsion commented 3 years ago

I've got this whilst trying to install on version xcp-ng 8.2:

Downloading and importing XVA image...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 3716M    0 15107    0     0   5780      0   7d 19h  0:00:02   7d 19h  5781
curl: (23) Failed writing body (0 != 15107)

I wonder is there any problem with the curl syntax at all?

ronivay commented 3 years ago

Hi,

It's actually xe import command that fails. It doesn't output errors. I need to fix that.

In the meanwhile you can run the failing command manually to see the actual error:

curl "https://xo-appliance.yawn.fi/downloads/image.xva" | xe vm-import filename=/dev/stdin

My guess is that you're missing the default storage repository in your XCP-ng (something you setup during installation).

ronivay commented 3 years ago

Commited a fix to not throw errors to the trash from import command: https://github.com/ronivay/XenOrchestraInstallerUpdater/commit/780d8bd2808f58e849070c270c3e6aa71d804898

jeebsion commented 3 years ago

Hi,

It's actually xe import command that fails. It doesn't output errors. I need to fix that.

In the meanwhile you can run the failing command manually to see the actual error:

curl "https://xo-appliance.yawn.fi/downloads/image.xva" | xe vm-import filename=/dev/stdin

My guess is that you're missing the default storage repository in your XCP-ng (something you setup during installation).

Apparently yes .. thank you pointing out about the SR .. got it up and running already!

ronivay commented 3 years ago

Great! I'll close this then :)