Actions
Feature #8871
closedmodify ceph-deploy to only install repo file and not install packages
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
As a user, I want to update my repo files but not automatically install the packages.
Proposal: Add a switch to the install verb of ceph-deploy (--repo-only) which only installs a new repo file but does not automatically trigger an apt-get or yum upgrade
Updated by Alfredo Deza over 9 years ago
- Status changed from 12 to In Progress
There are a few things that happen usually when installing a remote repo file in ceph-deploy:
- GPG file gets imported
- aptitude gets updated (otherwise it doesn't "see" the new packages)
Are we OK with those things happening? I am guessing this would be OK (otherwise it would be too many configurable flags)
Updated by Alfredo Deza over 9 years ago
- Status changed from In Progress to 12
Some progress, I made this a subcommand as it would look cleaner when specifying what repo should be installed from cephdeploy.conf. This is how
the output looks:
ceph-deploy install repo --release foo node2 [ceph_deploy.conf][DEBUG ] found configuration file at: /Users/alfredo/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.9): /Users/alfredo/.virtualenvs/ceph-deploy/bin/ceph-deploy install repo --release foo node2 [ceph_deploy.install][DEBUG ] Detecting platform for host node2 ... [node2][DEBUG ] connected to host: node2 [node2][DEBUG ] detect platform information from remote host [node2][DEBUG ] detect machine type [ceph_deploy.install][INFO ] Distro info: CentOS 6.4 Final [ceph_deploy.install][INFO ] will use repository from conf: foo [node2][INFO ] adding custom repository file [node2][INFO ] Running command: sudo yum clean all [node2][DEBUG ] Loaded plugins: fastestmirror, priorities [node2][DEBUG ] Cleaning repos: Ceph Ceph-noarch base calamari ceph-source ceph_deploy epel [node2][DEBUG ] : extras updates [node2][DEBUG ] Cleaning up Everything [node2][DEBUG ] Cleaning up list of fastest mirrors [node2][INFO ] Running command: sudo rpm --import https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc [node2][DEBUG ] set the contents of repo file to /etc/yum.repos.d/ (ceph-deploy)papaya ~/tmp/foo ? ssh node2 cat /etc/yum.repos.d/foo.repo [foo] name=foo repo baseurl=http://ceph.com/debian-emperor enabled=1 gpgcheck=1 type=repo-md gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc%
Updated by Alfredo Deza over 9 years ago
- Status changed from 12 to Fix Under Review
Pull Request opened https://github.com/ceph/ceph-deploy/pull/222
Updated by Alfredo Deza over 9 years ago
- Status changed from Fix Under Review to Resolved
closed this in master with 68f6a6e
Actions