This file contains hidden or 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
| set_fact: | |
| foo_contents: "{{ lookup('template','foo.yaml') }}" # or , if non local, slurp the file and b64decode first | |
| # use config template | |
| config_template: | |
| src: 'bar.yaml' | |
| dest: 'bar.yaml' | |
| config_overrides: "{{ foo_contents }}" | |
| config_type: yaml |
This file contains hidden or 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
| --- | |
| build_registry: "jevrard-osh.openstack.local:5000/" | |
| developer_mode: "True" | |
| suse_osh_deploy_libvirt_yaml_overrides: | |
| images: | |
| tags: | |
| libvirt: "{{ build_registry }}openstackhelm/libvirt:latest-opensuse_15" | |
| docker_images: | |
| - context: libvirt | |
| repository: "{{ build_registry }}openstackhelm/libvirt" |
This file contains hidden or 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
| Where to build and publish OSH images? | |
| New repo or not? Under which governance: LOCI or OSH? | |
| Push to DockerHub/Quay on a periodic basis? | |
| Where is the documentation about openstackhelm/kubeadm-aio:dev ? | |
| Is that system ubuntu only, or multi distro? | |
| Reviews: Could I get reviews on: | |
| https://review.openstack.org/#/q/project:%255Eopenstack/openstack-helm.*+owner:%22Jean-Philippe+Evrard+%253Cjean-philippe%2540evrard.me%253E%22++status:open+-DNM |
This file contains hidden or 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 bash | |
| OBJECT_TYPE=( configmaps cronjobs daemonsets deployment endpoints ingresses jobs networkpolicies pods podsecuritypolicies persistentvolumeclaims rolebindings roles secrets serviceaccounts services statefulsets ) | |
| for type in ${OBJECT_TYPE[*]}; do | |
| kubectl get ${type} --all-namespaces=true -o json > /tmp/kubectl-${type}.json | |
| done | |
| tar zcvf /tmp/logs-kubectl.tar.gz /tmp/kubectl* |
This file contains hidden or 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 is a workaround of upstream image until a new version of bindep is released with my fix: | |
| FROM opensuse/leap:15 | |
| RUN sed -i 's/ID="opensuse-leap"/ID="opensuse"/g' /etc/os-release |
This file contains hidden or 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
| TASK: [ses | Run stage 3 - deployment] **************************************** | |
| failed: [ses] => {"changed": false, "cmd": ["salt-run", "state.orch", "ceph.stage.deploy"], "delta": "0:00:28.266748", "end": "2018-09-18 07:08:58.092822", "rc": 1, "start": "2018-09-18 07:08:29.826074", "stdout_lines": ["apparmor : \u001b[1m\u001b[92mdisabled\u001b[0m", "firewall : \u001b[1m\u001b[93m['enabled on minion ccp-26168-ccpd']\u001b[0m", "DEV_ENV : \u001b[1m\u001b[92mTrue\u001b[0m", "fsid : \u001b[1m\u001b[92mvalid\u001b[0m", "public_network : \u001b[1m\u001b[92mvalid\u001b[0m", "cluster_network : \u001b[1m\u001b[92mvalid\u001b[0m", "cluster_interface : \u001b[1m\u001b[92mvalid\u001b[0m", "monitors : \u001b[1m\u001b[92mvalid\u001b[0m", "mgrs : \u001b[1m\u001b[92mvalid\u001b[0m", "storage : \u001b[1m\u001b[92mvalid\u001b[0m", "ganesha : \u001b[1m\u001b[92mval |
This file contains hidden or 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
| ses_config_salt_minion: | |
| type: OS::Heat::SoftwareConfig | |
| properties: | |
| config: | |
| str_replace: | |
| params: | |
| $salt_master_ip: { get_attr: [ses-admin, networks, { get_resource: ses_network }, 0]} | |
| $snet: { get_resource: ses_network} | |
| $sfull: { get_attr: [ses-admin, networks] } | |
| $sextract: { get_attr: [ses-admin, networks, { get_resource: ses_network}] } |
This file contains hidden or 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
| aio1 ansible_connection=local ansible_host=127.0.0.1 | |
| # is_metal=True | |
| ## Setup hosts | |
| [physical_hosts] | |
| aio1 | |
| ## Setup infra | |
| [etcd_all] |
This file contains hidden or 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
| aodh_container | |
| ceilometer_collector_container | |
| compute_all | |
| utility_container | |
| swift-proxy_containers | |
| cinder_scheduler_container | |
| rsyslog | |
| neutron_bgp_dragent | |
| ironic-compute_hosts | |
| operator_containers |
This file contains hidden or 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
| apt purge vagrant | |
| wget https://releases.hashicorp.com/vagrant/2.1.1/vagrant_2.1.1_x86_64.deb | |
| apt install ./vagrant_2.1.1_x86_64.deb | |
| vagrant plugin install vagrant-disksize | |
| vagrant box add --name sles12sp3 ./sles12sp3.x86_64-0.0.1.virtualbox-Build3.46.box | |