Skip to content

DNM: Initial work on docker task for teuthology#558

Closed
ivotron wants to merge 1 commit into
ceph:masterfrom
ivotron:issue-11892
Closed

DNM: Initial work on docker task for teuthology#558
ivotron wants to merge 1 commit into
ceph:masterfrom
ivotron:issue-11892

Conversation

@ivotron
Copy link
Copy Markdown
Contributor

@ivotron ivotron commented Jul 1, 2015

Introduces a 'docker' task that leverages maestro-ng to deploy a docker-based ceph cluster. In a nutshell, it maps the teuthology configuration (roles and targets) to a maestro-ng configuration and passes that to maestro-ng to execute commands.

Supported maestro-ng commands are start, stop and pull. It also adds tests for this task. A new dependency is added to setup.py (maestro-ng).

Follow-up items:

  • add support for execute command. This allows other tasks (e.g. radosbench) that rely on Remote's SSH connection to be able to execute inside a container.
  • (optional) test using docker-py's API mocks. Currently, we check if there's a docker daemon running locally. If there isn't one, the test_begin doesn't execute.

@ceph-jenkins
Copy link
Copy Markdown

Can one of the admins OK this pull request so I can run a build?

@ivotron ivotron changed the title Initial work on docker task for teuthology (#11892) Initial work on docker task for teuthology Jul 1, 2015
@ivotron
Copy link
Copy Markdown
Contributor Author

ivotron commented Jul 1, 2015

@zmc
Copy link
Copy Markdown
Member

zmc commented Jul 2, 2015

ok to test

@ceph-jenkins
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1603/
Tests passed for this pull request.

@ivotron ivotron changed the title Initial work on docker task for teuthology DNM: Initial work on docker task for teuthology Jul 2, 2015
@ceph-jenkins
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1664/
Test FAILed.

@ceph-jenkins
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1677/
Test PASSed.

Task that allows to execute orchestrate docker containers from
teuthology. Supported maestro-ng commands are 'start', 'stop' and
'pull'. Tests for this task are also present. A new dependency is added
to setup.py (maestro-ng).

Besides the 'command' option, the docker task has two options that
specify what services are being operated on: 'services' and 'roles'. The
first one is used to specify services in maestro-ng's format. The latter
signals the creation of services for the entries in teuthology's 'roles'
configuration.
@ceph-jenkins
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1678/
Test PASSed.

@ceph-jenkins
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1679/
Test PASSed.

@smithfarm
Copy link
Copy Markdown
Contributor

This PR went stale, so I'll close it. Reopen if it's still relevant?

@smithfarm smithfarm closed this Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants