{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/comments/77778678","id":77778678,"diff_hunk":"@@ -49,4 +49,280 @@ Finally, we execute the commando package-import for the murano client library (c\n \n It will update the Murano core library with the new FIWARE extensions.\n \n+## Sanity check procedures\n+\n+The Sanity Check Procedures are the steps that a System Administrator\n+will take to verify that an installation is ready to be tested. This is\n+therefore a preliminary set of tests to ensure that obvious or basic\n+malfunctioning is fixed before proceeding to unit tests, integration\n+tests and user validation.\n+\n+### End to End testing\n+\n+Although one End to End testing must be associated to the Integration\n+Test, we can show here a quick testing to check that everything is up\n+and running. For this purpose we send a request to our API in order to\n+test the credentials that we have from then and obtain a valid token to\n+work with.\n+\n+In order to make a probe of the different functionalities related to the\n+Murano, we start with the obtention of a valid token for a\n+registered user. Due to all operations of the Murano are using\n+the security mechanism which is used in the rest of the cloud component,\n+it is needed to provide a security token in order to continue with the\n+rest of operations. For this operation we need to execute the following\n+curl sentence.\n+\n+    curl -d '{\"auth\": {\"tenantName\": $TENANT,\n+    \"passwordCredentials\":{\"username\": $USERNAME, \"password\": $PASSWORD}}}'\n+    -H \"Content-type: application/json\" -H \"Accept: application/xml\"\n+    http://$KEYSTONE_IP:$KEYSTONE_PORT/v2.0/tokens\n+\n+Both $TENANT (Project), $USERNAME and $PASSWORD must be values\n+previously created in the OpenStack Keystone. The $KEYSTONE_IP and $KEYSTONE_PORT are the data of our internal\n+installation of IdM (Keystone).\n+\n+We obtained two data from the previous sentence:\n+\n+-  X-Auth-Token\n+\n+    <token expires=\"2012-10-25T16:35:42Z\" id=\"a9a861db6276414094bc1567f664084d\">\n+\n+-  Tenant-Id\n+\n+    <tenant enabled=\"true\" id=\"c907498615b7456a9513500fe24101e0\" name=$TENANT>\n+\n+After it, we can check if Murano is up and running with a\n+single instruction which is used to return the information of the status\n+of the processes together with the queue size.\n+\n+    curl -v -H 'X-Auth-Token: a9a861db6276414094bc1567f664084d'\n+    -X GET http://murano.lab.fiware.org:8082\n+\n+This operation will return the information regarding the tenant details\n+of the execution of the Policy Manager\n+\n+    < HTTP/1.0 200 OK\n+    < Date: Wed, 09 Apr 2014 08:25:17 GMT\n+    < Server: WSGIServer/0.1 Python/2.6.6\n+    < Content-Type: text/html; charset=utf-8\n+    {\n+       \"versions\":\n+       [\n+           {\n+               \"status\": \"CURRENT\",\n+               \"id\": \"v1.0\",\n+               \"links\":\n+               [\n+                   {\n+                       \"href\": \"http://murano.lab.fiware.org:8082/v1/\",\n+                       \"rel\": \"self\"\n+                   }\n+               ]\n+           }\n+       ]\n+    }\n+\n+\n+For more details to use this GE, please refer to the User & Programmers Guide.\n+\n+### List of Running Processes\n+\n+Due to the Murano basically is running over the python process by using tox,\n+the list of processes must be only tox process for murano-api and murano-engine:\n+\n+    ps -ewf | grep 'tox' | grep -v grep\n+\n+It should show something similar to the following:\n+\n+\n+    UID        PID  PPID  C STIME TTY          TIME CMD\n+    root       739     5  0 10:50 ?        00:00:00 /usr/bin/python /usr/local/bin/tox -e venv -- murano-api --config-file ./etc/murano/murano.conf\n+    root       762   739  0 10:50 ?        00:00:02 /opt/murano/.tox/venv/bin/python .tox/venv/bin/murano-api --config-file etc/murano/murano.conf\n+    root       800     5  0 10:50 ?        00:00:00 /usr/bin/python /usr/local/bin/tox -e venv -- murano-engine --config-file ./etc/murano/murano.conf\n+    root       821   800  0 10:50 ?        00:00:02 /opt/murano/.tox/venv/bin/python .tox/venv/bin/murano-engine --config-file etc/murano/murano.conf\n+\n+In addition, mysql and rabbitmq process should be exist (or in the same server or in another one, according to configuration).\n+\n+\n+    UID        PID  PPID  C STIME TTY          TIME CMD\n+    mysql        1     0  0 10:47 ?        00:00:00 mysqld\n+\n+    rabbitmq     1     0  0 10:47 ?        00:00:00 /bin/sh -e /usr/lib/rabbitmq/bin/rabbitmq-server\n+    rabbitmq    85     1  0 10:47 ?        00:00:00 /usr/lib/erlang/erts-7.2/bin/epmd -daemon\n+    rabbitmq    98     1  0 10:47 ?        00:00:01 /usr/lib/erlang/erts-7.2/bin/beam -W w -A 64 -P 1048576 -K true -B i -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/rabbitm\n+\n+\n+### Network interfaces Up & Open\n+\n+Taking into account the results of the ps commands in the previous\n+section, we take the PID in order to know the information about the\n+network interfaces up & open. To check the ports in use and listening,\n+execute the command:\n+\n+    lsof -i | grep \"$PID1\\|$PID2\"\n+\n+Where $PID1 and $PID2 are the PIDs of the tox processes obtained","path":"doc/admin.md","position":117,"original_position":117,"commit_id":"777a9a24e3e77bb2ff0bd2e6f4dde3e1a5dc11e0","original_commit_id":"777a9a24e3e77bb2ff0bd2e6f4dde3e1a5dc11e0","user":{"login":"flopezag","id":1379796,"avatar_url":"https://avatars.githubusercontent.com/u/1379796?v=3","gravatar_id":"","url":"https://api.github.com/users/flopezag","html_url":"https://github.com/flopezag","followers_url":"https://api.github.com/users/flopezag/followers","following_url":"https://api.github.com/users/flopezag/following{/other_user}","gists_url":"https://api.github.com/users/flopezag/gists{/gist_id}","starred_url":"https://api.github.com/users/flopezag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flopezag/subscriptions","organizations_url":"https://api.github.com/users/flopezag/orgs","repos_url":"https://api.github.com/users/flopezag/repos","events_url":"https://api.github.com/users/flopezag/events{/privacy}","received_events_url":"https://api.github.com/users/flopezag/received_events","type":"User","site_admin":false},"body":"You write 2 PID, $PID1 and $PID2, but after you write 3 PIDs 762 and 821\r\n+(redis-server) and 5604.\r\n\r\nApart from it, I think that it is a copy/paste from Policy Manager, rewrite it.","created_at":"2016-09-07T08:22:51Z","updated_at":"2016-09-07T08:22:51Z","html_url":"https://github.com/telefonicaid/fiware-murano/pull/34#discussion_r77778678","pull_request_url":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/comments/77778678"},"html":{"href":"https://github.com/telefonicaid/fiware-murano/pull/34#discussion_r77778678"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/34","id":84107329,"html_url":"https://github.com/telefonicaid/fiware-murano/pull/34","diff_url":"https://github.com/telefonicaid/fiware-murano/pull/34.diff","patch_url":"https://github.com/telefonicaid/fiware-murano/pull/34.patch","issue_url":"https://api.github.com/repos/telefonicaid/fiware-murano/issues/34","number":34,"state":"open","locked":false,"title":"Claudia 6268 installation manual","user":{"login":"hmunfru","id":1541508,"avatar_url":"https://avatars.githubusercontent.com/u/1541508?v=3","gravatar_id":"","url":"https://api.github.com/users/hmunfru","html_url":"https://github.com/hmunfru","followers_url":"https://api.github.com/users/hmunfru/followers","following_url":"https://api.github.com/users/hmunfru/following{/other_user}","gists_url":"https://api.github.com/users/hmunfru/gists{/gist_id}","starred_url":"https://api.github.com/users/hmunfru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmunfru/subscriptions","organizations_url":"https://api.github.com/users/hmunfru/orgs","repos_url":"https://api.github.com/users/hmunfru/repos","events_url":"https://api.github.com/users/hmunfru/events{/privacy}","received_events_url":"https://api.github.com/users/hmunfru/received_events","type":"User","site_admin":false},"body":"REVIEWERS\r\n\r\n@jesuspg @flopezag \r\n\r\nDESCRIPTION\r\n\r\nInstallation manual\r\n\r\nTESTING\r\n\r\nDocumentation","created_at":"2016-09-06T11:44:53Z","updated_at":"2016-09-07T08:22:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9745109c6368984f9094e74956d2b06756c7bfc7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/34/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/34/comments","review_comment_url":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-murano/issues/34/comments","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-murano/statuses/777a9a24e3e77bb2ff0bd2e6f4dde3e1a5dc11e0","head":{"label":"telefonicaid:CLAUDIA-6268_installation_manual","ref":"CLAUDIA-6268_installation_manual","sha":"777a9a24e3e77bb2ff0bd2e6f4dde3e1a5dc11e0","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":44976719,"name":"fiware-murano","full_name":"telefonicaid/fiware-murano","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-murano","description":"FIWARE Cloud implementations of the OpenStack Murano component","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-murano","forks_url":"https://api.github.com/repos/telefonicaid/fiware-murano/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-murano/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-murano/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-murano/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-murano/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-murano/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-murano/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-murano/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-murano/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-murano/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-murano/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-murano/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-murano/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-murano/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-murano/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-murano/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-murano/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-murano/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-murano/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-murano/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-murano/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-murano/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-murano/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-murano/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-murano/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-murano/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-murano/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-murano/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-murano/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-murano/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-murano/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-murano/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-murano/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-murano/releases{/id}","deployments_url":"https://api.github.com/repos/telefonicaid/fiware-murano/deployments","created_at":"2015-10-26T15:13:54Z","updated_at":"2016-01-11T11:42:16Z","pushed_at":"2016-09-06T17:39:44Z","git_url":"git://github.com/telefonicaid/fiware-murano.git","ssh_url":"git@github.com:telefonicaid/fiware-murano.git","clone_url":"https://github.com/telefonicaid/fiware-murano.git","svn_url":"https://github.com/telefonicaid/fiware-murano","homepage":null,"size":189,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"telefonicaid:develop","ref":"develop","sha":"33f09b43f5d984359e7c11aead9dffd852a351cd","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":44976719,"name":"fiware-murano","full_name":"telefonicaid/fiware-murano","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-murano","description":"FIWARE Cloud implementations of the OpenStack Murano component","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-murano","forks_url":"https://api.github.com/repos/telefonicaid/fiware-murano/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-murano/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-murano/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-murano/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-murano/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-murano/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-murano/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-murano/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-murano/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-murano/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-murano/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-murano/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-murano/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-murano/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-murano/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-murano/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-murano/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-murano/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-murano/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-murano/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-murano/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-murano/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-murano/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-murano/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-murano/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-murano/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-murano/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-murano/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-murano/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-murano/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-murano/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-murano/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-murano/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-murano/releases{/id}","deployments_url":"https://api.github.com/repos/telefonicaid/fiware-murano/deployments","created_at":"2015-10-26T15:13:54Z","updated_at":"2016-01-11T11:42:16Z","pushed_at":"2016-09-06T17:39:44Z","git_url":"git://github.com/telefonicaid/fiware-murano.git","ssh_url":"git@github.com:telefonicaid/fiware-murano.git","clone_url":"https://github.com/telefonicaid/fiware-murano.git","svn_url":"https://github.com/telefonicaid/fiware-murano","homepage":null,"size":189,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/34"},"html":{"href":"https://github.com/telefonicaid/fiware-murano/pull/34"},"issue":{"href":"https://api.github.com/repos/telefonicaid/fiware-murano/issues/34"},"comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-murano/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telefonicaid/fiware-murano/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/fiware-murano/statuses/777a9a24e3e77bb2ff0bd2e6f4dde3e1a5dc11e0"}}}}
{"actor":{"display_login":"flopezag"}}