This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://asciinema.org/a/0wqvhrpshmvz2vcg46bvvtbul | |
# /home/liam/asciinema/keystone-demo.json | |
######################## | |
# 0) Setup and Bootstrap | |
######################## | |
# If you haven't already done so add the AWS credentials to Juju | |
juju add-credential aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://asciinema.org/a/0wqvhrpshmvz2vcg46bvvtbul | |
Take the 5 character string at the far right of the piece of paper and replace '<TOKEN>' with it in the url below. | |
https://developer.juju.solutions/credentials/<TOKEN> | |
Take a note of the credentials because you can only access the url ONCE! | |
######################## | |
# 0) Setup and Bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://asciinema.org/a/3u30bwy7eq35h6bap1dol4okc | |
###################### | |
# 0) Setup Environment | |
###################### | |
# This should have be done as part of steps 0-2 in the previous demo | |
# If you are familiar with building a charm that uses the Reactive frame work | |
# with OpenStack layers and would like to skip those steps | |
# please jump to 4c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THIS PAGE IS HERE: https://goo.gl/XTqH0y | |
WIFI NETWORK: CANONICAL | |
WIFI PASSWORD: canonical | |
** Tutorials ** | |
Charm Deploy and Scale Tutorial: https://goo.gl/kLpKaw | |
Charm Deploy and Scale Tutorial Recording: https://asciinema.org/a/0wqvhrpshmvz2vcg46bvvtbul | |
Create, Build and Deploy an OpenStack API Charm Tutorial: https://goo.gl/uSVPkR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
relations: | |
- - nova-cloud-controller:nova-cell-api | |
- nova-cloud-controller-cell2:nova-cell | |
- - nova-cloud-controller:shared-db-cell | |
- mysql-cell2:shared-db | |
- - nova-cloud-controller:amqp-cell | |
- rabbitmq-server-nova-cell2:amqp | |
- - nova-compute:amqp | |
- rabbitmq-server-nova:amqp | |
- - nova-compute-cell2:amqp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config.yaml b/config.yaml | |
index 3e4a4e9..387d7b6 100644 | |
--- a/config.yaml | |
+++ b/config.yaml | |
@@ -1,4 +1,11 @@ | |
options: | |
+ cell-name: | |
+ type: string | |
+ default: | |
+ description: | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/actions.yaml b/src/actions.yaml | |
new file mode 100644 | |
index 0000000..46edcec | |
--- /dev/null | |
+++ b/src/actions.yaml | |
@@ -0,0 +1,10 @@ | |
+add-sink-config: | |
+ description: | | |
+ Add one of the pre-defined sink configs | |
+ params: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import requests_oauthlib | |
url = 'http://10.0.0.205/MAAS' | |
mac_url = '{}/api/2.0/machines/?format=json'.format(url) | |
api_key = 'YOUR MAAS API KEY' | |
_keys = api_key.split(':') | |
consumer_key = _keys[0] | |
access_token = _keys[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source ~/clientsrc | |
. ~/novarc_auto | |
unset OS_DOMAIN_NAME | |
image_name="trusty" | |
image_name="bionic" | |
prefix="_$(date +'%d%m%y%H%M%S')" | |
vol_name="bootvol${prefix}" | |
server_name="server${prefix}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A ceph client may require that ceph is configured with particular settings. In | |
the case of the ceph iscsi gateway the osd timeout value needs to be lowered | |
for detecting down OSDs to reduce the possibility of initiator timeouts. To | |
facilitate this the existing ceph-client and osd relations could be extended | |
to pass on the request from a client. | |
1) The client charm sets a new 'osd-settings' option. The value is a json | |
encoded dictionary of settings e.g. | |
{"osd-settings": {"osd heartbeat grace": 20, "osd heartbeat interval": 5}} |
OlderNewer