Skip to content

cephadm: call podman rm --storage - #35524

Merged
tchaikov merged 1 commit into
ceph:masterfrom
sebastian-philipp:cephadm-rm-container-storage
Jun 16, 2020
Merged

tchaikov merged 1 commit into
ceph:masterfrom
sebastian-philipp:cephadm-rm-container-storage

Conversation

@sebastian-philipp

Copy link
Copy Markdown
Contributor

Signed-off-by: Sebastian Wagner [email protected]

This should fix

systemd[1]: [email protected] holdoff time over, scheduling restart.
systemd[1]: Stopped Ceph mon.b for 36889d04-a982-11ea-a06d-001a4aab830c.
systemd[1]: Starting Ceph mon.b for 36889d04-a982-11ea-a06d-001a4aab830c...
podman[9425]: Error: no container with name or ID ceph-36889d04-a982-11ea-a06d-001a4aab830c-mon.b found: no such container
systemd[1]: Started Ceph mon.b for 36889d04-a982-11ea-a06d-001a4aab830c.
bash[9449]: Error: no container with name or ID ceph-36889d04-a982-11ea-a06d-001a4aab830c-mon.b found: no such container
bash[9449]: Error: error creating container storage: the container name "ceph-36889d04-a982-11ea-a06d-001a4aab830c-mon.b" is already in use by "f265ae83cb9ed32b7ed6fd6e62a2e764549
systemd[1]: [email protected]: main process exited, code=exited, status=125/n/a
podman[9489]: Error: no container with name or ID ceph-36889d04-a982-11ea-a06d-001a4aab830c-mon.b found: no such container
systemd[1]: Unit [email protected] entered failed state.
systemd[1]: [email protected] failed.

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard backend
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@mgfritch mgfritch left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

err but this is podman only, the --storage option does not exist for docker ....

https://docs.docker.com/engine/reference/commandline/rm/

@sebastian-philipp

Copy link
Copy Markdown
Contributor Author

err but this is podman only, the --storage option does not exist for docker ....

https://docs.docker.com/engine/reference/commandline/rm/

yes, that's why I've added if 'podman' in container_path:

@sebastian-philipp

Copy link
Copy Markdown
Contributor Author

getting increasingly unhappy with this approach, but I'd like to move forward with those QA failures.

@mgfritch

mgfritch commented Jun 10, 2020 •

Copy link
Copy Markdown
Contributor

err but this is podman only, the --storage option does not exist for docker ....
https://docs.docker.com/engine/reference/commandline/rm/

yes, that's why I've added if 'podman' in container_path:

oops, I missed that. still somewhat curious the force -f option didn't cover that case...

getting increasingly unhappy with this approach, but I'd like to move forward with those QA failures.

maybe we should try upgrading the test harness to eliminate any podman bugs as suggested by @tchaikov (#35018 (comment)) ?

@sebastian-philipp

Copy link
Copy Markdown
Contributor Author

`cephadm:2218: error: Type signature has too few arguments

Signed-off-by: Sebastian Wagner <[email protected]>
@sebastian-philipp
sebastian-philipp force-pushed the cephadm-rm-container-storage branch from de26d64 to decfbca Compare June 15, 2020 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants