ceph/ceph-ansible

unable install ceph on ubuntu 20.04 (Focal)

farshadasadpour opened this issue · 4 comments

Bug Report

What happened:
I followed a tutorial to setup a cluster for ceph, but the installation failed with the following error message

TASK [ceph-common : configure debian ceph stable community repository] ***************************************************************************************************
Saturday 18 February 2023  13:31:30 +0000 (0:00:01.178)       0:00:32.668 *****
fatal: [ceph01]: FAILED! => changed=false
  msg: 'Failed to update apt cache: E:The repository ''https://download.ceph.com/debian-pacific focal Release'' does not have a Release file.'
fatal: [ceph03]: FAILED! => changed=false
  msg: 'Failed to update apt cache: E:The repository ''https://download.ceph.com/debian-pacific focal Release'' does not have a Release file.'
fatal: [ceph02]: FAILED! => changed=false
  msg: 'Failed to update apt cache: E:The repository ''https://download.ceph.com/debian-pacific focal Release'' does not have a Release file.'

What you expected to happen:
All steps should have finished with status "OK".


all.yml

dummy:
ceph_origin: repository
ceph_repository: community
ceph_stable_release: pacific
monitor_interface: ens33
public_network: 192.168.80.0/24
cluster_network: 192.168.80.0/24
osd_mkfs_type: xfs
dashboard_enabled: True
dashboard_protocol: http
dashboard_port: 8443
dashboard_admin_user: admin
dashboard_admin_password: admin@admin123
grafana_admin_user: admin
grafana_admin_password: admin@admin123

osds.yml

dummy:

devices:
  - /dev/sdb
  - /dev/sdc
  - /dev/sdd
osd_auto_discovery: false

inventory

[mons]
ceph01
ceph02
ceph03

[osds]
ceph01
ceph02
ceph03

[grafana-server]
ceph02

/etc/hosts

192.168.80.147 ceph01
192.168.80.146 ceph02
192.168.80.145 ceph03

Environment:

  • OS (e.g. from /etc/os-release): Ubuntu 20.04.5 LTS
  • Kernel (e.g. uname -a): Linux 5.4.0-100-generic
  • Docker version if applicable (e.g. docker version): -
  • Ansible version (e.g. ansible-playbook --version) : ansible-playbook 2.10.17
  • ceph-ansible version (e.g. git head or tag or stable branch):: pacific stable-6.0
  • Ceph version (e.g. ceph -v):

@farshadasadpour Have you tried to run sudo apt update on all the hosts? As you can see the Release file is available for focal https://download.ceph.com/debian-pacific/dists/focal/

asm0deuz
Yes , before started palybook, I have done update and upgrade all hosts

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.