migrate copr-be to new cloud
This commit is contained in:
parent
7b58ae4dbd
commit
e7a7e78f00
4 changed files with 18 additions and 19 deletions
|
@ -3,7 +3,7 @@ devel: false
|
||||||
_forward_src: "forward"
|
_forward_src: "forward"
|
||||||
|
|
||||||
# don't forget to update ip in ./copr-keygen, due to custom firewall rules
|
# don't forget to update ip in ./copr-keygen, due to custom firewall rules
|
||||||
copr_backend_ips: "172.16.5.5 209.132.184.142"
|
copr_backend_ips: "172.16.5.5 209.132.184.48"
|
||||||
keygen_host: "172.16.5.25"
|
keygen_host: "172.16.5.25"
|
||||||
resolvconf: "resolv.conf/cloud"
|
resolvconf: "resolv.conf/cloud"
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,9 @@ tcp_ports: [22]
|
||||||
|
|
||||||
# http + signd dest ports
|
# http + signd dest ports
|
||||||
custom_rules: [ '-A INPUT -p tcp -m tcp -s 172.16.5.5 --dport 80 -j ACCEPT',
|
custom_rules: [ '-A INPUT -p tcp -m tcp -s 172.16.5.5 --dport 80 -j ACCEPT',
|
||||||
'-A INPUT -p tcp -m tcp -s 209.132.184.142 --dport 80 -j ACCEPT',
|
'-A INPUT -p tcp -m tcp -s 209.132.184.48 --dport 80 -j ACCEPT',
|
||||||
'-A INPUT -p tcp -m tcp -s 172.16.5.5 --dport 5167 -j ACCEPT',
|
'-A INPUT -p tcp -m tcp -s 172.16.5.5 --dport 5167 -j ACCEPT',
|
||||||
'-A INPUT -p tcp -m tcp -s 209.132.184.142 --dport 5167 -j ACCEPT']
|
'-A INPUT -p tcp -m tcp -s 209.132.184.48 --dport 5167 -j ACCEPT']
|
||||||
|
|
||||||
datacenter: cloud
|
datacenter: cloud
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,22 @@
|
||||||
---
|
---
|
||||||
instance_type: m1.xlarge
|
|
||||||
image: "{{ f20_qcow_id }}"
|
instance_type: ms1.xlarge
|
||||||
|
image: "{{ fedora21_x86_64 }}"
|
||||||
keypair: fedora-admin-20130801
|
keypair: fedora-admin-20130801
|
||||||
security_group: webserver
|
security_group: web-80-anywhere-persistent,web-443-anywhere-persistent,ssh-anywhere-persistent,default
|
||||||
zone: nova
|
zone: nova
|
||||||
hostbase: copr-be-
|
hostbase: copr-be-
|
||||||
public_ip: 209.132.184.142
|
public_ip: 209.132.184.48
|
||||||
root_auth_users: bkabrda msuchy pingou msuchy sgallagh nb asamalik vgologuz
|
root_auth_users: msuchy pingou msuchy sgallagh nb asamalik vgologuz
|
||||||
description: copr dispatcher and repo server
|
description: copr dispatcher and repo server
|
||||||
volumes: ['-d /dev/vdc vol-00000028']
|
volumes: [ {volume_id: '63c3a40c-e228-417a-97a2-e2c34730bf3b', device: '/dev/vdc'} ]
|
||||||
|
inventory_tenant: persistent
|
||||||
|
inventory_instance_name: copr-fe
|
||||||
|
cloud_networks:
|
||||||
|
# persistent-net
|
||||||
|
- net-id: "7c705493-f795-4c3a-91d3-c5825c50abfe"
|
||||||
|
# copr-net
|
||||||
|
- net-id: "bba5cd9b-8a90-497b-a87f-62372f037620"
|
||||||
|
|
||||||
tcp_ports: [ 22, 80, 443,
|
tcp_ports: [ 22, 80, 443,
|
||||||
# These 8 ports are used by fedmsg. One for each wsgi thread.
|
# These 8 ports are used by fedmsg. One for each wsgi thread.
|
||||||
|
@ -29,12 +37,3 @@ copr_hostbase: copr-be
|
||||||
|
|
||||||
host_backup_targets: ['/var/lib/copr/public_html/results']
|
host_backup_targets: ['/var/lib/copr/public_html/results']
|
||||||
_copr_be_conf: copr-be.conf
|
_copr_be_conf: copr-be.conf
|
||||||
|
|
||||||
# for the new cloud:
|
|
||||||
# uncomment after switch
|
|
||||||
# volumes: [ {volume_id: '63c3a40c-e228-417a-97a2-e2c34730bf3b', device: '/dev/vdc'} ]
|
|
||||||
cloud_networks:
|
|
||||||
# persistent-net
|
|
||||||
- net-id: "7c705493-f795-4c3a-91d3-c5825c50abfe"
|
|
||||||
# copr-net
|
|
||||||
- net-id: "bba5cd9b-8a90-497b-a87f-62372f037620"
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ name=Copr
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
# and external ip # TODO: update in infra ansible git after copr moved to the new cloud
|
# and external ip # TODO: update in infra ansible git after copr moved to the new cloud
|
||||||
baseurl=file:///var/lib/copr/public_html/results/msuchy/copr/fedora-$releasever-x86_64/
|
baseurl=file:///var/lib/copr/public_html/results/msuchy/copr/fedora-$releasever-x86_64/
|
||||||
http://209.132.184.142/results/msuchy/copr/fedora-$releasever-x86_64/
|
http://209.132.184.48/results/msuchy/copr/fedora-$releasever-x86_64/
|
||||||
https://copr-be.cloud.fedoraproject.org/results/msuchy/copr/fedora-$releasever-x86_64/
|
https://copr-be.cloud.fedoraproject.org/results/msuchy/copr/fedora-$releasever-x86_64/
|
||||||
http://172.16.5.5/results/msuchy/copr/fedora-$releasever-x86_64/
|
http://172.16.5.5/results/msuchy/copr/fedora-$releasever-x86_64/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue