Page MenuHomePhabricator
Paste P96510

(An Untitled Masterwork)
ActivePublic

Authored by tappof on Wed, Sep 23, 12:18 PM.
Project Tags
None
Referenced Files
F104442672: raw-paste-data.txt
Wed, Sep 23, 12:18 PM
Subscribers
None
```
Info: Applying configuration version '(bb7ad28223) Muehlenhoff - Uninstall intel-microcode on VMs'
Notice: /Stage[main]/Prometheus::Blackbox_exporter/Debconf::Set[prometheus-blackbox-exporter/want_cap_net_raw]/Exec[debconf-set-selections set boolean prometheus-blackbox-exporter/want_cap_net_raw]/returns: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Error: 'echo set prometheus-blackbox-exporter/want_cap_net_raw boolean "true" | debconf-set-selections' returned 1 instead of one of [0]
Error: /Stage[main]/Prometheus::Blackbox_exporter/Debconf::Set[prometheus-blackbox-exporter/want_cap_net_raw]/Exec[debconf-set-selections set boolean prometheus-blackbox-exporter/want_cap_net_raw]/returns: change from 'notrun' to ['0'] failed: 'echo set prometheus-blackbox-exporter/want_cap_net_raw boolean "true" | debconf-set-selections' returned 1 instead of one of [0] (corrective)
Warning: The directory '/srv/prometheus' contains 8915 entries, which exceeds the default soft limit 1000 and may cause excessive resource consumption and degraded performance. To remove this warning set a value for `max_files` parameter or consider using an alternate method to manage large directory trees
Notice: /Stage[main]/Prometheus::Blackbox_exporter/Package[prometheus-blackbox-exporter]: Dependency Exec[debconf-set-selections set boolean prometheus-blackbox-exporter/want_cap_net_raw] has failures: true
Warning: /Stage[main]/Prometheus::Blackbox_exporter/Package[prometheus-blackbox-exporter]: Skipping because of failed dependencies
Warning: /Stage[main]/Prometheus::Blackbox_exporter/Exec[assemble blackbox.yml]: Skipping because of failed dependencies
Warning: /Stage[main]/Prometheus::Blackbox_exporter/Systemd::Service[prometheus-blackbox-exporter]/Service[prometheus-blackbox-exporter]: Skipping because of failed dependencies
Notice: Applied catalog in 35.34 seconds
```
```
tappof@prometheus1008:~$ sudo fuser /var/cache/debconf/config.dat
/var/cache/debconf/config.dat: 3161271
```
```
root 3161136 0.1 0.0 87980 77692 ? Ss 08:10 0:16 apt-get install grub-common grub-pc-bin grub-pc grub2-common
root 3161257 0.0 0.0 11080 5228 pts/0 Ss+ 08:10 0:00 \_ /usr/bin/dpkg --status-fd 47 --configure --pending
root 3161271 1.1 0.0 25248 20388 pts/0 S+ 08:10 2:43 \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/grub-pc.postinst configure 2.06-13+deb12u1
root 3161304 1.9 0.0 7464 3760 pts/0 S+ 08:10 4:43 \_ /bin/bash /var/lib/dpkg/info/grub-pc.postinst configure 2.06-13+deb12u1
root 403443 0.0 0.0 7464 2036 pts/0 S+ 12:17 0:00 \_ /bin/bash /var/lib/dpkg/info/grub-pc.postinst configure 2.06-13+deb12u1
root 403444 0.0 0.0 7464 2036 pts/0 S+ 12:17 0:00 \_ /bin/bash /var/lib/dpkg/info/grub-pc.postinst configure 2.06-13+deb12u1
root 403445 0.0 0.0 7464 2040 pts/0 S+ 12:17 0:00 \_ /bin/bash /var/lib/dpkg/info/grub-pc.postinst configure 2.06-13+deb12u1
root 403446 16.6 0.0 7464 2580 pts/0 S+ 12:17 0:00 \_ /bin/bash /var/lib/dpkg/info/grub-pc.postinst configure 2.06-13+deb12u1
root 403447 0.0 0.0 22060 900 pts/0 S+ 12:17 0:00 \_ sort -k2 -s -u
root 403448 0.0 0.0 5480 900 pts/0 S+ 12:17 0:00 \_ cut -d -f1
```

Event Timeline

read(8, "SUBST grub-pc/disk_description M"..., 8192) = 46                                                                                                                                                                                                                                                                                                                                                                     14:24 [31/11388]
write(7, "0\n", 2)                      = 2
read(8, "METAGET grub-pc/disk_description"..., 8192) = 45
write(7, "0 /dev/dm-1 (76281 MB; vg0-root)"..., 33) = 33
read(8, "SUBST grub-pc/install_devices_di"..., 8192) = 597
write(7, "0\n", 2)                      = 2
read(8, "SUBST grub-pc/install_devices_di"..., 8192) = 443
write(7, "0\n", 2)                      = 2
read(8, "INPUT critical grub-pc/install_d"..., 8192) = 53
write(7, "0 question will be asked\n", 25) = 25
read(8, "GO \n", 8192)                  = 4
write(1, "The GRUB boot loader was previou"..., 75) = 75
write(1, "present, or whose unique identif"..., 81) = 81
write(1, "to make sure that the installed "..., 81) = 81
write(1, "and grub.cfg. Please check again"..., 75) = 75
write(1, "appropriate boot devices.\n", 26) = 26
write(1, "\n", 1)                       = 1
write(1, "If you're unsure which drive is "..., 78) = 78
write(1, "often a good idea to install GRU"..., 50) = 50
write(1, "\n", 1)                       = 1
write(1, "Note: it is possible to install "..., 81) = 81
write(1, "appropriate partitions are offer"..., 79) = 79
write(1, "blocklist mechanism, which makes"..., 73) = 73
write(1, "recommended.\n", 13)          = 13
write(1, "\n", 1)                       = 1
write(1, "  1. /dev/md0 (7679791 MB; prome"..., 45) = 45
write(1, "  2. /dev/sda (1920383 MB; HFS1T"..., 44) = 44
write(1, "  3. /dev/sdb (1920383 MB; HFS1T"..., 44) = 44
write(1, "  4. /dev/sdc (1920383 MB; HFS1T"..., 44) = 44
write(1, "  5. /dev/sdd (1920383 MB; HFS1T"..., 44) = 44
write(1, "  6. /dev/sde (1920383 MB; SSDSC"..., 43) = 43
write(1, "  7. /dev/sdf (1920383 MB; HFS1T"..., 44) = 44
write(1, "  8. /dev/sdg (1920383 MB; HFS1T"..., 44) = 44
write(1, "  9. /dev/sdh (1920383 MB; HFS1T"..., 44) = 44
write(1, "  10. /dev/dm-1 (76281 MB; vg0-r"..., 37) = 37
write(1, "\n", 1)                       = 1
write(1, "(Enter the items or ranges you w"..., 69) = 69
write(1, "\n", 1)                       = 1
write(1, "GRUB install devices: ", 22)  = 22
write(1, "\n", 1)                       = 1
write(2, "Use of uninitialized value $_[1]"..., 107) = 107
write(7, "0 ok\n", 5)                   = 5
read(8, "GET grub-pc/install_devices_disk"..., 8192) = 42
write(7, "0 \n", 3)                     = 3
read(8, "GET grub-pc/install_devices_disk"..., 8192) = 42
write(7, "0 \n", 3)                     = 3
read(8, "GET grub-pc/install_devices_empt"..., 8192) = 34
write(7, "0 false\n", 8)                = 8
read(8, "FSET grub-pc/install_devices_emp"..., 8192) = 46
write(7, "0 false\n", 8)                = 8
read(8, "INPUT critical grub-pc/install_d"..., 8192) = 45
write(7, "0 question will be asked\n", 25) = 25
read(8, "GO \n", 8192)                  = 4
write(1, "You chose not to install GRUB to"..., 80) = 80
write(1, "may not be properly configured, "..., 79) = 79
write(1, "use whatever was previously in t"..., 80) = 80
write(1, "of GRUB 2 in the boot sector, it"..., 78) = 78
write(1, "current configuration file.\n", 28) = 28
write(1, "\n", 1)                       = 1
write(1, "If you are already using a diffe"..., 81) = 81
write(1, "or if this is a special environm"..., 79) = 79
write(1, "you should continue anyway. Othe"..., 74) = 74
write(1, "\n", 1)                       = 1
write(1, "Continue without installing GRUB"..., 43) = 43
write(1, "\n", 1)                       = 1
write(2, "Use of uninitialized value $_[1]"..., 107) = 107
write(7, "0 ok\n", 5)                   = 5
tappof@prometheus1008:~$ ls /dev/disk/by-id/ata-* | grep -v part
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N0L
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N0P
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N0R
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N0W
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N0Y
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N11
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N14
/dev/disk/by-id/ata-SSDSC2KG019T8R_PHYG9310022S1P9DGN
tappof@prometheus1008:~$ sudo debconf-show grub-pc | grep -i install_devices
* grub-pc/install_devices:
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N0P,
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N14,
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N0W,
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N13, 
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N0R,
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N0L,
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N11,
/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N0Y
  grub-pc/install_devices_disks_changed:
  grub-pc/install_devices_failed: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/install_devices_empty: false
tappof@prometheus1008:~$ ls -l /dev/disk/by-id/ | grep -v 'part' | awk '{print $9, "->", $11}'
 ->
ata-HFS1T9G3H2X069N_KSC3N5366I1703N0L -> ../../sdc
ata-HFS1T9G3H2X069N_KSC3N5366I1703N0P -> ../../sda
ata-HFS1T9G3H2X069N_KSC3N5366I1703N0R -> ../../sdd
ata-HFS1T9G3H2X069N_KSC3N5366I1703N0W -> ../../sdg
ata-HFS1T9G3H2X069N_KSC3N5366I1703N0Y -> ../../sdh
ata-HFS1T9G3H2X069N_KSC3N5366I1703N11 -> ../../sdf
ata-HFS1T9G3H2X069N_KSC3N5366I1703N14 -> ../../sdb
ata-SSDSC2KG019T8R_PHYG9310022S1P9DGN -> ../../sde
...

/dev/disk/by-id/ata-HFS1T9G3H2X069N_KSC3N5366I1703N13 -> ata-SSDSC2KG019T8R_PHYG9310022S1P9DGN

tappof@prometheus1008:~$ sudo mdadm --detail /dev/md0
/dev/md0:
           Version : 1.2
     Creation Time : Fri Aug  9 14:27:31 2024
        Raid Level : raid10
        Array Size : 7499796480 (6.98 TiB 7.68 TB)
     Used Dev Size : 1874949120 (1788.09 GiB 1919.95 GB)
      Raid Devices : 8
     Total Devices : 8
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Wed Sep 23 12:55:29 2026
             State : active
    Active Devices : 8
   Working Devices : 8
    Failed Devices : 0
     Spare Devices : 0

            Layout : near=2
        Chunk Size : 512K

Consistency Policy : bitmap

              Name : prometheus1008:0  (local to host prometheus1008)
              UUID : f4ad989a:f755b181:e0c70030:1aafee27
            Events : 2671115

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync set-A   /dev/sda2
       1       8       18        1      active sync set-B   /dev/sdb2
       2       8       98        2      active sync set-A   /dev/sdg2
       8       8       66        3      active sync set-B   /dev/sde2
       4       8       50        4      active sync set-A   /dev/sdd2
       5       8       34        5      active sync set-B   /dev/sdc2
       6       8       82        6      active sync set-A   /dev/sdf2
       7       8      114        7      active sync set-B   /dev/sdh2

root@centrallog1002:/srv/syslog/prometheus1008# mdadm --examine /dev/sde2 | grep -E "Update Time|Creation Time"

Creation Time : Wed Jan 25 19:26:01 2023