Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacific: cephadm: Batch backport March (1) #39807

Conversation

sebastian-philipp
Copy link
Contributor

@sebastian-philipp sebastian-philipp commented Mar 3, 2021

Backport of #39495, #39630, #39536, #39537, #39415, #39421, #39420, #39474, #39562, #39613, #39649, #39614, #39551, #39644, #39714, #39648, #39733, #39760, #39744, #39612, #39352, #38915, #39722, #38995, #39739, #39730, #39770

Conflicts:
src/pybind/mgr/rook/module.py
doc/cephadm/index.rst

Added two missing commits from #39504

@liewegas
Copy link
Member

liewegas commented Mar 3, 2021

jenkins test docs

@sebastian-philipp
Copy link
Contributor Author

sebastian-philipp commented Mar 3, 2021

Exception occurred:
  File "/home/jenkins-build/build/workspace/ceph-pr-docs/src/pybind/mgr/rook/__init__.py", line 2, in <module>
    from .module import RookOrchestrator
  File "/home/jenkins-build/build/workspace/ceph-pr-docs/src/pybind/mgr/rook/module.py", line 163
    @handle_orch_error
    ^
Indentatio
-m volumes
rook/__init__.py:2: note: In module imported here:
rook/module.py:163: error: invalid syntax
Found 1 error in 1 file (checked 14 source files)
ERROR: InvocationError for command /home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/.tox/mypy/bin/mypy --config-file=../../mypy.ini -m cephadm -m dashboard -m mds_autoscaler -m mgr_module -m mgr_util -m mirroring -m orchestrator -m progress -m prometheus -m rook -m snap_schedule -m stats -m test_orchestrator -m volumes (exited with code 2)

@sebastian-philipp sebastian-philipp force-pushed the pacific-backport-39495-39630-39536-39537-39415-39421-39420-39474-39562-39613- branch from 4bce63f to 23fdd41 Compare March 4, 2021 10:36
Copy link
Member

@jmolmo jmolmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me seems to be ok the list of changes and changes to backport.
Once solved the build problems for the code and for docs is OK to merge in pacific.

@sebastian-philipp
Copy link
Contributor Author

rook/__init__.py:2: note: In module imported here:
rook/module.py: note: In member "remove_service" of class "RookOrchestrator":
rook/module.py:392: error: Missing return statement
rook/module.py: note: In member "apply_mds" of class "RookOrchestrator":
rook/module.py:412: error: "apply_filesystem" of "RookCluster" does not return a value
rook/module.py: note: In member "apply_nfs" of class "RookOrchestrator":
rook/module.py:422: error: "apply_nfsgw" of "RookCluster" does not return a value
Found 3 errors in 1 file (checked 15 source files)
ERROR: InvocationError for command /home/jenkins-build/build/workspace/ceph-

@sebastian-philipp sebastian-philipp force-pushed the pacific-backport-39495-39630-39536-39537-39415-39421-39420-39474-39562-39613- branch from 23fdd41 to 904a3c6 Compare March 4, 2021 14:48
@smithfarm smithfarm modified the milestones: octopus, pacific Mar 7, 2021
@sebastian-philipp
Copy link
Contributor Author

failed:

2021-03-05T12:39:06.965 INFO:tasks.workunit.client.0.smithi075.stdout:Mar 05 12:38:58 smithi075 bash[42834]: Error: error parsing host port: invalid port number: strconv.Atoi: parsing " 9093": invalid syntax

@sebastian-philipp
Copy link
Contributor Author

changelog: added #39822

sebastian-philipp and others added 22 commits March 9, 2021 15:29
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit e4d7d76)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit b6c770a)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 68030be)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 42d5c89)

Conflicts:
	src/pybind/mgr/rook/module.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 1ecb93a)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 1d40632)
Fixes: f69abe6
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit bca36ab)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit b92dc71)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 828992d)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit d529f1d)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit a455dff)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 0f22f24)
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 674912b)
Fixes: https://tracker.ceph.com/issues/49506

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit 8f0dae0)
Fixes: https://tracker.ceph.com/issues/49506

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit 3c222a8)
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit 0d55626)
```
ERROR: ERROR: No time synchronization is active
```

Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit ace5d41)
This reverts commit 9200b1e, reversing
changes made to e42bbba.

For running tests to narrow down the root cause of:
https://tracker.ceph.com/issues/49237

Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit a16e46e)
If we are in a container, then we do not have a unique pid, and need to
use a random nonce.  We normally detect this if our pid is 1, but that
doesn't work when we have a init process--we'll (probably?) have a small
pid (in my tests, the OSDs were getting pid 7).

To be safe, also check for an environment variable set by cephadm.

This avoids problems that arise when we don't have a unique address.

Fixes: https://tracker.ceph.com/issues/49534
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit d18f608)
This ensures that daemon messenger nonces don't collide by using PIDs that are
no longer unique for the IP address.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 576823b)
On some versions of podman doing

   --default-log-stderr-prefix="debug "

seems to work okay, but on others it does not, producing lines like

   /usr/bin/ceph-mon: "debug "2021-02-26T15:30:36.266+0000 7f3d8a955700  4 rocksdb:                    Options.db_write_buffer_size: 0

Quote things properly for the unit.run bash script.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 3ea514c)
introduced by usage of `shlex` in 3ea514c

Fixes: https://tracker.ceph.com/issues/49590
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 1474477)
@sebastian-philipp sebastian-philipp force-pushed the pacific-backport-39495-39630-39536-39537-39415-39421-39420-39474-39562-39613- branch from b66e292 to 732027a Compare March 9, 2021 14:30
@sebastian-philipp
Copy link
Contributor Author

changelog:

Drop Revert "qa/suites/rados/cephadm: drop 20.04 podman" from this PR

@sebastian-philipp
Copy link
Contributor Author

next issue: https://paste.opensuse.org/62480748

@sebastian-philipp
Copy link
Contributor Author

jenkins test make check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants