this looks like at a minimum the apparmor profile needs to be updated.
This needs to be done before any other kernel work. Adding an apparmor
task


lsblk trace shows

openat(AT_FDCWD, "/sys/block/sr0/hidden", O_RDONLY|O_CLOEXEC) = -1 EACCES 
(Permission denied)
openat(AT_FDCWD, "/sys/block/sr0/dev", O_RDONLY|O_CLOEXEC) = -1 EACCES 
(Permission denied)
openat(AT_FDCWD, "/sys/block/sd0/hidden", O_RDONLY|O_CLOEXEC) = -1 EACCES 
(Permission denied)
openat(AT_FDCWD, "/sys/block/sd0/dev", O_RDONLY|O_CLOEXEC) = -1 EACCES 
(Permission denied)

which match up with the kernel denials
[   62.038879] audit: type=1400 audit(1743587089.232:161): apparmor="DENIED" 
operation="open" class="file" profile="lsblk" 
name="/sys/devices/vio/71000003/host0/target0:0:2/0:0:2:0/block/sr0/hidden" 
pid=909 comm="lsblk" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   62.039191] audit: type=1400 audit(1743587089.232:162): apparmor="DENIED" 
operation="open" class="file" profile="lsblk" 
name="/sys/devices/vio/71000003/host0/target0:0:2/0:0:2:0/block/sr0/dev" 
pid=909 comm="lsblk" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   62.048754] audit: type=1400 audit(1743587089.236:163): apparmor="DENIED" 
operation="open" class="file" profile="lsblk" 
name="/sys/devices/vio/71000003/host0/target0:0:0/0:0:0:0/block/sda/hidden" 
pid=909 comm="lsblk" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   62.048794] audit: type=1400 audit(1743587089.240:164): apparmor="DENIED" 
operation="open" class="file" profile="lsblk" 
name="/sys/devices/vio/71000003/host0/target0:0:0/0:0:0:0/block/sda/dev" 
pid=909 comm="lsblk" requested_mask="r" denied_mask="r" fsuid=0 ouid=0


** Also affects: apparmor (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/2092232

Title:
  not able to deploy Plucky Puffin

Status in MAAS:
  Invalid
Status in The Ubuntu-power-systems project:
  Confirmed
Status in apparmor package in Ubuntu:
  New
Status in linux package in Ubuntu:
  New

Bug description:
  Describe the bug:

  Deployment fails on Power9 and Power10 nodes when trying with Ubuntu
  25.04/Plucky Puffin

  
  Actual behavior (what actually happened?): 
  ```
   Thu, 19 Dec. 2024 17:38:22   Marking node failed - Node operation 
'Deploying' timed out after 30 minutes.
   Thu, 19 Dec. 2024 17:38:22   Node changed status - From 'Deploying' to 
'Failed deployment'
   Thu, 19 Dec. 2024 17:08:06   Node installation - 'cloudinit' running 
config-keys_to_console with frequency once-per-instance
   Thu, 19 Dec. 2024 17:08:06   Node installation - 'cloudinit' running 
config-power_state_change with frequency once-per-instance
   Thu, 19 Dec. 2024 17:08:06   Node installation - 'cloudinit' running 
config-install_hotplug with frequency once-per-instance
   Thu, 19 Dec. 2024 17:08:06   Node installation - 'cloudinit' running 
config-ssh_authkey_fingerprints with frequency once-per-instance
   Thu, 19 Dec. 2024 17:08:06   Node installation - 'cloudinit' running 
config-final_message with frequency always
   Thu, 19 Dec. 2024 17:08:06   Rebooting
  ```

  Looking its console, it seems deployment has finished quickly: 
  ``` 
  -----END SSH HOST KEY KEYS-----
  [   29.557514] cloud-init[755]: Cloud-init v. 24.4-0ubuntu1 finished at Thu, 
19 Dec 2024 17:10:00 +0000. Datasource DataSourceNone.  Up 29.55 seconds
  [   29.557942] cloud-init[755]: 2024-12-19 17:10:00,978 - 
cc_final_message.py[WARNING]: Used fallback datasource
  ...

  [   29.563198] cloud-init[755]: +----[SHA256]-----+

  Ubuntu Plucky Puffin (development branch) ubuntu hvc0

  ubuntu login: 
  ubuntu login: 
  ```
  but either way MAAS deployment fails.

  MAAS version: 3.5.2

  
  Additional context:
  a) I'm able to deploy the same system, via MAAS, when trying with 
Jammy/Noble/Oracular  
  b) Also able to deploy with Plucky Puffin .ISO image (also on the same system 
- P10rain-LPAR09).

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/2092232/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to