{"action":"created","comment":{"url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/comments/25188723","id":25188723,"diff_hunk":"@@ -73,11 +73,37 @@ $ keystone user-list\n $ nova list\n ```\n \n+### Working with Security Groups ###\n+\n+```bash\n+$ nova secgroup-list\n+$ nova secgroup-list-rules default\n+$ nova secgroup-create allow_ssh \"allow ssh to instance\"\n+$ nova secgroup-add-rule allow_ssh tcp 22 22 0.0.0.0/0\n+$ nova secgroup-list-rules allow_ssh\n+```\n+\n+### Working with keys ###\n+\n+```bash\n+# Just press Enter to all the questions\n+$ ssh-keygen\n+$ nova keypair-add --pub-key=/root/.ssh/id_rsa.pub testing\n+```\n+\n #### Booting up an image on the Controller\n \n ```bash\n # Access the controller as noted above\n-$ nova boot test --image cirros --flavor 1\n+$ nova boot test --image cirros --flavor 1  --security-groups=allow_ssh --key-name=testing testserver\n+```\n+\n+Wait a few seconds and the run `nova list` if Status is not Active, wait a few seconds and repeat.\n+\n+Once status is active you should be able to log in via ssh to the listed IP.\n+\n+```bash\n+$ ssh <ip address from nova list output>","path":"README.md","position":35,"original_position":35,"commit_id":"17f45658e67654db4be980deea6f8eeccca498c8","original_commit_id":"d5cdd869edfa73dab68769595a03016656e920c6","user":{"login":"cmluciano","id":4790487,"avatar_url":"https://avatars.githubusercontent.com/u/4790487?v=3","gravatar_id":"","url":"https://api.github.com/users/cmluciano","html_url":"https://github.com/cmluciano","followers_url":"https://api.github.com/users/cmluciano/followers","following_url":"https://api.github.com/users/cmluciano/following{/other_user}","gists_url":"https://api.github.com/users/cmluciano/gists{/gist_id}","starred_url":"https://api.github.com/users/cmluciano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmluciano/subscriptions","organizations_url":"https://api.github.com/users/cmluciano/orgs","repos_url":"https://api.github.com/users/cmluciano/repos","events_url":"https://api.github.com/users/cmluciano/events{/privacy}","received_events_url":"https://api.github.com/users/cmluciano/received_events","type":"User","site_admin":false},"body":"I think this should be \r\n```\r\nssh cirros@<ip address from nova list output>\r\n```\r\nThis avoids the Error \r\n```\r\nPlease login as 'cirros' user, not as root\r\n```","created_at":"2015-02-23T18:39:59Z","updated_at":"2015-02-23T18:39:59Z","html_url":"https://github.com/jjasghar/chef-openstack-testing-stack/pull/37#discussion_r25188723","pull_request_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/comments/25188723"},"html":{"href":"https://github.com/jjasghar/chef-openstack-testing-stack/pull/37#discussion_r25188723"},"pull_request":{"href":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/37","id":29831266,"html_url":"https://github.com/jjasghar/chef-openstack-testing-stack/pull/37","diff_url":"https://github.com/jjasghar/chef-openstack-testing-stack/pull/37.diff","patch_url":"https://github.com/jjasghar/chef-openstack-testing-stack/pull/37.patch","issue_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/issues/37","number":37,"state":"open","locked":false,"title":"Add steps for security group and key pair gen","user":{"login":"kramvan1","id":5861591,"avatar_url":"https://avatars.githubusercontent.com/u/5861591?v=3","gravatar_id":"","url":"https://api.github.com/users/kramvan1","html_url":"https://github.com/kramvan1","followers_url":"https://api.github.com/users/kramvan1/followers","following_url":"https://api.github.com/users/kramvan1/following{/other_user}","gists_url":"https://api.github.com/users/kramvan1/gists{/gist_id}","starred_url":"https://api.github.com/users/kramvan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kramvan1/subscriptions","organizations_url":"https://api.github.com/users/kramvan1/orgs","repos_url":"https://api.github.com/users/kramvan1/repos","events_url":"https://api.github.com/users/kramvan1/events{/privacy}","received_events_url":"https://api.github.com/users/kramvan1/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-23T18:10:32Z","updated_at":"2015-02-23T18:39:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"caba7f4d96e18f7c24ef8d9bf22caef7130cf600","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/37/commits","review_comments_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/37/comments","review_comment_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/issues/37/comments","statuses_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/statuses/17f45658e67654db4be980deea6f8eeccca498c8","head":{"label":"kramvan1:secgroup-and-keypair","ref":"secgroup-and-keypair","sha":"17f45658e67654db4be980deea6f8eeccca498c8","user":{"login":"kramvan1","id":5861591,"avatar_url":"https://avatars.githubusercontent.com/u/5861591?v=3","gravatar_id":"","url":"https://api.github.com/users/kramvan1","html_url":"https://github.com/kramvan1","followers_url":"https://api.github.com/users/kramvan1/followers","following_url":"https://api.github.com/users/kramvan1/following{/other_user}","gists_url":"https://api.github.com/users/kramvan1/gists{/gist_id}","starred_url":"https://api.github.com/users/kramvan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kramvan1/subscriptions","organizations_url":"https://api.github.com/users/kramvan1/orgs","repos_url":"https://api.github.com/users/kramvan1/repos","events_url":"https://api.github.com/users/kramvan1/events{/privacy}","received_events_url":"https://api.github.com/users/kramvan1/received_events","type":"User","site_admin":false},"repo":{"id":31024076,"name":"chef-openstack-testing-stack","full_name":"kramvan1/chef-openstack-testing-stack","owner":{"login":"kramvan1","id":5861591,"avatar_url":"https://avatars.githubusercontent.com/u/5861591?v=3","gravatar_id":"","url":"https://api.github.com/users/kramvan1","html_url":"https://github.com/kramvan1","followers_url":"https://api.github.com/users/kramvan1/followers","following_url":"https://api.github.com/users/kramvan1/following{/other_user}","gists_url":"https://api.github.com/users/kramvan1/gists{/gist_id}","starred_url":"https://api.github.com/users/kramvan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kramvan1/subscriptions","organizations_url":"https://api.github.com/users/kramvan1/orgs","repos_url":"https://api.github.com/users/kramvan1/repos","events_url":"https://api.github.com/users/kramvan1/events{/privacy}","received_events_url":"https://api.github.com/users/kramvan1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kramvan1/chef-openstack-testing-stack","description":"A development repo for creating openstack clusters with chef-provisioning","fork":true,"url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack","forks_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/forks","keys_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/teams","hooks_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/hooks","issue_events_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/issues/events{/number}","events_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/events","assignees_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/assignees{/user}","branches_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/branches{/branch}","tags_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/tags","blobs_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/git/refs{/sha}","trees_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/statuses/{sha}","languages_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/languages","stargazers_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/stargazers","contributors_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/contributors","subscribers_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/subscribers","subscription_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/subscription","commits_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/commits{/sha}","git_commits_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/git/commits{/sha}","comments_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/comments{/number}","issue_comment_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/issues/comments{/number}","contents_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/contents/{+path}","compare_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/merges","archive_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/downloads","issues_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/issues{/number}","pulls_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/pulls{/number}","milestones_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/milestones{/number}","notifications_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/labels{/name}","releases_url":"https://api.github.com/repos/kramvan1/chef-openstack-testing-stack/releases{/id}","created_at":"2015-02-19T16:18:33Z","updated_at":"2015-02-19T16:18:34Z","pushed_at":"2015-02-23T18:36:08Z","git_url":"git://github.com/kramvan1/chef-openstack-testing-stack.git","ssh_url":"git@github.com:kramvan1/chef-openstack-testing-stack.git","clone_url":"https://github.com/kramvan1/chef-openstack-testing-stack.git","svn_url":"https://github.com/kramvan1/chef-openstack-testing-stack","homepage":"http://chef.io/openstack","size":969,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jjasghar:master","ref":"master","sha":"5c0bba0049e64884aaeeb0de7a8530788ad32fbb","user":{"login":"jjasghar","id":810824,"avatar_url":"https://avatars.githubusercontent.com/u/810824?v=3","gravatar_id":"","url":"https://api.github.com/users/jjasghar","html_url":"https://github.com/jjasghar","followers_url":"https://api.github.com/users/jjasghar/followers","following_url":"https://api.github.com/users/jjasghar/following{/other_user}","gists_url":"https://api.github.com/users/jjasghar/gists{/gist_id}","starred_url":"https://api.github.com/users/jjasghar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjasghar/subscriptions","organizations_url":"https://api.github.com/users/jjasghar/orgs","repos_url":"https://api.github.com/users/jjasghar/repos","events_url":"https://api.github.com/users/jjasghar/events{/privacy}","received_events_url":"https://api.github.com/users/jjasghar/received_events","type":"User","site_admin":false},"repo":{"id":21997714,"name":"chef-openstack-testing-stack","full_name":"jjasghar/chef-openstack-testing-stack","owner":{"login":"jjasghar","id":810824,"avatar_url":"https://avatars.githubusercontent.com/u/810824?v=3","gravatar_id":"","url":"https://api.github.com/users/jjasghar","html_url":"https://github.com/jjasghar","followers_url":"https://api.github.com/users/jjasghar/followers","following_url":"https://api.github.com/users/jjasghar/following{/other_user}","gists_url":"https://api.github.com/users/jjasghar/gists{/gist_id}","starred_url":"https://api.github.com/users/jjasghar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjasghar/subscriptions","organizations_url":"https://api.github.com/users/jjasghar/orgs","repos_url":"https://api.github.com/users/jjasghar/repos","events_url":"https://api.github.com/users/jjasghar/events{/privacy}","received_events_url":"https://api.github.com/users/jjasghar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jjasghar/chef-openstack-testing-stack","description":"A development repo for creating openstack clusters with chef-provisioning","fork":false,"url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack","forks_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/forks","keys_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/teams","hooks_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/hooks","issue_events_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/issues/events{/number}","events_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/events","assignees_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/assignees{/user}","branches_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/branches{/branch}","tags_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/tags","blobs_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/git/refs{/sha}","trees_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/statuses/{sha}","languages_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/languages","stargazers_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/stargazers","contributors_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/contributors","subscribers_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/subscribers","subscription_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/subscription","commits_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/commits{/sha}","git_commits_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/git/commits{/sha}","comments_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/comments{/number}","issue_comment_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/issues/comments{/number}","contents_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/contents/{+path}","compare_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/merges","archive_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/downloads","issues_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/issues{/number}","pulls_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls{/number}","milestones_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/milestones{/number}","notifications_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/labels{/name}","releases_url":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/releases{/id}","created_at":"2014-07-18T23:52:13Z","updated_at":"2015-02-19T20:13:51Z","pushed_at":"2015-02-20T17:22:07Z","git_url":"git://github.com/jjasghar/chef-openstack-testing-stack.git","ssh_url":"git@github.com:jjasghar/chef-openstack-testing-stack.git","clone_url":"https://github.com/jjasghar/chef-openstack-testing-stack.git","svn_url":"https://github.com/jjasghar/chef-openstack-testing-stack","homepage":"http://chef.io/openstack","size":969,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":5,"forks":12,"open_issues":5,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/37"},"html":{"href":"https://github.com/jjasghar/chef-openstack-testing-stack/pull/37"},"issue":{"href":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/issues/37"},"comments":{"href":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/jjasghar/chef-openstack-testing-stack/statuses/17f45658e67654db4be980deea6f8eeccca498c8"}}}}