Remove trailing spaces and use "#pragma once" rather than "#ifndef" to
assure a header files is only loaded once during compilation.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
rgw: preserve RGWZoneGroup::master_zone on last zone deletion
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-By: Adam C. Emerson <aemerson@redhat.com>
Move more files into driver/rados for better above- vs below-
the-line. Use #pragma once everywhere (versus fixing all the
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
mgr/cephadm: support for extra entrypoint args
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
We need to convert the daemon type to service type here
or we'll try to access the "haproxy" or "keepalived" index
of the cephadm_services dictionary, which doesn't have those
keys (but does have an "ingress" key)
Fixes: https://tracker.ceph.com/issues/58537
Signed-off-by: Adam King <adking@redhat.com>
mgr/nfs: use object_format decorators to simplify response handling
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
orchestrator: improvements to the orch host ls command
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Refine English sentences in doc/install/index.rst. Remove adverbial
phrases of time that refer to Nautilus-era features as "new", since that
was four years ago.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
To allow users to customize the file if they need to
akter the settings (e.g. to change the rotation interval
or rotate based on size)
Fixes: https://tracker.ceph.com/issues/58527
Signed-off-by: Adam King <adking@redhat.com>
A lot of people aren't aware of automatic lock transitions and
wrongfully assume that exclusive lock means that the image remains
locked for as long as the client is running. Redo the explanation
and add a warning.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Remove dependency on `libneorados_cls_fifo` removed in commit
`bf222906b01cbb9e8d55ae4685004a22cddcc138`.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
- rename function `log_out` to `log` to prevent mental confusion with
'logging out' of the shell, vs sending a log message.
- Centralize error checking to provide more consistent output and ease
of error check implementation
- Add check that supplied pool name(s) exist.
- Relocate the awk script creation to just before it's needed.
- Provide usage help for specifying multiple pools on the command line
- Add hostname to log output lines.
- add checks to ensure intermediate files are not empty before
attempting comparison.
- switch to getopt to allow more option flexibility, removing
dependency on positional arguments which could cause parsing / user
confusion.
This is a **BREAKING change** due to change in command line syntax.
- add option for temp directory specification on the command line.
- set -m option to be presence based, vs needing 0|1 param
- fix typo in usage
Signed-off-by: Michael J. Kidd <linuxkidd@gmail.com>
We have to iterate in chunks otherwise the get_omap_vals API returns
partial results even if the max count is large.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>