autoupgrade issues?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

autoupgrade issues?

jungle Boogie
Hi All,

Since the 7th of February, I haven't been able to auto upgrade my
openBSD machine from snapshot to snapshot. I initiate the autoupgrade,
it mounts partition A as read only but never progresses past that.

The way I perform auto_upgrade:

0. Reboot machine with new bsd.rd at /
1. at the boot prompt type 'boot bsd.rd'
2. Select S for shell
3. mount /dev/wd0a mnt && cp mnt/auto_upgrade.conf . && autoinstall
4.Typically this would start the autoupgrad and within 20 minutes, my
machine would be on the latest openBSD snapshot

Now, however, it simply stalls at the mounting of /wd0a.

Has there been a recent regression or is this now a feature?


$ cat /auto_upgrade.conf
Network interfaces = wpi0
System hostname = puffer
Location of sets = http
http instead = yes
Server directory = pub/OpenBSD/snapshots/amd64
HTTP Server = ftp.openbsd.org
Set name(s) = -game*

--
-------
inum: 883510009027723
sip: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: autoupgrade issues?

Raf Czlonka-2
Hi jungle Boogie,

What happens if you unmount wd0a before you run autoinstall?
Is there enough space in bsd.rd for your auto_upgrade.conf file?
What happens if you do a regular upgrade "by hand"?

Personally, I'd keep old bsd.rd just in case, and rename the new
one to something like bsd.up or something.

Also, use a mirror for HTTP upgrade - they're usually much faster.

I use autougrade daily and it works absolutely fine here.

Regards,

Raf

On Thu, Feb 08, 2018 at 04:09:09PM GMT, jungle Boogie wrote:

> Hi All,
>
> Since the 7th of February, I haven't been able to auto upgrade my
> openBSD machine from snapshot to snapshot. I initiate the autoupgrade,
> it mounts partition A as read only but never progresses past that.
>
> The way I perform auto_upgrade:
>
> 0. Reboot machine with new bsd.rd at /
> 1. at the boot prompt type 'boot bsd.rd'
> 2. Select S for shell
> 3. mount /dev/wd0a mnt && cp mnt/auto_upgrade.conf . && autoinstall
> 4.Typically this would start the autoupgrad and within 20 minutes, my
> machine would be on the latest openBSD snapshot
>
> Now, however, it simply stalls at the mounting of /wd0a.
>
> Has there been a recent regression or is this now a feature?
>
>
> $ cat /auto_upgrade.conf
> Network interfaces = wpi0
> System hostname = puffer
> Location of sets = http
> http instead = yes
> Server directory = pub/OpenBSD/snapshots/amd64
> HTTP Server = ftp.openbsd.org
> Set name(s) = -game*
>
> --
> -------
> inum: 883510009027723
> sip: [hidden email]
>

Reply | Threaded
Open this post in threaded view
|

Re: autoupgrade issues?

lists-2
In reply to this post by jungle Boogie
Thu, 8 Feb 2018 08:09:09 -0800 jungle Boogie <[hidden email]>

> Hi All,
>
> Since the 7th of February, I haven't been able to auto upgrade my
> openBSD machine from snapshot to snapshot. I initiate the autoupgrade,
> it mounts partition A as read only but never progresses past that.
>
> The way I perform auto_upgrade:
>
> 0. Reboot machine with new bsd.rd at /
> 1. at the boot prompt type 'boot bsd.rd'
> 2. Select S for shell
> 3. mount /dev/wd0a mnt && cp mnt/auto_upgrade.conf . && autoinstall
> 4.Typically this would start the autoupgrad and within 20 minutes, my
> machine would be on the latest openBSD snapshot
>
> Now, however, it simply stalls at the mounting of /wd0a.
>
> Has there been a recent regression or is this now a feature?
>
>
> $ cat /auto_upgrade.conf
> Network interfaces = wpi0
> System hostname = puffer
> Location of sets = http
> http instead = yes
> Server directory = pub/OpenBSD/snapshots/amd64
> HTTP Server = ftp.openbsd.org
> Set name(s) = -game*
>

Hi jungleboogie0,

Also, have you tried semarie's recent upobsd sysutils port & package?

http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/sysutils/upobsd/pkg/DESCR
https://bitbucket.org/semarie/upobsd/src

This worked out nicely here solving autoupgrades for bootstrap nodes.

Kind regards,
Anton Lazarov