all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24141: RAID reconfigure ERROR: Wrong type (expecting string): ("/dev/sdb1" "/dev/sdc1")
@ 2016-08-03 13:31 myglc2
  2017-01-24 19:45 ` myglc2
  0 siblings, 1 reply; 3+ messages in thread
From: myglc2 @ 2016-08-03 13:31 UTC (permalink / raw)
  To: 24141

[-- Attachment #1: Type: text/plain, Size: 1975 bytes --]


This is a followup to bug#24135. 

Note: This may duplicate, Gmane swallowed my reply yesterday.

With bug#24135 commits in place the system reconfigure completes w/
'Installation finished. No error reported.'  _but_ shows an embedded
error ...

ERROR: Wrong type (expecting string): ("/dev/sdb1" "/dev/sdc1")

... and the system does not boot.

This is really 2 bugs

1) a problem w/the RAID mechanism and/or my config

2) reconfigure should not complete when shepherd produces errors

version info:

guix (GNU Guix) 0.11.0
root@g1 ~#   File: '/root/.config/guix/latest' -> '/home/g1/src/guix'
root@g1 ~# v0.10.0-2118-g1061862
root@g1 ~# 1061862 mapped-devices: raid-device-mapping: Avoid non-top-level 'use-modules'.
root@g1 ~# root@g1 ~# 

reconfigure:

root@g1 ~# guix system reconfigure system40.scm
/gnu/store/nn051a04gas6x3g6xhbi8x0ca38akbzk-system
/gnu/store/dsq79n5a8p21ca7zc38yzxzi9hk0mhzp-grub.cfg
/gnu/store/zgm8s5z5y9dh0g36jqxh5i30js93irk5-grub-2.02beta3
activating system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/3vbg3i84k9z57kj5xwz91h08b59mh9yb-etc...
usermod: no changes
usermod: no changes
usermod: no changes
making '/gnu/store/nn051a04gas6x3g6xhbi8x0ca38akbzk-system' the current system...
guix system: unloading service 'device-mapping-/dev/md0'...
shepherd: Removing service 'device-mapping-/dev/md0'...
shepherd: Done.
guix system: unloading service 'file-system-/mnt/md0'...
shepherd: Removing service 'file-system-/mnt/md0'...
shepherd: Done.
guix system: loading new services: device-mapping-/dev/md0 file-system-/mnt/md0...
shepherd: Evaluating user expression (register-services (primitive-load "/gn...") #).
guix system: error: exception caught while executing 'start' on service 'device-mapping-/dev/md0':
ERROR: Wrong type (expecting string): ("/dev/sdb1" "/dev/sdc1")
Installing for i386-pc platform.
Installation finished. No error reported.

config and shepherd log attached.

TIA - George


[-- Attachment #2: shepherd40.log --]
[-- Type: application/octet-stream, Size: 1452 bytes --]

2016-08-03 09:03:18 Service udev has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup/hugetlb has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup/perf_event has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup/blkio has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup/freezer has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup/devices has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup/memory has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup/cpuacct has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup/cpu has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup/cpuset has been started.
2016-08-03 09:03:18 Service file-system-/sys/fs/cgroup/elogind has been started.
2016-08-03 09:03:18 Service file-system-/run/user has been started.
2016-08-03 09:03:18 Service file-system-/run/systemd has been started.
2016-08-03 09:03:18 Service file-system-/gnu/store has been started.
2016-08-03 09:03:18 Service file-system-/dev/shm has been started.
2016-08-03 09:03:18 Service file-system-/dev/pts has been started.
2016-08-03 09:03:18 Service user-file-systems has been started.
2016-08-03 09:03:18 Service host-name has been started.
2016-08-03 09:03:18 Service loopback has been started.
<hang>

[-- Attachment #3: system40.scm --]
[-- Type: application/octet-stream, Size: 2282 bytes --]

;;; g1 system config
(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules
 base
 admin
 disk
 linux                 ; mdadm
 package-management    ; guix
 screen
 ghostscript           ; gs-fonts
 fonts                 ; font-dejavu font-gnu-freefont-ttf
 curl                  ; lpaste
 ssh
 xorg certs
 rsync
 wget
 version-control       ; git
 aspell
 emacs
 cups
 graphviz
 qemu
 )
(define md0
  (mapped-device
   (source (list "/dev/sdb1" "/dev/sdc1"))
   (target "/dev/md0")
   (type raid-device-mapping)))
(operating-system
  (host-name "g1")
  (timezone "America/New_York")
  (locale "en_US.utf8")
  (bootloader (grub-configuration (device "/dev/sda")))
  (mapped-devices (list md0))
  ;; Add a kernel module for RAID-1.
  (initrd (lambda (file-systems . rest)
            (apply base-initrd file-systems
                   #:extra-modules '("raid1")
		   rest)))
  (file-systems (cons*
		 (file-system
		   (device "ssd-root")
		   (title 'label)
		   (mount-point "/")
		   (type "ext4"))
		 (file-system
		   (title 'device)
		   (device "/dev/md0")
		   (dependencies (list md0))
		   (mount-point "/mnt/md0")
		   (create-mount-point? #t)
		   (type "ext4"))
		 %base-file-systems))
  (users (cons* (user-account
		 (name "glc")
		 (group "users")
		 (supplementary-groups '("wheel"))
		 (home-directory "/home/glc"))
		(user-account
		 (name "g1")
		 (group "users")
		 (supplementary-groups '("wheel" "kvm"))
		 (home-directory "/home/g1"))
		(user-account
		 (name "g1x")
		 (group "users")
		 (supplementary-groups '("wheel" "kvm"))
		 (home-directory "/home/g1x"))
		(user-account
		 (name "gx")
		 (group "users")
		 (supplementary-groups '("wheel" "kvm"))
		 (home-directory "/home/gx"))
		%base-user-accounts))
  (packages
   (cons*
    glibc-utf8-locales
    parted
    mdadm
    qemu
    guix
    screen
    openssh nss-certs xauth
    rsync wget
    curl                                                     ;lpaste
    git git-manpages
    gs-fonts font-dejavu font-gnu-freefont-ttf
    aspell
    emacs
    flycheck paredit magit
    emacs-zenburn-theme emacs-markdown-mode emacs-web-mode
    cups
    graphviz
    %base-packages))
  (services (cons* (dhcp-client-service)
		   (lsh-service #:port-number 22)
		   %base-services)))

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-24 21:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03 13:31 bug#24141: RAID reconfigure ERROR: Wrong type (expecting string): ("/dev/sdb1" "/dev/sdc1") myglc2
2017-01-24 19:45 ` myglc2
2017-01-24 21:47   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.