9 Commits

Author SHA1 Message Date
Egon Rijpkema
0dbcabb4a2 Added storage_availability_zone 2018-12-18 16:59:45 +01:00
Egon Rijpkema
1920804c3c Instead of a mapped name...
we're using the actual device name now.
2018-12-14 16:15:30 +01:00
Egon Rijpkema
4481b09bbc Moved availability zone to the correct docker. 2018-12-13 14:03:06 +01:00
Egon Rijpkema
52db295b69 Added availability zone option 2018-12-11 10:04:04 +01:00
Egon Rijpkema
07def88ceb Add a merlin heat 2018-10-08 16:50:28 +02:00
Egon Rijpkema
77c512977f Build cinder controller 2018-09-24 10:14:48 +02:00
Egon Rijpkema
455e10c7ab Add apache2 log to container log. 2018-09-17 11:46:12 +02:00
Egon Rijpkema
d51c52d35c Keystone merlin version (with federation) 2018-08-10 16:16:39 +02:00
Egon Rijpkema
510b68d156 Added merlin(federated) horizon. 2018-08-09 13:19:25 +02:00
4 changed files with 44 additions and 2 deletions

View File

@@ -94,6 +94,26 @@ pipeline:
tag: latest tag: latest
when: when:
branch: master branch: master
keystone_merlin:
image: plugins/docker
dockerfile: keystone/Dockerfile
context: keystone
secrets: [docker_username, docker_password]
registry: registry.webhosting.rug.nl
repo: registry.webhosting.rug.nl/hpc/openstack-keystone-merlin
tag: latest
when:
branch: merlin
horizon_merlin:
image: plugins/docker
dockerfile: horizon/Dockerfile
context: horizon
secrets: [docker_username, docker_password]
registry: registry.webhosting.rug.nl
repo: registry.webhosting.rug.nl/hpc/openstack-horizon-merlin
tag: latest
when:
branch: merlin
neutron_controller_merlin: neutron_controller_merlin:
image: plugins/docker image: plugins/docker
dockerfile: neutron_controller/Dockerfile dockerfile: neutron_controller/Dockerfile
@@ -104,6 +124,16 @@ pipeline:
tag: latest tag: latest
when: when:
branch: merlin branch: merlin
cinder_controller_merlin:
image: plugins/docker
dockerfile: cinder_controller/Dockerfile
context: cinder_controller
secrets: [docker_username, docker_password]
registry: registry.webhosting.rug.nl
repo: registry.webhosting.rug.nl/hpc/openstack-cinder-controller-merlin
tag: latest
when:
branch: mwelin
cinder_storage_merlin: cinder_storage_merlin:
image: plugins/docker image: plugins/docker
dockerfile: cinder_storage/Dockerfile dockerfile: cinder_storage/Dockerfile
@@ -134,6 +164,16 @@ pipeline:
tag: latest tag: latest
when: when:
branch: merlin branch: merlin
heat_merlin:
image: plugins/docker
dockerfile: heat/Dockerfile
context: heat
secrets: [docker_username, docker_password]
registry: registry.webhosting.rug.nl
repo: registry.webhosting.rug.nl/hpc/openstack-heat-merlin
tag: latest
when:
branch: merlin
notify: notify:
image: drillster/drone-email image: drillster/drone-email
host: smtp.rug.nl host: smtp.rug.nl

View File

@@ -7,6 +7,7 @@ cinder-scheduler -d &
sleep 5 sleep 5
apachectl -DFOREGROUND & apachectl -DFOREGROUND &
tail -f /var/log/apache2/* &
# If any process fails, kill the rest. # If any process fails, kill the rest.
# This ensures the container stops and systemd will restart it. # This ensures the container stops and systemd will restart it.

View File

@@ -22,6 +22,6 @@ source /root/admin-openrc.sh
# create a LVM physical volume and volume group. # create a LVM physical volume and volume group.
# This device should be available tpo the container # This device should be available tpo the container
pvcreate /dev/cinder_storage_volume pvcreate $CINDER_STORAGE_VOLUME
vgcreate cinder-volumes /dev/cinder_storage_volume vgcreate cinder-volumes $CINDER_STORAGE_VOLUME

View File

@@ -9,6 +9,7 @@ cat << EOF > /etc/cinder/cinder.conf
connection = mysql+pymysql://$CINDER_USER:$CINDER_PASSWORD@$MYSQL_HOST/cinder connection = mysql+pymysql://$CINDER_USER:$CINDER_PASSWORD@$MYSQL_HOST/cinder
[DEFAULT] [DEFAULT]
storage_availability_zone="$AVAILABILITY_ZONE"
auth_strategy = keystone auth_strategy = keystone
transport_url = rabbit://$RABBIT_USER:$RABBIT_PASSWORD@$RABBIT_HOST transport_url = rabbit://$RABBIT_USER:$RABBIT_PASSWORD@$RABBIT_HOST
my_ip = $MY_IP my_ip = $MY_IP