ceph-ansible epel repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've configured the all.yml like this:

grep -v "^#\|^$"  ceph/ceph-ansible-playbooks/ceph-ansible-stable-4.0/group_vars/all.yml
---
dummy:
  nautilus: 14
cluster: ceph
mon_group_name: mons
osd_group_name: osds
mgr_group_name: mgrs
configure_firewall: False
centos_package_dependencies:
  - epel-release
  - libselinux-python
ceph_origin: repository
ceph_repository: community
ceph_mirror: http://hk-repo-2001/repo/ceph/
ceph_stable_key: http://hk-repo-2001/repo/ceph/release.asc
ceph_stable_release: nautilus
ceph_stable_redhat_distro: el7
monitor_interface: bond0
ip_version: ipv4
public_network: 10.121.58.0/24
cluster_network: 192.168.58.0/24
osd_objectstore: bluestore
dashboard_enabled: False

I'd like to install from our repo server, but when it wants to install at this step it complains about can't reach the epel repository:

TASK [ceph-common : install redhat ceph packages] ********************************************************************************************************
FAILED - RETRYING: install redhat ceph packages (3 retries left).
FAILED - RETRYING: install redhat ceph packages (3 retries left).
FAILED - RETRYING: install redhat ceph packages (3 retries left).
FAILED - RETRYING: install redhat ceph packages (2 retries left).
FAILED - RETRYING: install redhat ceph packages (2 retries left).
FAILED - RETRYING: install redhat ceph packages (2 retries left).
FAILED - RETRYING: install redhat ceph packages (1 retries left).
FAILED - RETRYING: install redhat ceph packages (1 retries left).
FAILED - RETRYING: install redhat ceph packages (1 retries left).
fatal: [hk-ceph-2c09]: FAILED! => {"attempts": 3, "changed": false, "msg": "Failure talking to yum: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again"}
fatal: [hk-ceph-2c08]: FAILED! => {"attempts": 3, "changed": false, "msg": "Failure talking to yum: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again"}
fatal: [hk-ceph-2c10]: FAILED! => {"attempts": 3, "changed": false, "msg": "Failure talking to yum: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again"}
FAILED - RETRYING: install redhat ceph packages (3 retries left).
FAILED - RETRYING: install redhat ceph packages (3 retries left).
FAILED - RETRYING: install redhat ceph packages (2 retries left).
FAILED - RETRYING: install redhat ceph packages (3 retries left).
FAILED - RETRYING: install redhat ceph packages (3 retries left).
FAILED - RETRYING: install redhat ceph packages (1 retries left).
FAILED - RETRYING: install redhat ceph packages (2 retries left).
fatal: [hk-ceph-2c07]: FAILED! => {"attempts": 3, "changed": false, "msg": "Failure talking to yum: failure: repodata/repomd.xml from epel: [Errno 256] No more mirrors to try.\nhttp://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed to connect to 2620:52:3:1:dead:beef:cafe:fed7: Network is unreachable\"\nhttp://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed to connect to 2620:52:3:1:dead:beef:cafe:fed7: Network is unreachable\"\nhttp://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed to connect to 2620:52:3:1:dead:beef:cafe:fed7: Network is unreachable\"\nhttp://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed to connect to 2620:52:3:1:dead:beef:cafe:fed7: Network is unreachable\"\nhttp://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed to connect to 2620:
 52:3:1:dead:beef:cafe:fed7: Network is unreachable\"\nhttp://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed to connect to 2620:52:3:1:dead:beef:cafe:fed7: Network is unreachable\"\nhttp://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed to connect to 2620:52:3:1:dead:beef:cafe:fed7: Network is unreachable\"\nhttp://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed to connect to 2620:52:3:1:dead:beef:cafe:fed6: Network is unreachable\"\nhttp://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed to connect to 2620:52:3:1:dead:beef:cafe:fed6: Network is unreachable\"\nhttp://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed to connect to 2620:52:3:1:dead:beef:cafe:fed6: Network is unreachable\""}
FAILED - RETRYING: install redhat ceph packages (2 retries left).
FAILED - RETRYING: install redhat ceph packages (2 retries left).
FAILED - RETRYING: install redhat ceph packages (1 retries left).
FAILED - RETRYING: install redhat ceph packages (1 retries left).
FAILED - RETRYING: install redhat ceph packages (1 retries left).

I've tried to change on the hk-ceph-2c07 in the epel.repo file uncomment baseurl and comment out metalink, cleaned yum ... but nothing helped, I guess something is wrong with my internal link.
When I try to install something from epel repo on the server, I can, but via ansible I can't.
I'd like to deploy ceph with ansible user, the rights are correct.
Here is the hosts file for the playbook:

[all:vars]
ansible_ssh_user=ansible
ansible_become=true
ansible_become_method=sudo
ansible_become_user=root

[mons]
hk-cephm-2007
hk-cephm-2008
hk-cephm-2009

[mgrs]
hk-cephm-2007
hk-cephm-2008
hk-cephm-2009

[osds]
hk-ceph-2c07
hk-ceph-2c08
hk-ceph-2c09
hk-ceph-2c10

Why is the repo error or network unreachable?

Thank you

________________________________
This message is confidential and is for the sole use of the intended recipient(s). It may also be privileged or otherwise protected by copyright or other legal rules. If you have received it by mistake please let us know by reply email and delete it from your system. It is prohibited to copy this message or disclose its content to anyone. Any confidentiality or privilege is not waived or lost by any mistaken delivery or unauthorized disclosure of the message. All messages sent to and from Agoda may be monitored to ensure compliance with company policies, to protect the company's interests and to remove potential malware. Electronic messages may be intercepted, amended, lost or deleted, or contain viruses.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux