{"action":"created","comment":{"url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/comments/67879753","id":67879753,"diff_hunk":"@@ -0,0 +1,60 @@\n+---\n+layout: bt_wiki\n+title: Maintenance Mode\n+category: Manager\n+draft: false\n+weight: 900\n+\n+---\n+\n+## Overview\n+\n+Maintenance-Mode is a state in which the Cloudify Manager rejects all requests, and doesn't perform any action (exceptions are detailed [here](#activated)).\n+This mode is useful when it is necessary for the Manager to remain in the exact same state for a certain period of time, such as during the ‘Manager Upgrade' process.\n+\n+{{% gsNote title=\"Entering Maintenance-Mode\" %}}\n+Maintenance-Mode will not be activated while there are active executions (running, pending, cancelling etc.) in the background. If an attempt to activate Maintenance-Mode\n+is made while there are active executions, the Cloudify Manager will enter the 'activating' state (as detailed below).\n+{{% /gsNote %}}\n+\n+## States of Maintenance\n+\n+The Cloudify Manager has three possible maintenance states: activated, activating, and deactivated.\n+In order to see the current maintenance state of the Manager, run `cfy maintenance-mode status`. The state will also be shown when running `cfy status` (providing that it is not deactivated).\n+\n+### Activated\n+The Cloudify Manager is under maintenance. It ignores all requests except for `cfy status`, `cfy --version` and sub-commands of `cfy maintenance-mode`.\n+The Manager will not enter this state while there are active executions (running, pending, cancelling etc.) in the background, instead, it will enter the 'activating' state.\n+### Activating\n+This is a special state in which the Cloudify Manager is not fully in maintenance mode; only requests that trigger executions will be blocked.\n+This state allows active executions to complete and prevents new executions from being started.\n+Once all executions have completed/terminated, the Manager will enter the 'activated' state.\n+### Deactivated\n+The Cloudify Manager operates regularly. No requests are blocked.","path":"content/manager/maintenance-mode.md","position":33,"original_position":33,"commit_id":"6809bd5ccdef906df502599d327208e348933116","original_commit_id":"6809bd5ccdef906df502599d327208e348933116","user":{"login":"nirbir","id":2264173,"avatar_url":"https://avatars.githubusercontent.com/u/2264173?v=3","gravatar_id":"","url":"https://api.github.com/users/nirbir","html_url":"https://github.com/nirbir","followers_url":"https://api.github.com/users/nirbir/followers","following_url":"https://api.github.com/users/nirbir/following{/other_user}","gists_url":"https://api.github.com/users/nirbir/gists{/gist_id}","starred_url":"https://api.github.com/users/nirbir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirbir/subscriptions","organizations_url":"https://api.github.com/users/nirbir/orgs","repos_url":"https://api.github.com/users/nirbir/repos","events_url":"https://api.github.com/users/nirbir/events{/privacy}","received_events_url":"https://api.github.com/users/nirbir/received_events","type":"User","site_admin":false},"body":"normally","created_at":"2016-06-21T14:33:22Z","updated_at":"2016-06-21T14:33:22Z","html_url":"https://github.com/cloudify-cosmo/docs.getcloudify.org/pull/199#discussion_r67879753","pull_request_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/199","_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/comments/67879753"},"html":{"href":"https://github.com/cloudify-cosmo/docs.getcloudify.org/pull/199#discussion_r67879753"},"pull_request":{"href":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/199"}}},"pull_request":{"url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/199","id":74615289,"html_url":"https://github.com/cloudify-cosmo/docs.getcloudify.org/pull/199","diff_url":"https://github.com/cloudify-cosmo/docs.getcloudify.org/pull/199.diff","patch_url":"https://github.com/cloudify-cosmo/docs.getcloudify.org/pull/199.patch","issue_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/issues/199","number":199,"state":"open","locked":false,"title":"added maintenance mode doc","user":{"login":"nirbir","id":2264173,"avatar_url":"https://avatars.githubusercontent.com/u/2264173?v=3","gravatar_id":"","url":"https://api.github.com/users/nirbir","html_url":"https://github.com/nirbir","followers_url":"https://api.github.com/users/nirbir/followers","following_url":"https://api.github.com/users/nirbir/following{/other_user}","gists_url":"https://api.github.com/users/nirbir/gists{/gist_id}","starred_url":"https://api.github.com/users/nirbir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirbir/subscriptions","organizations_url":"https://api.github.com/users/nirbir/orgs","repos_url":"https://api.github.com/users/nirbir/repos","events_url":"https://api.github.com/users/nirbir/events{/privacy}","received_events_url":"https://api.github.com/users/nirbir/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-21T13:51:55Z","updated_at":"2016-06-21T14:33:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b833a8f03368594090e821a05ccb04db28df8030","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/199/commits","review_comments_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/199/comments","review_comment_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/issues/199/comments","statuses_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/statuses/6809bd5ccdef906df502599d327208e348933116","head":{"label":"cloudify-cosmo:maintenance-mode-docs-3.4","ref":"maintenance-mode-docs-3.4","sha":"6809bd5ccdef906df502599d327208e348933116","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":37913171,"name":"docs.getcloudify.org","full_name":"cloudify-cosmo/docs.getcloudify.org","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/docs.getcloudify.org","description":"Documentation web site for Cloudify 3.x","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org","forks_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/releases{/id}","deployments_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/deployments","created_at":"2015-06-23T10:45:22Z","updated_at":"2016-01-27T06:13:32Z","pushed_at":"2016-06-21T13:51:56Z","git_url":"git://github.com/cloudify-cosmo/docs.getcloudify.org.git","ssh_url":"git@github.com:cloudify-cosmo/docs.getcloudify.org.git","clone_url":"https://github.com/cloudify-cosmo/docs.getcloudify.org.git","svn_url":"https://github.com/cloudify-cosmo/docs.getcloudify.org","homepage":null,"size":12936,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":24,"forks":27,"open_issues":24,"watchers":1,"default_branch":"3.3.1-build"}},"base":{"label":"cloudify-cosmo:3.4.0-build","ref":"3.4.0-build","sha":"24be20c823ffb087a383a6c357ba0a9306e39fe7","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":37913171,"name":"docs.getcloudify.org","full_name":"cloudify-cosmo/docs.getcloudify.org","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/docs.getcloudify.org","description":"Documentation web site for Cloudify 3.x","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org","forks_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/releases{/id}","deployments_url":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/deployments","created_at":"2015-06-23T10:45:22Z","updated_at":"2016-01-27T06:13:32Z","pushed_at":"2016-06-21T13:51:56Z","git_url":"git://github.com/cloudify-cosmo/docs.getcloudify.org.git","ssh_url":"git@github.com:cloudify-cosmo/docs.getcloudify.org.git","clone_url":"https://github.com/cloudify-cosmo/docs.getcloudify.org.git","svn_url":"https://github.com/cloudify-cosmo/docs.getcloudify.org","homepage":null,"size":12936,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":24,"forks":27,"open_issues":24,"watchers":1,"default_branch":"3.3.1-build"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/199"},"html":{"href":"https://github.com/cloudify-cosmo/docs.getcloudify.org/pull/199"},"issue":{"href":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/issues/199"},"comments":{"href":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/cloudify-cosmo/docs.getcloudify.org/statuses/6809bd5ccdef906df502599d327208e348933116"}}}}
{"actor":{"display_login":"nirbir"}}