Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scylla_install_image:remove /var/cache/debconf/config.dat after image creation #466

Merged
merged 1 commit into from
Jul 16, 2023

Commits on Jul 16, 2023

  1. scylla_install_image:remove /var/cache/debconf/config.dat after image…

    … creation
    
    during our rolling-upgrade process we keep getting the following
    failure:
    ```
    Command: 'sudo DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -o Dpkg::Options::="--force-confdef" upgrade -y '
    Exit code: 100
    Stdout:
    linux-aws linux-headers-aws linux-image-aws
    0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up shim-signed (1.40.9+15.7-0ubuntu1) ...
    mount: /var/lib/grub/esp: special device /dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_vol0b2a94761ddb1d0c5-part15 does not exist.
    dpkg: error processing package shim-signed (--configure):
    installed shim-signed package post-installation script subprocess returned error exit status 32
    Errors were encountered while processing:
    shim-signed
    Stderr:
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ```
    
    Happend for all images
    
    As suggested by @syuu1228, let's remove `config.dat` once we complete
    the image creation
    
    Closes: scylladb/scylla-enterprise#2818
    yaronkaikov committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    48797dd View commit details
    Browse the repository at this point in the history