summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-07-23 13:11:46 +0200
committervarac <varacanero@zeromail.org>2013-07-23 13:11:46 +0200
commit582a02922564c9b510a00b3ef939458c30178c24 (patch)
tree62fc521838b4550135dd1614b289c9bbb4e3a5e1
parent5982414766256ad3a47cf8d4625b4ab1bb54cde4 (diff)
added port 4430, client needs it for api communication, at least for webapp
-rwxr-xr-xadd-user-roles3
-rw-r--r--secgroup-adaptation3
2 files changed, 6 insertions, 0 deletions
diff --git a/add-user-roles b/add-user-roles
index 5c1633c..fa719b7 100755
--- a/add-user-roles
+++ b/add-user-roles
@@ -1,6 +1,9 @@
#!/bin/bash
# add user with project-admin role to all projects
+#
+# Before using this script, add yourself as user with i.e.
+# keystone user-create --name varac --pass NSACANTGUESSTHIS --email varacanero@leap.se --enabled true
ROLEID=$(keystone role-list | grep -i projectadmin | awk '{print $2}')
USERID=NULL
diff --git a/secgroup-adaptation b/secgroup-adaptation
index 5cbf8a0..05616ff 100644
--- a/secgroup-adaptation
+++ b/secgroup-adaptation
@@ -11,6 +11,8 @@ nova secgroup-add-rule $SECGROUP tcp 4422 4422 0/0
# web is so common
nova secgroup-add-rule $SECGROUP tcp 80 80 0/0
nova secgroup-add-rule $SECGROUP tcp 443 443 0/0
+# client needs 4430 for api communication, at least for webapp
+nova secgroup-add-rule $SECGROUP tcp 4430 4430 0/0
# ping. People like Ping, the story about Ping
nova secgroup-add-rule $SECGROUP ICMP -1 -1 0/0
@@ -31,4 +33,5 @@ nova secgroup-add-rule $SECGROUP tcp 19002 19002 0/0
# It probably makes sense to have a bunch of these open for mosh
nova secgroup-add-rule $SECGROUP UDP 60000 60020 0/0
+
# That's it for now