siderolabs / extensions

Talos Linux System Extensions
Mozilla Public License 2.0
116 stars 117 forks source link

Error validating extension "iscsi-tools" #92

Closed ZCube closed 1 year ago

ZCube commented 1 year ago

There is a problem installing the iscsi-tools extension.

Upgrade command

talosctl --talosconfig=./clusterconfig/talosconfig upgrade --nodes 192.168.x.x -p -i ghcr.io/siderolabs/installer:v1.2.7

Extension config

...
  install:
    disk: /dev/sda
    image: ghcr.io/siderolabs/installer:v1.2.7
    extensions:
      - image: ghcr.io/siderolabs/iscsi-tools:v0.1.2
    bootloader: true
    wipe: false
...

Error Messages

[  163.035975] 2022/12/03 08:15:14 discovered system extensions:
[  163.036500] 2022/12/03 08:15:14 NAME          VERSION   AUTHOR
[  163.036850] 2022/12/03 08:15:14 iscsi-tools   v0.1.2    Sidero Labs
[  163.037221] 2022/12/03 08:15:14 validating system extensions
[  163.037569] Error: error validating extension "iscsi-tools": path "/etc/logrotate.d/iscsiuiolog" is not allowed in extensions
[  163.038296] Usage:
[  163.038433]   installer install [flags]
[  163.038675] 
[  163.038775] Flags:
[  163.038911]   -h, --help   help for install
[  163.039179] 
[  163.039279] Global Flags:
[  163.039451]       --arch string                    The target architecture (default "amd64")
[  163.039962]       --board string                   The value of talos.board (default "none")
[  163.040456]       --bootloader                     Install a booloader to the specified disk (default true)
[  163.041022]       --config string                  The value of talos.config
[  163.041435]       --disk string                    The path to the disk to install to
[  163.041898]       --extra-kernel-arg stringArray   Extra argument to pass to the kernel
[  163.042378]       --force                          Indicates that the install should forcefully format the partition
[  163.042986]       --platform string                The value of talos.platform
[  163.043415]       --upgrade                        Indicates that the install is being performed by an upgrade
[  163.043984]       --zero                           Indicates that the install should write zeros to the disk before installing
[  163.044631] 
[  163.044791] error validating extension "iscsi-tools": path "/etc/logrotate.d/iscsiuiolog" is not allowed in extensions
smira commented 1 year ago

@frezbo looks like we have some extra files in the package we need to clean?

frezbo commented 1 year ago

yeh, seems to have happened after bumping the iscsi version

ZCube commented 1 year ago

Thanks