Commit Graph

22 Commits

Author SHA1 Message Date
Michael Fritch
5cb5e77f50
ceph-daemon: add osd create test(s)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-11-18 22:30:22 -07:00
Sage Weil
c7fe27a72a ceph-daemon: default output file names
- These are reasonable names that a user would probably want
- If they run bootstrap in /etc/ceph then they are already installed in
  the right location
- This means that the bootstrap command has only 1 (!) required argument
  (--mon-ip or equivalent)

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-17 17:50:13 -06:00
Sage Weil
c35b2c3a20 Merge PR #31501 into master
* refs/pull/31501/head:
	ceph-mon: bind to public_addrv if set (before public_addr or public_network)
	common/options: add public_addrv
	common/options: fix ADDRVEC parsing
	ceph-daemon: support --mon-addrv for deploy subcommand

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-11 18:09:29 -06:00
Sage Weil
9f0a4e74e6 ceph-daemon: ceph/daemon-base:latest-master-devel
The -devel one rebuilds daily, while latest-master rebuilds when
ceph-container.git changes.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-09 08:01:37 -06:00
Sage Weil
5fc6d191bf ceph-daemon: support --mon-addrv for deploy subcommand
This maps directly to the public_addrv option.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-08 16:22:11 -06:00
Thomas Bechtold
4258c4772a ceph-daemon: Move ceph-daemon executable to own directory
Moving ceph-daemon into src/ceph-daemon/ makes it simpler to add extra
code (eg. tox.ini, README, unittests, ...) specific to ceph-daemon.
That way related files are in a single directory.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
2019-11-08 17:05:57 +01:00
Sage Weil
d98714cde3 ceph-daemon: switch default image
Use this until octopus is ready.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-07 07:25:48 -06:00
Sage Weil
df40a49eb8 ceph-daemon: use client.admin keyring during bootstrap
It's usually okay to use the mon. key for CLI commands, except we had a
mgr but that prevented you from issuing mgr commands correctly.  We have
the new client.admin key available, so use that instead.

Update tests to not --skip-ssh (now that it doesn't hang).

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-30 14:07:52 -05:00
Sage Weil
12c08ec319 test_ceph_daemon.sh: use same fsid as qa/standalone/test_ceph_daemon.sh
That way these scripts both clean up for each other (and are obviously
bogus clusters).

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-24 21:27:36 -05:00
Sage Weil
4005eddca0 test_ceph_daemon.sh: use other latest-master image
This one is newer?

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-24 21:26:21 -05:00
Sage Weil
a779cb8fd0 test_ceph_daemon.sh: use newer image
Not sure what the difference between latest-master and latest-master-devel
is, but the -devel image is way out of date.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-23 14:45:34 -05:00
Sage Weil
ee3fe37158 ceph-daemon: cleanly capture stdout, err; log
- New Popen wrapper that grabs stdout, stderr, and return code.  This is
adapted from ceph-volume's process.py helper(s).

- Optionally log output to logger

- By default, be more verbose if the command fails.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-21 10:43:48 -05:00
Sage Weil
1318e668d0 test_ceph_daemon: default to test on 127.0.0.1; accept ip as arg
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-21 10:42:13 -05:00
Sage Weil
529b43a3da test_ceph_daemon.sh: skip ssh until container image has remoto
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-05 14:28:50 -05:00
Sage Weil
2ba80e73cb test_ceph_daemon: specify image name
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-04 20:33:35 -05:00
Sage Weil
9a50a2628c test_ceph_daemon.sh: test deploy mds too
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-02 07:11:12 -05:00
Sage Weil
4d79b53bee ceph-daemon: --config, not --conf
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-02 07:11:12 -05:00
Sage Weil
c2b458700a ceph-daemon: add --config to bootstrap
Settle on --config|-c too, not --conf.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-02 07:11:12 -05:00
Sage Weil
e40fb1a787 ceph-daemon: add mons with 'deploy mon.x ...'
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-02 07:11:12 -05:00
Sage Weil
16ebc62034 ceph-daemon: rm-{daemon,cluster}
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-02 07:11:12 -05:00
Sage Weil
458d76fe28 ceph-daemon: add ceph.target and ceph-$fsid.target units
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-02 07:11:12 -05:00
Sage Weil
f486e4e416 test_ceph_daemon.sh: stupid test script
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-02 07:11:12 -05:00