Verified Commit 3e0d69f2 authored by Wataru Noguchi's avatar Wataru Noguchi ✍🏻

Initial commit.

parents
Pipeline #4 canceled with stages
# Project Specific rules here
/tmp/
# Python
#---------------------------
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
.pybuilder/
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
# Temporary Files
#---------------------------
# vim
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
# Emacs
.\#*
# Backup files
#---------------------------
*~
*.orig
*.bak
# yyyyMMdd
*.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
# yyyyMMddHHmm
*.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
# yyyyMMddHHmmss
*.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
# OS dependent files
#---------------------------
.DS_Store
Thumbs.db
# Office specific
~$*
*.tmp
juju bootstrap --to os-maas3.os.pg1x.net mymaas maas-controller
juju add-machine os-controller1.os.pg1x.net
juju add-machine os-controller2.os.pg1x.net
juju add-machine os-controller3.os.pg1x.net
juju add-machine os-compute1.os.pg1x.net
juju add-machine os-compute2.os.pg1x.net
juju add-machine os-compute3.os.pg1x.net
juju add-machine os-ceph1.os.pg1x.net
juju add-machine os-ceph2.os.pg1x.net
juju add-machine os-ceph3.os.pg1x.net
juju add-machine os-swift1.os.pg1x.net
juju add-machine os-swift2.os.pg1x.net
juju add-machine os-swift3.os.pg1x.net
juju add-machine os-nagios1.os.pg1x.net
#!/bin/bash
juju deploy --config config/ceph-osd.yaml -n 3 --to 6,7,8 cs:ceph-osd ceph-osd
#!/bin/bash
juju deploy --config config/ceph-mon.yaml -n 3 --to lxd:0,lxd:1,lxd:2 cs:ceph-mon ceph-mon
juju add-relation ceph-mon:osd ceph-osd:mon
#!/bin/bash
juju deploy --config config/ceph-radosgw.yaml -n 3 --to lxd:0,lxd:1,lxd:2 cs:ceph-radosgw ceph-radosgw
juju deploy --config config/ceph-radosgw.yaml cs:hacluster ceph-radosgw-hacluster
juju add-relation ceph-radosgw:mon ceph-mon:radosgw
juju add-relation ceph-radosgw:ha ceph-radosgw-hacluster:ha
#!/bin/bash
juju deploy -n 3 --to lxd:0,lxd:1,lxd:2 cs:rabbitmq-server rabbitmq-server
#!/bin/bash
juju deploy -n 3 --to lxd:0,lxd:1,lxd:2 cs:memcached memcached
#!/bin/bash
juju deploy --config config/mysql.yaml -n 3 --to lxd:0,lxd:1,lxd:2 cs:percona-cluster mysql
juju deploy --config config/mysql.yaml cs:hacluster mysql-hacluster
juju add-relation mysql:ha mysql-hacluster:ha
#!/bin/bash
juju deploy --config config/keystone.yaml -n 3 --to lxd:0,lxd:1,lxd:2 cs:keystone keystone
juju deploy --config config/keystone.yaml cs:hacluster keystone-hacluster
juju add-relation keystone:ha keystone-hacluster:ha
#
juju add-relation keystone:shared-db mysql:shared-db
juju add-relation keystone:identity-service ceph-radosgw:identity-service
Charmed OpenStack Deployment
==================================================================
Charm links
------------------------------------------------------
1. https://jaas.ai/hacluster
1. https://jaas.ai/ceph-osd
1. https://jaas.ai/ceph-mon
1. https://jaas.ai/ceph-radosgw
1. https://jaas.ai/rabbitmq-server
1. https://jaas.ai/memcached
1. https://jaas.ai/percona-cluster
1. https://jaas.ai/keystone
1. https://jaas.ai/nova-cloud-controller
1. https://jaas.ai/nova-compute
ceph-mon:
expected-osd-count: 3
monitor-count: 3
#monitor-secret: 'AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ=='
source: cloud:bionic-stein
ceph-osd:
osd-devices: /dev/sdb
source: cloud:bionic-stein
ceph-radosgw:
source: cloud:bionic-stein
vip: 10.0.14.129
ceph-radosgw-hacluster:
corosync_transport: unicast
keystone:
admin-password: password
openstack-origin: cloud:bionic-stein
vip: 10.0.14.131
keystone-hacluster:
corosync_transport: unicast
mysql:
max-connections: 20000
min-cluster-size: 3
innodb-buffer-pool-size: 512M
performance-schema: true
root-password: password
source: cloud:bionic-stein
vip: 10.0.14.130
mysql-hacluster:
corosync_transport: unicast
juju ssh 0 sudo systemctl poweroff
juju ssh 1 sudo systemctl poweroff
juju ssh 2 sudo systemctl poweroff
juju ssh 3 sudo systemctl poweroff
juju ssh 4 sudo systemctl poweroff
juju ssh 5 sudo systemctl poweroff
juju ssh 6 sudo systemctl poweroff
juju ssh 7 sudo systemctl poweroff
juju ssh 8 sudo systemctl poweroff
juju ssh 9 sudo systemctl poweroff
juju ssh 10 sudo systemctl poweroff
juju ssh 11 sudo systemctl poweroff
juju ssh 12 sudo systemctl poweroff
juju ssh -m controller 0 sudo systemctl poweroff
ssh ubuntu@10.0.12.11 sudo systemctl poweroff
sudo systemctl poweroff
clouds:
mymaas:
type: maas
auth-types: [oauth1]
endpoint: http://10.0.12.11:5240/MAAS
credentials:
mymaas:
ubuntu:
auth-type: oauth1
maas-oauth: KzZ7XpujEeXHLDUTdz:cX9fRUDNwC7MGXa57h:v6JGDFpERGpPjEPLUJR2gk4VJHHs6g2R
appdirs==1.4.3
Babel==2.8.0
certifi==2020.4.5.1
cffi==1.14.0
chardet==3.0.4
cliff==3.1.0
cmd2==0.8.9
cryptography==2.9.2
debtcollector==2.0.1
decorator==4.4.2
dogpile.cache==0.9.2
idna==2.9
iso8601==0.1.12
jmespath==0.9.5
jsonpatch==1.25
jsonpointer==2.0
keystoneauth1==4.0.0
msgpack==1.0.0
munch==2.5.0
netaddr==0.7.19
netifaces==0.10.9
openstacksdk==0.46.0
os-service-types==1.7.0
osc-lib==2.0.0
oslo.config==8.0.2
oslo.i18n==4.0.1
oslo.serialization==3.1.1
oslo.utils==4.1.1
pbr==5.4.5
pkg-resources==0.0.0
prettytable==0.7.2
pycparser==2.20
pyparsing==2.4.7
pyperclip==1.8.0
python-cinderclient==7.0.0
python-keystoneclient==4.0.0
python-novaclient==17.0.0
python-openstackclient==5.2.0
pytz==2020.1
PyYAML==5.3.1
requests==2.23.0
requestsexceptions==1.4.0
rfc3986==1.4.0
simplejson==3.17.0
six==1.14.0
stevedore==1.32.0
urllib3==1.25.9
wcwidth==0.1.9
wrapt==1.12.1
clouds:
default:
auth:
auth_url: http://10.0.14.131:35357/
project_name: admin
username: admin
password: password
region_name: RegionOne
project_domain_name: admin_domain
user_domain_name: admin_domain
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment