I'm seeing problems with onu when the publisher origin
URL is set to http://pkg.opensolaris.org/dev/ on a
stock b134 system installed from osol-dev-134-x86.iso.
I've seen it on multiple systems, both metal and
Xen domUs.

I'm getting stale bits..  If I set it to ipkg.sfbay/dev,
it works fine...  specifying -u http://ipkg.sfbay/on-nightly
doesn't change the behavior.

Anyone have any ideas why?

Thanks,


MRJ


Here's an example on a domU...

################## FAILURE CASE ##
r...@mckuen:~# virsh start --console osol134
Domain osol134 started
Connected to domain osol134
Escape character is '^]'
v3.4.2-xvm chgset 'Wed Mar 24 08:30:11 2010 -0700 19676:ac2fda2df271'
SunOS Release 5.11 Version snv_134 64-bit
Copyright 1983-2010 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: domu-209
Reading ZFS config: done.
Mounting ZFS filesystems: (5/5)

domu-209 console login: root
Password:
Mar 25 13:42:49 domu-209 login: ROOT LOGIN /dev/console
Last login: Wed Mar 24 10:07:30 on console
Sun Microsystems Inc.   SunOS 5.11      snv_134 February 2010
r...@domu-209:~# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org          (preferred)  origin   online   
http://pkg.opensolaris.org/dev/
r...@domu-209:~#
r...@domu-209:~# /net/onnv/opt/onbld/bin/onu -t nightly
PHASE                                        ACTIONS
Removal Phase                                  54/54
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              239/239   3847/3847  127.7/127.7

PHASE                                        ACTIONS
Removal Phase                              1708/1708
Install Phase                              1867/1867
Update Phase                               5276/5276
nightly has been updated successfully
r...@domu-209:~#
r...@domu-209:~# reboot
Mar 25 13:50:21 domu-209 reboot: initiated by root on /dev/console
syncing file systems... done
rebooting...
v3.4.2-xvm chgset 'Wed Mar 24 08:30:11 2010 -0700 19676:ac2fda2df271'
SunOS Release 5.11 Version onnv-gate:2010-03-19 64-bit
Copyright 1983-2010 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
DEBUG enabled
Hostname: domu-209
Loading smf(5) service descriptions: 8/8
Reading ZFS config: done.
Mounting ZFS filesystems: (6/6)
dcpc: unable to resolve dependency, cannot load module 'drv/cpc'

domu-209 console login: root
Password:
Mar 25 13:52:05 domu-209 login: ROOT LOGIN /dev/console
Last login: Thu Mar 25 13:42:49 on console
Sun Microsystems Inc.   SunOS 5.11      onnv-gate:2010-03-17    Mar. 17, 2010
SunOS Internal Development:  2010-Mar-17 [onnv-gate]
r...@domu-209:~# poweroff
Mar 25 13:52:08 domu-209 poweroff: initiated by root on /dev/console
syncing file systems... done
Domain "osol134" has shut down.
Connection to domain osol134 closed.


################## SUCCESSFUL CASE ##
r...@mckuen:~# vdiskadm rollback /xvm/vdisks/osol...@stock
r...@mckuen:~# virsh start --console osol134
Domain osol134 started
Connected to domain osol134
Escape character is '^]'
v3.4.2-xvm chgset 'Wed Mar 24 08:30:11 2010 -0700 19676:ac2fda2df271'
SunOS Release 5.11 Version snv_134 64-bit
Copyright 1983-2010 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: domu-209
Reading ZFS config: done.
Mounting ZFS filesystems: (5/5)

domu-209 console login: root
Password:
Mar 25 13:53:20 domu-209 login: ROOT LOGIN /dev/console
Last login: Wed Mar 24 10:07:30 on console
Sun Microsystems Inc.   SunOS 5.11      snv_134 February 2010
r...@domu-209:~# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org          (preferred)  origin   online   
http://pkg.opensolaris.org/dev/
r...@domu-209:~# pkg set-publisher -O http://ipkg.sfbay/dev opensolaris.org
r...@domu-209:~# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org          (preferred)  origin   online   http://ipkg.sfbay/dev/
r...@domu-209:~#
r...@domu-209:~# /net/onnv/opt/onbld/bin/onu -t nightly
PHASE                                        ACTIONS
Removal Phase                                  54/54
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              740/740 15613/15613  267.8/267.8

PHASE                                        ACTIONS
Removal Phase                              7760/7760
Install Phase                              7724/7724
Update Phase                             21306/21306
nightly has been updated successfully
r...@domu-209:~# reboot
Mar 25 14:07:13 domu-209 reboot: initiated by root on /dev/console
Mar 25 14:07:14 domu-209 syslogd: going down on signal 15
syncing file systems... done
rebooting...
v3.4.2-xvm chgset 'Wed Mar 24 08:30:11 2010 -0700 19676:ac2fda2df271'
SunOS Release 5.11 Version onnv-gate:2010-03-25 64-bit
Copyright 1983-2010 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
DEBUG enabled
Hostname: domu-209
Loading smf(5) service descriptions: 12/12
Reading ZFS config: done.
Mounting ZFS filesystems: (6/6)
dcpc: unable to resolve dependency, cannot load module 'drv/cpc'

domu-209 console login: root
Password:
Mar 25 14:09:06 domu-209 login: ROOT LOGIN /dev/console
Last login: Thu Mar 25 13:53:20 on console
Sun Microsystems Inc.   SunOS 5.11      onnv-gate:2010-03-25    Mar. 25, 2010
SunOS Internal Development:  2010-Mar-25 [onnv-gate]
r...@domu-209:~#



_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to