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

DNM: Initial work on docker task for teuthology #558

Closed
wants to merge 1 commit into from

Conversation

ivotron
Copy link
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

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
Contributor Author

ivotron commented Jul 1, 2015

@zmc
Copy link
Member

zmc commented Jul 2, 2015

ok to test

@ceph-jenkins
Copy link

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

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

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

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

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
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