Unable to install ubuntu core 22 using MAAS in a server

I am trying to install ubuntu core 22 on a Dell poweredge server and it fails causing deployment failed state.

Installation output

```
curtin: Installation started. (22.1-0ubuntu1~22.04.1)
third party drivers not installed or necessary.
start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
lookup_disks found: ['wwn-0x6842b2b00648eb002c9d7f9c081a49a8', 'scsi-36842b2b00648eb002c9d7f9c081a49a8']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.119
devsync happy - path /dev/sda now exists
return volume path /dev/sda
get_path_to_storage_volume for volume sda-part1({'device': 'sda', 'flag': 'boot', 'id': 'sda-part1', 'name': 'sda-part1', 'number': 1, 'offset': '4194304B', 'size': '536870912B', 'type': 'partition', 'uuid': 'a7b28849-574e-432b-beb3-d38274fc9dd6', 'wipe': 'superblock'})
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
lookup_disks found: ['wwn-0x6842b2b00648eb002c9d7f9c081a49a8', 'scsi-36842b2b00648eb002c9d7f9c081a49a8']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.075
devsync happy - path /dev/sda now exists
return volume path /dev/sda
get_path_to_storage_volume for volume sda-part2({'device': 'sda', 'id': 'sda-part2', 'name': 'sda-part2', 'number': 2, 'size': '1797435424768B', 'type': 'partition', 'uuid': '6c3e53fe-c3ed-45ef-b005-a4f048a89800', 'wipe': 'superblock'})
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
lookup_disks found: ['wwn-0x6842b2b00648eb002c9d7f9c081a49a8', 'scsi-36842b2b00648eb002c9d7f9c081a49a8']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.059
devsync happy - path /dev/sda now exists
return volume path /dev/sda
block-meta: extracted devices to clear: ['/dev/sda']
Declared block devices: ['/dev/sda']
clearing devices=['/dev/sda']
start: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: removing previous storage devices
Running command ['mdadm', '--assemble', '--scan', '-v'] with allowed return codes [0, 1, 2] (capture=True)
mdadm assemble scan results:

mdadm: looking for devices for further assembly
mdadm: no recogniseable superblock on /dev/sda
mdadm: cannot open device /dev/sr0: No medium found
mdadm: no recogniseable superblock on /dev/loop3
mdadm: no recogniseable superblock on /dev/loop2
mdadm: no recogniseable superblock on /dev/loop1
mdadm: no recogniseable superblock on /dev/loop0
mdadm: No arrays found in config file or automatically

Running command ['mdadm', '--detail', '--scan', '-v'] with allowed return codes [0, 1] (capture=True)
mdadm detail scan after assemble:


Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.016
Detected multipath support, reload maps
Running command ['multipath', '-r'] with allowed return codes [0] (capture=False)
Verifying /dev/mapper/mpath* files are symlinks
Running command ['dmsetup', 'ls', '-o', 'blkdevname'] with allowed return codes [0] (capture=True)
Running command ['pvscan', '--config', 'devices{ filter = [ "a|/dev/mapper/mpath.*|", "a|/dev/mapper/dm_crypt-.*|", "r|.*|" ] }'] with allowed return codes [0] (capture=True)
Running command ['vgscan', '--config', 'devices{ filter = [ "a|/dev/mapper/mpath.*|", "a|/dev/mapper/dm_crypt-.*|", "r|.*|" ] }'] with allowed return codes [0] (capture=True)
Running command ['vgchange', '--activate=y', '--config', 'devices{ filter = [ "a|/dev/mapper/mpath.*|", "a|/dev/mapper/dm_crypt-.*|", "r|.*|" ] }'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.017
Loading kernel module bcache via modprobe
Running command ['modprobe', '--use-blacklist', 'bcache'] with allowed return codes [0] (capture=False)
Generating device storage trees for path(s): ['/dev/sda']
devname '/sys/class/block/sda' had holders: []
/dev/sda is multipath device partition? False
/dev/sda is multipath device partition? False
/dev/sda is multipath device partition? False
Current device storage tree:
sda
Shutdown Plan:
{'level': 0, 'device': '/sys/class/block/sda', 'dev_type': 'disk'}
shutdown running on holder type: 'disk' syspath: '/sys/class/block/sda'
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True)
get_blockdev_sector_size: info:
{
 "sda": {
  "ALIGNMENT": "0",
  "DISC-ALN": "0",
  "DISC-GRAN": "0",
  "DISC-MAX": "0",
  "DISC-ZERO": "0",
  "FSTYPE": "",
  "GROUP": "disk",
  "KNAME": "sda",
  "LABEL": "",
  "LOG-SEC": "512",
  "MAJ:MIN": "8:0",
  "MIN-IO": "512",
  "MODE": "brw-rw----",
  "MODEL": "PERC 6/i",
  "MOUNTPOINT": "",
  "NAME": "sda",
  "OPT-IO": "0",
  "OWNER": "root",
  "PHY-SEC": "512",
  "RM": "0",
  "RO": "0",
  "ROTA": "1",
  "RQ-SIZE": "256",
  "SIZE": "1797980684288",
  "STATE": "running",
  "TYPE": "disk",
  "UUID": "",
  "device_path": "/dev/sda"
 }
}
get_blockdev_sector_size: (log=512, phys=512)
Running command ['fdasd', '--table', '/dev/sda'] with allowed return codes [0] (capture=False)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID'] with allowed return codes [0] (capture=True)
Checking if /dev/sda is a swap device
Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
wiping superblock on /dev/sda
wiping /dev/sda attempt 1/4
wiping 1M on /dev/sda at offsets [0, -1048576]
successfully wiped device /dev/sda on attempt 1/4
devname '/sys/class/block/sda' had holders: []
/dev/sda is multipath device partition? False
/dev/sda is multipath device partition? False
/dev/sda is multipath device partition? False
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: SUCCESS: removing previous storage devices
blockmeta: detected dd-images, using mode=simple
Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
lookup_disks found: ['wwn-0x6842b2b00648eb002c9d7f9c081a49a8', 'scsi-36842b2b00648eb002c9d7f9c081a49a8']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['/usr/sbin/multipath', '-F'] with allowed return codes [0, 1] (capture=False)
installing in 'custom' mode to 'sda'
writing image to disk {'type': 'dd-xz', 'uri': 'http://10.10.10.1:5248/images/ubuntu-core/amd64/generic/uc22/uploaded/root-dd.xz'}, sda
Running command ['sh', '-c', 'wget "$1" --progress=dot:mega -O - |xzcat| dd bs=4M of="$2"', '--', 'http://10.10.10.1:5248/images/ubuntu-core/amd64/generic/uc22/uploaded/root-dd.xz', '/dev/sda'] with allowed return codes [0] (capture=False)
--2023-10-04 23:55:19--  http://10.10.10.1:5248/images/ubuntu-core/amd64/generic/uc22/uploaded/root-dd.xz
Connecting to 10.10.10.1:5248... connected.
HTTP request sent, awaiting response... 200 OK
Length: 443772556 (423M) [application/octet-stream]
Saving to: ‘STDOUT’

     0K ........ ........ ........ ........ ........ ........  0% 5.77M 73s
  3072K ........ ........ ........ ........ ........ ........  1%  112M 38s
  6144K ........ ........ ........ ........ ........ ........  2%  113M 26s
  9216K ........ ........ ........ ........ ........ ........  2%  112M 21s
 12288K ........ ........ ........ ........ ........ ........  3% 85.8M 17s
 15360K ........ ........ ........ ........ ........ ........  4% 52.4M 16s
 18432K ........ ........ ........ ........ ........ ........  4% 36.9M 15s
 21504K ........ ........ ........ ........ ........ ........  5% 35.1M 14s
 24576K ........ ........ ........ ........ ........ ........  6%  134M 13s
 27648K ........ ........ ........ ........ ........ ........  7% 55.9M 12s
 30720K ........ ........ ........ ........ ........ ........  7%  166M 11s
 33792K ........ ........ ........ ........ ........ ........  8%  217M 10s
 36864K ........ ........ ........ ........ ........ ........  9% 36.6M 10s
 39936K ........ ........ ........ ........ ........ ........  9%  591M 10s
 43008K ........ ........ ........ ........ ........ ........ 10%  178M 9s
 46080K ........ ........ ........ ........ ........ ........ 11%  112M 9s
 49152K ........ ........ ........ ........ ........ ........ 12%  112M 8s
 52224K ........ ........ ........ ........ ........ ........ 12%  112M 8s
 55296K ........ ........ ........ ........ ........ ........ 13%  101M 8s
 58368K ........ ........ ........ ........ ........ ........ 14% 46.3M 8s
 61440K ........ ........ ........ ........ ........ ........ 14%  582M 7s
 64512K ........ ........ ........ ........ ........ ........ 15% 27.8M 7s
 67584K ........ ........ ........ ........ ........ ........ 16% 46.2M 7s
 70656K ........ ........ ........ ........ ........ ........ 17% 67.2M 7s
 73728K ........ ........ ........ ........ ........ ........ 17% 29.6M 7s
 76800K ........ ........ ........ ........ ........ ........ 18%  281M 7s
 79872K ........ ........ ........ ........ ........ ........ 19%  199M 7s
 82944K ........ ........ ........ ........ ........ ........ 19%  112M 7s
 86016K ........ ........ ........ ........ ........ ........ 20%  112M 6s
 89088K ........ ........ ........ ........ ........ ........ 21%  112M 6s
 92160K ........ ........ ........ ........ ........ ........ 21%  113M 6s
 95232K ........ ........ ........ ........ ........ ........ 22%  112M 6s
 98304K ........ ........ ........ ........ ........ ........ 23%  111M 6s
101376K ........ ........ ........ ........ ........ ........ 24%  113M 6s
104448K ........ ........ ........ ........ ........ ........ 24%  112M 5s
107520K ........ ........ ........ ........ ........ ........ 25%  112M 5s
110592K ........ ........ ........ ........ ........ ........ 26%  113M 5s
113664K ........ ........ ........ ........ ........ ........ 26%  112M 5s
116736K ........ ........ ........ ........ ........ ........ 27%  112M 5s
119808K ........ ........ ........ ........ ........ ........ 28%  112M 5s
122880K ........ ........ ........ ........ ........ ........ 29% 47.0M 5s
125952K ........ ........ ........ ........ ........ ........ 29% 44.7M 5s
129024K ........ ........ ........ ........ ........ ........ 30%  428M 5s
132096K ........ ........ ........ ........ ........ ........ 31%  194M 5s
135168K ........ ........ ........ ........ ........ ........ 31%  113M 5s
138240K ........ ........ ........ ........ ........ ........ 32%  112M 4s
141312K ........ ........ ........ ........ ........ ........ 33%  112M 4s
144384K ........ ........ ........ ........ ........ ........ 34%  113M 4s
147456K ........ ........ ........ ........ ........ ........ 34%  111M 4s
150528K ........ ........ ........ ........ ........ ........ 35%  113M 4s
153600K ........ ........ ........ ........ ........ ........ 36%  112M 4s
156672K ........ ........ ........ ........ ........ ........ 36%  112M 4s
159744K ........ ........ ........ ........ ........ ........ 37%  112M 4s
162816K ........ ........ ........ ........ ........ ........ 38%  112M 4s
165888K ........ ........ ........ ........ ........ ........ 38%  103M 4s
168960K ........ ........ ........ ........ ........ ........ 39%  123M 4s
172032K ........ ........ ........ ........ ........ ........ 40%  112M 4s
175104K ........ ........ ........ ........ ........ ........ 41% 85.7M 4s
178176K ........ ........ ........ ........ ........ ........ 41%  164M 3s
181248K ........ ........ ........ ........ ........ ........ 42%  112M 3s
184320K ........ ........ ........ ........ ........ ........ 43%  101M 3s
187392K ........ ........ ........ ........ ........ ........ 43%  126M 3s
190464K ........ ........ ........ ........ ........ ........ 44%  112M 3s
193536K ........ ........ ........ ........ ........ ........ 45% 95.5M 3s
196608K ........ ........ ........ ........ ........ ........ 46%  136M 3s
199680K ........ ........ ........ ........ ........ ........ 46% 52.9M 3s
202752K ........ ........ ........ ........ ........ ........ 47%  376M 3s
205824K ........ ........ ........ ........ ........ ........ 48%  193M 3s
208896K ........ ........ ........ ........ ........ ........ 48% 65.8M 3s
211968K ........ ........ ........ ........ ........ ........ 49%  140M 3s
215040K ........ ........ ........ ........ ........ ........ 50%  228M 3s
218112K ........ ........ ........ ........ ........ ........ 51%  112M 3s
221184K ........ ........ ........ ........ ........ ........ 51%  113M 3s
224256K ........ ........ ........ ........ ........ ........ 52% 59.1M 3s
227328K ........ ........ ........ ........ ........ ........ 53% 76.0M 3s
230400K ........ ........ ........ ........ ........ ........ 53% 67.1M 3s
233472K ........ ........ ........ ........ ........ ........ 54%  360M 3s
236544K ........ ........ ........ ........ ........ ........ 55%  185M 2s
239616K ........ ........ ........ ........ ........ ........ 55%  112M 2s
242688K ........ ........ ........ ........ ........ ........ 56%  112M 2s
245760K ........ ........ ........ ........ ........ ........ 57%  112M 2s
248832K ........ ........ ........ ........ ........ ........ 58% 57.4M 2s
251904K ........ ........ ........ ........ ........ ........ 58% 48.2M 2s
254976K ........ ........ ........ ........ ........ ........ 59%  191M 2s
258048K ........ ........ ........ ........ ........ ........ 60%  179M 2s
261120K ........ ........ ........ ........ ........ ........ 60%  112M 2s
264192K ........ ........ ........ ........ ........ ........ 61%  112M 2s
267264K ........ ........ ........ ........ ........ ........ 62%  112M 2s
270336K ........ ........ ........ ........ ........ ........ 63%  112M 2s
273408K ........ ........ ........ ........ ........ ........ 63%  112M 2s
276480K ........ ........ ........ ........ ........ ........ 64% 80.6M 2s
279552K ........ ........ ........ ........ ........ ........ 65%  185M 2s
282624K ........ ........ ........ ........ ........ ........ 65%  112M 2s
285696K ........ ........ ........ ........ ........ ........ 66%  112M 2s
288768K ........ ........ ........ ........ ........ ........ 67%  113M 2s
291840K ........ ........ ........ ........ ........ ........ 68%  112M 2s
294912K ........ ........ ........ ........ ........ ........ 68%  112M 2s
297984K ........ ........ ........ ........ ........ ........ 69%  112M 2s
301056K ........ ........ ........ ........ ........ ........ 70%  112M 2s
304128K ........ ........ ........ ........ ........ ........ 70%  112M 2s
307200K ........ ........ ........ ........ ........ ........ 71%  113M 1s
310272K ........ ........ ........ ........ ........ ........ 72%  112M 1s
313344K ........ ........ ........ ........ ........ ........ 73% 63.7M 1s
316416K ........ ........ ........ ........ ........ ........ 73%  310M 1s
319488K ........ ........ ........ ........ ........ ........ 74%  120M 1s
322560K ........ ........ ........ ........ ........ ........ 75%  112M 1s
325632K ........ ........ ........ ........ ........ ........ 75%  112M 1s
328704K ........ ........ ........ ........ ........ ........ 76%  112M 1s
331776K ........ ........ ........ ........ ........ ........ 77%  112M 1s
334848K ........ ........ ........ ........ ........ ........ 77%  112M 1s
337920K ........ ........ ........ ........ ........ ........ 78%  112M 1s
340992K ........ ........ ........ ........ ........ ........ 79%  112M 1s
344064K ........ ........ ........ ........ ........ ........ 80%  112M 1s
347136K ........ ........ ........ ........ ........ ........ 80%  112M 1s
350208K ........ ........ ........ ........ ........ ........ 81%  112M 1s
353280K ........ ........ ........ ........ ........ ........ 82%  112M 1s
356352K ........ ........ ........ ........ ........ ........ 82%  112M 1s
359424K ........ ........ ........ ........ ........ ........ 83%  112M 1s
362496K ........ ........ ........ ........ ........ ........ 84%  112M 1s
365568K ........ ........ ........ ........ ........ ........ 85%  112M 1s
368640K ........ ........ ........ ........ ........ ........ 85%  112M 1s
371712K ........ ........ ........ ........ ........ ........ 86%  112M 1s
374784K ........ ........ ........ ........ ........ ........ 87%  112M 1s
377856K ........ ........ ........ ........ ........ ........ 87%  112M 1s
380928K ........ ........ ........ ........ ........ ........ 88%  112M 1s
384000K ........ ........ ........ ........ ........ ........ 89%  112M 1s
387072K ........ ........ ........ ........ ........ ........ 90%  112M 0s
390144K ........ ........ ........ ........ ........ ........ 90%  112M 0s
393216K ........ ........ ........ ........ ........ ........ 91% 95.7M 0s
396288K ........ ........ ........ ........ ........ ........ 92%  136M 0s
399360K ........ ........ ........ ........ ........ ........ 92% 88.1M 0s
402432K ........ ........ ........ ........ ........ ........ 93% 57.2M 0s
405504K ........ ........ ........ ........ ........ ........ 94%  302M 0s
408576K ........ ........ ........ ........ ........ ........ 94%  128M 0s
411648K ........ ........ ........ ........ ........ ........ 95%  112M 0s
414720K ........ ........ ........ ........ ........ ........ 96%  112M 0s
417792K ........ ........ ........ ........ ........ ........ 97%  112M 0s
420864K ........ ........ ........ ........ ........ ........ 97% 90.0M 0s
423936K ........ ........ ........ ........ ........ ........ 98%  150M 0s
427008K ........ ........ ........ ........ ........ ........ 99%  112M 0s
430080K ........ ........ ........ ........ ........ ........ 99%  453K 0s
433152K ...                                                  100% 83.3K=14s

2023-10-04 23:55:34 (29.9 MB/s) - written to stdout [443772556/443772556]

0+465249 records in
0+465249 records out
3879731200 bytes (3.9 GB, 3.6 GiB) copied, 23.6442 s, 164 MB/s
Running command ['partprobe', '/dev/sda'] with allowed return codes [0] (capture=False)
Error: The backup GPT table is not at the end of the disk, as it should be.  Fix, by moving the backup to the end (and removing the old backup)?
Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 3504103423 blocks) or continue with the current setting? 
Running command ['udevadm', 'trigger', '/dev/sda'] with allowed return codes [0] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.376
Running command ['vgchange', '--activate=y'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.019
Searching for filesystem on ['sda'] containing one of: ['curtin', 'system-data/var/lib/snapd', 'snaps']
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True)
Running command ['mount', '/dev/sda1', '/tmp/tmpuwqxv2zt'] with allowed return codes [0] (capture=False)
mount: /tmp/tmpuwqxv2zt: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
Running command ['mount', '/dev/sda2', '/tmp/tmpuwqxv2zt'] with allowed return codes [0] (capture=False)
Found path 'snaps' on device '/dev/sda2'
Running command ['umount', '/tmp/tmpuwqxv2zt'] with allowed return codes [0] (capture=False)
Running command ['mount', '/dev/sda2', '/tmp/tmp6rat9ind/target'] with allowed return codes [0] (capture=False)
TIMED BLOCK_META: 26.471
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: curtin command block-meta
start: cmd-install/stage-network/builtin/cmd-net-meta: curtin command net-meta
net-meta mode is 'custom'.  devices=[]
writing to file /tmp/tmp6rat9ind/state/network_config with network config: network:
  ethernets:
    eno1:
      addresses:
      - 10.10.10.3/24
      gateway4: 10.10.10.1
      match:
        macaddress: 84:2b:2b:0c:5d:97
      mtu: 1500
      nameservers:
        addresses:
        - 10.10.10.1
        search:
        - maas
        - cto
      set-name: eno1
    eno2:
      match:
        macaddress: 84:2b:2b:0c:5d:99
      mtu: 1500
      set-name: eno2
    eno3:
      match:
        macaddress: 84:2b:2b:0c:5d:9b
      mtu: 1500
      optional: true
      set-name: eno3
    eno4:
      match:
        macaddress: 84:2b:2b:0c:5d:9d
      mtu: 1500
      optional: true
      set-name: eno4
  version: 2

finish: cmd-install/stage-network/builtin/cmd-net-meta: SUCCESS: curtin command net-meta
start: cmd-install/stage-extract/builtin/cmd-extract: curtin command extract
Installing sources: [{'type': 'dd-xz', 'uri': 'http://10.10.10.1:5248/images/ubuntu-core/amd64/generic/uc22/uploaded/root-dd.xz'}] to target at /tmp/tmp6rat9ind/target
start: cmd-install/stage-extract/builtin/cmd-extract: acquiring and extracting image from http://10.10.10.1:5248/images/ubuntu-core/amd64/generic/uc22/uploaded/root-dd.xz
finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: acquiring and extracting image from http://10.10.10.1:5248/images/ubuntu-core/amd64/generic/uc22/uploaded/root-dd.xz
Applying write_files from config.
finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: curtin command extract
start: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooks
Detected Ubuntu-Core image, running hooks
start: cmd-install/stage-curthooks/builtin/cmd-curthooks: Configuring Ubuntu-Core for first boot
cloudconfig ignoring 'path' key in config
cloudconfig ignoring 'path' key in config
cloudconfig ignoring 'path' key in config
cloudconfig ignoring 'path' key in config
Calling write_files with cloudconfig @ /tmp/tmp6rat9ind/target/data/etc/cloud/cloud.cfg.d
Injecting cloud-config:
{'maas-cloud-config': {'content': '#cloud-config\ndatasource:\n  MAAS:\n    consumer_key: pRebBkCfvp6EE2L6tC\n    metadata_url: http://10.10.10.1:5248/MAAS/metadata/\n    token_key: b8vGkPnDQ4Wu3SGVbw\n    token_secret: LGD7t55ZNNVJ3maqa8eBnwQWhCcHzexs\n', 'path': '50-cloudconfig-maas-cloud-config.cfg'}, 'maas-datasource': {'content': 'datasource_list: [ MAAS ]', 'path': '50-cloudconfig-maas-datasource.cfg'}, 'maas-reporting': {'content': '#cloud-config\nreporting:\n  maas:\n    consumer_key: pRebBkCfvp6EE2L6tC\n    endpoint: http://10.10.10.1:5248/MAAS/metadata/status/ngs7qn\n    token_key: b8vGkPnDQ4Wu3SGVbw\n    token_secret: LGD7t55ZNNVJ3maqa8eBnwQWhCcHzexs\n    type: webhook\n', 'path': '50-cloudconfig-maas-reporting.cfg'}, 'maas-ubuntu-sso': {'content': '#cloud-config\nsnap:\n  email: maas@test.com\n', 'path': '50-cloudconfig-maas-ubuntu-sso.cfg'}}
Writing network configuration
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: SUCCESS: Configuring Ubuntu-Core for first boot
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: SUCCESS: curtin command curthooks
start: cmd-install/stage-hook/builtin/cmd-hook: curtin command hook
Finalizing /tmp/tmp6rat9ind/target
finish: cmd-install/stage-hook/builtin/cmd-hook: SUCCESS: curtin command hook
--2023-10-04 23:55:47--  http://10.10.10.1:5248/MAAS/metadata/latest/by-id/ngs7qn/
Connecting to 10.10.10.1:5248... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2 [text/plain]
Saving to: ‘/dev/null’

     0K                                                       100%  228K=0s

2023-10-04 23:55:48 (228 KB/s) - ‘/dev/null’ saved [2/2]

curtin: Installation finished.
```

Hi @codingfreak,

Did the machine reboot properly? If not, this is why you see a failure

@r00ta - Well as per the logs the server failed to bootup in given time interval and deployment failed. Need to check the same manually by connecting a monitor.

Before I tried ubuntu core in the server, I successfully installed ubuntu-server on it and then released the machine wiping all the harddisks.

Sure, please check it and let me know

Hi @r00ta

I have tried deploying the ubuntucore 22 by connecting monitor to the server where download of ubuntu core image was successful.

But on reboot I am seeing following errors and as a result it is not recovering

How much ram and disk space do you have?

Hi @r00ta

This server has 128GB of RAM and 1.8TB of virtual disk in idrac6

Please find my observations below

In UEFI mode

  • Ubuntu-core installation fails with the error shown in previous reply

  • Ubuntu-server installation fails with the below error

    curtin: Installation started. (22.1-0ubuntu1~22.04.1)
    third party drivers not installed or necessary.
    start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta
    get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
    Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
    get_path_to_storage_volume for volume sda-part1({'device': 'sda', 'flag': 'boot', 'id': 'sda-part1', 'name': 'sda-part1', 'number': 1, 'offset': '4194304B', 'size': '536870912B', 'type': 'partition', 'uuid': 'a7b28849-574e-432b-beb3-d38274fc9dd6', 'wipe': 'superblock'})
    get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
    Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
    get_path_to_storage_volume for volume sda-part2({'device': 'sda', 'id': 'sda-part2', 'name': 'sda-part2', 'number': 2, 'size': '1797435424768B', 'type': 'partition', 'uuid': '6c3e53fe-c3ed-45ef-b005-a4f048a89800', 'wipe': 'superblock'})
    get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
    Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
    block-meta: extracted devices to clear: []
    Declared block devices: []
    clearing devices=[]
    blockmeta: detected storage config, using mode=custom
    start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring disk: sda
    get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
    Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
    An error occured handling 'sda': ValueError - Failed to find storage volume id='sda' config: {'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'}
    finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring disk: sda
    TIMED BLOCK_META: 0.011
    finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta
    Traceback (most recent call last):
      File "/curtin/curtin/commands/main.py", line 202, in main
        ret = args.func(args)
      File "/curtin/curtin/log.py", line 97, in wrapper
        return log_time("TIMED %s: " % msg, func, *args, **kwargs)
      File "/curtin/curtin/log.py", line 79, in log_time
        return func(*args, **kwargs)
      File "/curtin/curtin/commands/block_meta.py", line 117, in block_meta
        return meta_custom(args)
      File "/curtin/curtin/commands/block_meta.py", line 2057, in meta_custom
        handler(command, storage_config_dict, command_handlers)
      File "/curtin/curtin/commands/block_meta.py", line 638, in disk_handler
        disk = get_path_to_storage_volume(info.get('id'), storage_config)
      File "/curtin/curtin/commands/block_meta.py", line 490, in get_path_to_storage_volume
        raise ValueError("Failed to find storage volume id='%s' config: %s"
    ValueError: Failed to find storage volume id='sda' config: {'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'}
    Failed to find storage volume id='sda' config: {'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'}
    curtin: Installation failed with exception: Unexpected error while running command.
    Command: ['curtin', 'block-meta', 'custom']
    Exit code: 3
    Reason: -
    Stdout: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta
            get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
            Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
            get_path_to_storage_volume for volume sda-part1({'device': 'sda', 'flag': 'boot', 'id': 'sda-part1', 'name': 'sda-part1', 'number': 1, 'offset': '4194304B', 'size': '536870912B', 'type': 'partition', 'uuid': 'a7b28849-574e-432b-beb3-d38274fc9dd6', 'wipe': 'superblock'})
            get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
            Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
            get_path_to_storage_volume for volume sda-part2({'device': 'sda', 'id': 'sda-part2', 'name': 'sda-part2', 'number': 2, 'size': '1797435424768B', 'type': 'partition', 'uuid': '6c3e53fe-c3ed-45ef-b005-a4f048a89800', 'wipe': 'superblock'})
            get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
            Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
            block-meta: extracted devices to clear: []
            Declared block devices: []
            clearing devices=[]
            blockmeta: detected storage config, using mode=custom
            start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring disk: sda
            get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'})
            Processing serial 6842b2b00648eb002c9d7f9c081a49a8 via udev to 6842b2b00648eb002c9d7f9c081a49a8
            An error occured handling 'sda': ValueError - Failed to find storage volume id='sda' config: {'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'}
            finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring disk: sda
            TIMED BLOCK_META: 0.011
            finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta
            Traceback (most recent call last):
              File "/curtin/curtin/commands/main.py", line 202, in main
                ret = args.func(args)
              File "/curtin/curtin/log.py", line 97, in wrapper
                return log_time("TIMED %s: " % msg, func, *args, **kwargs)
              File "/curtin/curtin/log.py", line 79, in log_time
                return func(*args, **kwargs)
              File "/curtin/curtin/commands/block_meta.py", line 117, in block_meta
                return meta_custom(args)
              File "/curtin/curtin/commands/block_meta.py", line 2057, in meta_custom
                handler(command, storage_config_dict, command_handlers)
              File "/curtin/curtin/commands/block_meta.py", line 638, in disk_handler
                disk = get_path_to_storage_volume(info.get('id'), storage_config)
              File "/curtin/curtin/commands/block_meta.py", line 490, in get_path_to_storage_volume
                raise ValueError("Failed to find storage volume id='%s' config: %s"
            ValueError: Failed to find storage volume id='sda' config: {'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'}
            Failed to find storage volume id='sda' config: {'grub_device': True, 'id': 'sda', 'model': 'PERC 6/i', 'name': 'sda', 'ptable': 'gpt', 'serial': '6842b2b00648eb002c9d7f9c081a49a8', 'type': 'disk', 'wipe': 'superblock'}
            
    Stderr: ''
    

In BIOS mode,

  • Ubuntu-server installation is successful using MAAS
  • Ubuntu-core installation is not tried