Skip to content

[DD-13627] Upgrade Portainer to work with Mesos 1.1.0 - #53

Open
ekkoshell wants to merge 35 commits into
masterfrom
upgrade/mesos-1.1.0
Open

[DD-13627] Upgrade Portainer to work with Mesos 1.1.0#53
ekkoshell wants to merge 35 commits into
masterfrom
upgrade/mesos-1.1.0

Conversation

@ekkoshell

@ekkoshell ekkoshell commented Feb 16, 2017

Copy link
Copy Markdown

JIRA: https://duedil.atlassian.net/browse/DD-13627

This updates Portainer to work with Mesos 1.1.0, and incorporates a couple of minor improvements (such as #10).

The main changes: the pesos python library has been removed in favour of pymesos, which uses the HTTP API used by Mesos from version 0.28.0 onwards. The changes here are mostly trivial (API calls take dictionaries rather than Mesos protobuf structures, changes in terminology from 'slave' to 'agent').

As part of the upgrade, PEX has also been upgraded, and the VM installation has been tweaked to install Docker registry 2 and Docker 1.10.3 (as per production), as well as now being based upon Debian 8. The memory allocated to the VM has also been increased, as portainer builds were causing the Mesos Master process in the VM to be terminated with the original 1024MB.

Oli Hall added 30 commits January 19, 2017 15:56
docker version downloaded by get-docker was incompatible with the
version of debian used previously, so docker daemon was unable to start.
Previously installed latest, which is too large a jump to be useful
Ensures mesos logs have sensible timestamps
Old pex was having issues with some of its dependencies. This should be
safer going forward.
All build options have changed. Also appeared that wheelhouse dir was
not being created as it should.
local user does not have permissions on cluster on VM to launch
framework.
This allows the framework to be launched with the local user, rather
than root.
Oli Hall added 2 commits February 16, 2017 14:43
build-executor was the same name as the build-executor script which
built the executor. This runs the executor, so run- is a more accurate
prefix.
@ekkoshell ekkoshell changed the title Upgrade Portainer to work with Mesos 1.1.0 [DD-13627] Upgrade Portainer to work with Mesos 1.1.0 Feb 16, 2017
@ekkoshell ekkoshell changed the title [DD-13627] Upgrade Portainer to work with Mesos 1.1.0 Upgrade Portainer to work with Mesos 1.1.0 Feb 20, 2017
Comment thread portainer/app/build.py Outdated
@@ -1,16 +1,18 @@
"""The entrypoint to the portainer app. Spins up the a schedular instance and
"""The entrypoint to the portainer app. Spins up the a scheduler instance and

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

the a scheduler

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Sure, I may as well correct someone else's grammar while I'm at it :P

@nk412

nk412 commented Feb 28, 2017

Copy link
Copy Markdown

LGTM! :shipit:

@nk412 nk412 changed the title Upgrade Portainer to work with Mesos 1.1.0 [DD-13627] Upgrade Portainer to work with Mesos 1.1.0 Feb 28, 2017
@tarnfeld

Copy link
Copy Markdown
Contributor

Nice! Get's my vote.

🙌

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.

3 participants