Skip to content

Career condition in OneKE #113

@alvarocurt

Description

@alvarocurt

Description

Rare issue, but some oneKE deployments concur in this issue

TASK [Install Python and pip] **************************************************
Wednesday 19 March 2025  11:14:31 +0000 (0:00:00.077)       0:08:01.400 ******* 
fatal: [master_0]: FAILED! => changed=false 
  cache_update_time: 1742382873
  cache_updated: ****
  msg: |-
    '/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold"       install 'python3-pip=22.0.2+dfsg-1ubuntu0.5'' failed: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 7514 (unattended-upgr)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
  rc: 100
  stderr: |-
    E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 7514 (unattended-upgr)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

# Possible fix
Either edit the Master VM template to download the packages from the START_SCRIPT, or make deployment first verify if dpkg is locked

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions