Skip to content

Commit

Permalink
quota issues
Browse files Browse the repository at this point in the history
  • Loading branch information
grzanka committed Oct 29, 2023
1 parent 9b69857 commit 7e34e6b
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 2 deletions.
4 changes: 4 additions & 0 deletions roles/openstack/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ dns_nameservers:
openstack_router_name: "yaptide_router"
openstack_external_network_name: "external-10-192"
openstack_security_group_name: "yaptide_secgr"
openstack_floating_ip_address: ""

openstack_delete_network_on_teardown: true
openstack_delete_router_on_teardown: true
2 changes: 2 additions & 0 deletions roles/openstack/tasks/clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
openstack.cloud.router:
state: absent
name: "{{ openstack_router_name }}"
when: openstack_delete_router_on_teardown

# https://docs.ansible.com/ansible/latest/collections/openstack/cloud/network_module.html
- name: Delete the network
openstack.cloud.network:
state: absent
name: "{{ openstack_network_name }}"
when: openstack_delete_network_on_teardown
1 change: 1 addition & 0 deletions roles/openstack/tasks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
server: "{{ openstack_instance_hostname }}"
network: "{{ openstack_external_network_name }}"
nat_destination: "{{ openstack_network_name }}"
floating_ip_address: "{{ openstack_floating_ip_address | default(omit) }}"
reuse: true
wait: true
register: openstack_floating_ip_facts
Expand Down
6 changes: 4 additions & 2 deletions yap_dev_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

# openstack settings
openstack_instance_hostname: 'yap-dev'
openstack_network_name: 'yap-dev-network'
openstack_network_name: 'yaptide-network'
openstack_subnet_name: 'yap-dev-subnet'
openstack_subnet_cidr: '10.0.0.0/24'
openstack_gateway_ip: '10.0.0.1'
openstack_router_name: 'yap-dev-router'
openstack_router_name: 'yaptide-router'
openstack_security_group_name: 'yap-dev-secgr'
openstack_delete_network_on_teardown: false
openstack_delete_router_on_teardown: false

# where to deploy
variable_host: 'yap-dev'
Expand Down
43 changes: 43 additions & 0 deletions yaptide_vars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---

# openstack settings
openstack_instance_hostname: 'yaptide'
openstack_network_name: 'yaptide-network'
openstack_subnet_name: 'yaptide-subnet'
openstack_subnet_cidr: '20.0.0.0/24'
openstack_gateway_ip: '20.0.0.1'
openstack_router_name: 'yaptide-router'
openstack_security_group_name: 'yaptide-secgr'
openstack_delete_network_on_teardown: false
openstack_delete_router_on_teardown: false

# where to deploy
variable_host: 'yaptide'

# general settings
frontend_backend_hostname: 'yaptide.c3.plgrid.pl'
frontend_backend_url: 'https://yaptide.c3.plgrid.pl:8443'
frontend_ui_hostname: 'yaptide.c3.plgrid.pl'
frontend_ui_url: 'https://yaptide.c3.plgrid.pl'

# SSL certificates
frontend_ssl_crt: 'yap_dev.c3.plgrid.pl.crt'
frontend_ssl_key: 'yap_dev.c3.plgrid.pl.key'
backend_ssl_crt: 'yap_dev.c3.plgrid.pl.crt'
backend_ssl_key: 'yap_dev.c3.plgrid.pl.key'

# backend cluster settings
backend_cluster: 'ares.cyfronet.pl'
backend_cert_auth_url: 'https://ccm-dev.kdm.cyfronet.pl/key'
backend_backend_external_url: 'https://yaptide.c3.plgrid.pl:8443'

# keycloak settings
frontend_keycloak_base_url: 'https://sso.pre.plgrid.pl'
frontend_keycloak_realm: 'PLGrid'
frontend_keycloak_client_id: 'yaptide-staging'
backend_keycloak_base_url: 'https://sso.pre.plgrid.pl'
backend_keycloak_realm: 'PLGrid'

# github repo settings
frontend_repo_version: '1280-unhandled-keycloak-log-in-failure'
backend_repo_version: '394-deploy-fluka-binary-to-backend-from-s3-object'

0 comments on commit 7e34e6b

Please sign in to comment.