This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tasks:lab-extras [2017/01/24 19:59] dgalloway |
tasks:lab-extras [2021/03/20 00:15] (current) djgalloway [How-To] |
||
---|---|---|---|
Line 4: | Line 4: | ||
http://apt-mirror.front.sepia.ceph.com/lab-extras/ | http://apt-mirror.front.sepia.ceph.com/lab-extras/ | ||
- | An example of a time we'd want to use this is when a package from CentOS 7.3 has a bugfix we want to test on CentOS 7.2. The RPM can be downloaded from the CentOS 7.3 repo, placed in the CentOS 7 lab-extras repo and installed. Example: http://tracker.ceph.com/issues/18094 | + | An example of a time we'd want to use this is when a package from CentOS 7.3 has a bugfix we want to test on CentOS 7.2. The RPM can be downloaded from the CentOS 7.2 CM (testing) repo, placed in the CentOS 7 lab-extras repo and installed. Example: http://tracker.ceph.com/issues/18094 |
===== How-To ===== | ===== How-To ===== | ||
- Obtain the RPM from a trusted source | - Obtain the RPM from a trusted source | ||
- e.g., ''yum install $package %%--%%downloadonly %%--%%downloaddir=/root'' | - e.g., ''yum install $package %%--%%downloadonly %%--%%downloaddir=/root'' | ||
- | - scp the package to the appropriate dir in ''gitbuilder.ceph.com:/home/apt-mirror/mirror/lab-extras/'' | + | - ''%%rsync -azvP --rsync-path='sudo rsync' package.rpm gitbuilder.ceph.com:/home/apt-mirror/mirror/lab-extras/centos7/x86_64/%%'' |
- ''ssh gitbuilder.ceph.com'' | - ''ssh gitbuilder.ceph.com'' | ||
- ''createrepo %%--%%update /home/apt-mirror/mirror/lab-extras/centos7/'' | - ''createrepo %%--%%update /home/apt-mirror/mirror/lab-extras/centos7/'' | ||
Line 17: | Line 17: | ||
<code> | <code> | ||
+ | ## ansible-playbook thisplaybook.yml --limit="smithi*,mira*" | ||
+ | |||
- hosts: | - hosts: | ||
- testnodes | - testnodes |