lavabit / robox

The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
620 stars 139 forks source link

3.6.10 generic/opensuse15: switch from 15.3 to 15.4(beta) broken #236

Closed peterdd closed 2 years ago

peterdd commented 2 years ago
default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Installing NFS client...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

zypper -n install nfs-client
/usr/bin/systemctl restart rpcbind
/usr/bin/systemctl restart nfs-client.target

Stdout from the command:

Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [.....done]
Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [....done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 5 NEW packages are going to be installed:
  keyutils libevent-2_1-8 nfs-client nfsidmap rpcbind

5 new packages to install.
Overall download size: 733.3 KiB. Already cached: 0 B. After the operation, additional 2.0 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package keyutils-1.6.3-5.6.1.x86_64 (1/5), 114.7 KiB (172.7 KiB unpacked)
Abort, retry, ignore? [a/r/i/...? shows all options] (a): a

Stderr from the command:

Media source 'https://mirrors.kernel.org/opensuse/distribution/leap/15.4/repo/oss/' does not contain the desired medium
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.
Failed to restart rpcbind.service: Unit rpcbind.service not found.
Failed to restart nfs-client.target: Unit nfs-client.target not found.

Manually browsing

https://mirrors.kernel.org/opensuse/distribution/leap/15.4/repo/oss/

redirects the browser to

https://mirrors.edge.kernel.org/opensuse/distribution/leap/15.4/repo/oss/

and the packages for openSUSE 15.4 seems to be there, mhh.. (during beta/testing versions? I dunno.)

Setting

config.vm.box_version = "3.6.8"

in the Vagrantfile downgraded to using the stable openSUSE Leap 15.3 and that works well.

(on an old macbook pro)

ladar commented 2 years ago

I didn't realize 15.4 was still in beta. I've switched back to 15.3 for the 3.6.12 build.