Comment 0 for bug 1695665

Revision history for this message
chhandak (chhandak) wrote :

While installing Build 18 on Centos Base OS. (7.2) with Ubuntu 14.04 container hitting below issue.
I am using tgz package provided. Have not seen this issue on Ubuntu 16.04 Base OS with Ubuntu16.4 container.

Need some urgent help. This is the same Customer SDS going to try

TASK [node : Install kernel crashdump] *****************************************
skipping: [10.87.121.34]
fatal: [10.87.121.35]: FAILED! => {"changed": false, "failed": true, "msg": "No package matching 'linux-crashdump' found available, installed or updated", "r
c": 126, "results": ["No package matching 'linux-crashdump' found available, installed or updated"]}
fatal: [10.87.121.36]: FAILED! => {"changed": false, "failed": true, "msg": "No package matching 'linux-crashdump' found available, installed or updated", "r
c": 126, "results": ["No package matching 'linux-crashdump' found available, installed or updated”]}

From Agent.yaml
----------------
- name: Install kernel crashdump
  package: name=linux-crashdump state=present

- name: Update the grub configuration for ubuntu 16.04
  shell: 'sudo sed -i "s/crashkernel=.*\([ | \"]\)/crashkernel=384M-2G:64M,2G-16G:128M,16G-:256M\1/g" /etc/default/grub.d/kexec-tools.cfg; sudo update-grub'
  when:
    - ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
    - ansible_distribution_version == '16.04'

- name: Update the grub configuration for ubuntu 14.04
  shell: 'sudo sed -i "s/crashkernel=.*\([ | \"]\)/crashkernel=384M-2G:64M,2G-16G:128M,16G-:256M\1/g" /etc/default/grub.d/kexec-tools.cfg; [ -f /etc/default/kdump-tools ] && sudo sed -i "s/USE_KDUMP=0/USE_KDUMP=1/" /etc/default/kdump-tools; sudo update-grub'
  when:
    - ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
    - ansible_distribution_version == '14.04'