Skip to content

Commit

Permalink
Add Galactica cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
fjammes committed Oct 10, 2016
0 parents commit 43c2351
Show file tree
Hide file tree
Showing 4 changed files with 365 additions and 0 deletions.
35 changes: 35 additions & 0 deletions provision/galactica-dsi-openrc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash

# To use an OpenStack cloud you need to authenticate against the Identity
# service named keystone, which returns a **Token** and **Service Catalog**.
# The catalog contains the endpoints for all services the user/tenant has
# access to - such as Compute, Image Service, Identity, Object Storage, Block
# Storage, and Networking (code-named nova, glance, keystone, swift,
# cinder, and neutron).
#
# *NOTE*: Using the 2.0 *Identity API* does not necessarily mean any other
# OpenStack API is version 2.0. For example, your cloud provider may implement
# Image API v1.1, Block Storage API v2, and Compute API v2.0. OS_AUTH_URL is
# only for the Identity API served through keystone.
export OS_AUTH_URL=https://api.isima.fr:5000/v2.0

# With the addition of Keystone we have standardized on the term **tenant**
# as the entity that owns the resources.
export OS_TENANT_ID=d2521c9ab5c4452b802e50d05cee83e1
export OS_TENANT_NAME="dsi"
export OS_PROJECT_NAME="dsi"

# In addition to the owning entity (tenant), OpenStack stores the entity
# performing the action as the **user**.
export OS_USERNAME="fjammes"

# With Keystone you pass the keystone password.
echo "Please enter your OpenStack Password: "
read -sr OS_PASSWORD_INPUT
export OS_PASSWORD=$OS_PASSWORD_INPUT

# If your configuration has multiple regions, we set that information here.
# OS_REGION_NAME is optional and only valid in certain environments.
export OS_REGION_NAME="RegionOne"
# Don't leave a blank variable, unset it if it was empty
if [ -z "$OS_REGION_NAME" ]; then unset OS_REGION_NAME; fi
16 changes: 16 additions & 0 deletions provision/galactica.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

[openstack]

base_image_name: CentOS 7
snapshot_name: centos-7-qserv
flavor_name: c1.medium
network_name: petasky-net

# Prefix used to name Openstack instances
# Optional, default to Openstack user name
instance-prefix: fjammes-docker

# ssh key used to access Openstack instances
# Optional, default to ~/.ssh/id_rsa
ssh-private-key: ~/.ssh/id_rsa_isima

1 change: 1 addition & 0 deletions ssh/id_rsa_isima.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFZTVOV+NKzsbWI9do0rgBVOxTSCZ7QOIwkDtw42XFJ9JtnprLwcdvSSdyY6ZS7UG2eHn/iBZnQv8cqsMLPHkjsEBWf2xRrKtrPowHEOqCmRYY1+zi2NBRZDr9iAg9RyoAnsbC5U0bToTVvGTynX7MSAceiGBu/tB7NIowk95Mo9XC6UtQkukyzeFUlK6YyKQJPjUa5NJaCn70Oiq10fjUTuYt2EItqj7pWq4kAt01zBT+tg9dxXm/vHnNxSbSmcYFvc9Z2gcJzvqx0bh9I8IrgqJzEWzr1N/0qMYVRZEWMa2dyY8focUEMfioLR2LWUzDOc+ERls7VFXCZplipx2h qserv@clrinfopc04
313 changes: 313 additions & 0 deletions ssh/ssh_config
Original file line number Diff line number Diff line change
@@ -0,0 +1,313 @@

Host fjammes-docker0
HostName 192.168.56.246
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker1
HostName 192.168.56.247
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker2
HostName 192.168.56.248
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker3
HostName 192.168.56.249
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker4
HostName 192.168.56.25
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker5
HostName 192.168.56.250
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker6
HostName 192.168.56.251
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker7
HostName 192.168.56.252
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker8
HostName 192.168.56.253
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker9
HostName 192.168.56.254
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker10
HostName 192.168.56.26
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker11
HostName 192.168.56.27
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker12
HostName 192.168.56.28
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker13
HostName 192.168.56.29
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker14
HostName 192.168.56.3
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker15
HostName 192.168.56.30
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker16
HostName 192.168.56.31
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker17
HostName 192.168.56.32
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker18
HostName 192.168.56.33
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker19
HostName 192.168.56.34
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker20
HostName 192.168.56.35
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker21
HostName 192.168.56.36
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker22
HostName 192.168.56.37
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker23
HostName 192.168.56.38
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-docker24
HostName 192.168.56.39
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

Host fjammes-dockerswarm
HostName 192.168.56.4
User qserv
Port 22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
PasswordAuthentication no
ProxyCommand ssh -i ~/.ssh/id_rsa_isima -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p qserv@193.55.95.208
IdentityFile ~/.ssh/id_rsa_isima
IdentitiesOnly yes
LogLevel FATAL

0 comments on commit 43c2351

Please sign in to comment.