From ac0bc0aaa75a9df57e16a8efa46f5e359854dbd4 Mon Sep 17 00:00:00 2001 From: dereknoblej <48695318+dereknoblej@users.noreply.github.com> Date: Thu, 12 Sep 2024 16:16:54 -0500 Subject: [PATCH] DOC: Update Cloud Onboarding pages (#436) * DOC: Update Cloud Onboarding pages * Made end line correction * Updated os-cloud to be consistent * updated upload-artifact to v4 --------- Co-authored-by: Derek Noble Co-authored-by: Derek Noble --- .github/workflows/helm-barbican.yaml | 2 +- .github/workflows/helm-cinder.yaml | 2 +- .github/workflows/helm-glance.yaml | 2 +- .github/workflows/helm-heat.yaml | 2 +- .github/workflows/helm-horizon.yaml | 2 +- .github/workflows/helm-keystone.yaml | 2 +- .github/workflows/helm-loki.yaml | 2 +- .github/workflows/helm-magnum.yaml | 2 +- .github/workflows/helm-neutron.yaml | 2 +- .github/workflows/helm-nova.yaml | 2 +- .github/workflows/helm-octavia.yaml | 2 +- .github/workflows/helm-placement.yaml | 2 +- ...prometheus-openstack-metrics-exporter.yaml | 2 +- .github/workflows/kustomize-argocd.yaml | 2 +- .github/workflows/kustomize-etcd-backups.yaml | 2 +- .../kustomize-gateway-api-envoyproxy.yaml | 2 +- ...mize-gateway-api-nginx-gateway-fabric.yaml | 2 +- .../workflows/kustomize-k8s-dashboard.yaml | 2 +- .github/workflows/kustomize-libvirt.yaml | 2 +- .../workflows/kustomize-mariadb-cluster.yaml | 2 +- .../workflows/kustomize-mariadb-operator.yaml | 2 +- .github/workflows/kustomize-memcached.yaml | 2 +- .github/workflows/kustomize-openstack.yaml | 2 +- .github/workflows/kustomize-ovn.yaml | 2 +- .../kustomize-prometheus-mysql-exporter.yaml | 2 +- ...ustomize-prometheus-postgres-exporter.yaml | 2 +- ...ustomize-prometheus-rabbitmq-exporter.yaml | 2 +- .github/workflows/kustomize-prometheus.yaml | 2 +- .../workflows/kustomize-rabbitmq-cluster.yaml | 2 +- .../kustomize-rabbitmq-operator.yaml | 2 +- .../kustomize-rabbitmq-topology-operator.yaml | 2 +- .github/workflows/kustomize-rook-cluster.yaml | 2 +- .../workflows/kustomize-rook-defaults.yaml | 2 +- .../workflows/kustomize-rook-operator.yaml | 2 +- .../workflows/kustomize-sealed-secrets.yaml | 2 +- .github/workflows/kustomize-skyline.yaml | 2 +- .github/workflows/kustomize-topolvm.yaml | 2 +- .../kustomize-vault-secrets-operator.yaml | 2 +- .github/workflows/kustomize-vault.yaml | 2 +- .github/workflows/pre-commit.yaml | 2 +- docs/openstack-floating-ips.md | 58 +++++++++---------- docs/openstack-images.md | 10 ++-- docs/openstack-keypairs.md | 10 ++-- docs/openstack-router.md | 34 ++++++++--- docs/openstack-security-groups.md | 28 ++++----- docs/openstack-servers.md | 28 ++++----- docs/openstack-snapshot.md | 14 ++--- docs/openstack-volumes.md | 14 ++--- 48 files changed, 147 insertions(+), 129 deletions(-) diff --git a/.github/workflows/helm-barbican.yaml b/.github/workflows/helm-barbican.yaml index cde215b9..26b03031 100644 --- a/.github/workflows/helm-barbican.yaml +++ b/.github/workflows/helm-barbican.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args barbican/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-barbican-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-cinder.yaml b/.github/workflows/helm-cinder.yaml index cdf7c034..d1e646e5 100644 --- a/.github/workflows/helm-cinder.yaml +++ b/.github/workflows/helm-cinder.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args cinder/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-cinder-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-glance.yaml b/.github/workflows/helm-glance.yaml index e3d34fd6..fc8482f7 100644 --- a/.github/workflows/helm-glance.yaml +++ b/.github/workflows/helm-glance.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args glance/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-glance-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-heat.yaml b/.github/workflows/helm-heat.yaml index 82ed2df7..18afda13 100644 --- a/.github/workflows/helm-heat.yaml +++ b/.github/workflows/helm-heat.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args heat/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-heat-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-horizon.yaml b/.github/workflows/helm-horizon.yaml index 8f21a27e..a828e2ac 100644 --- a/.github/workflows/helm-horizon.yaml +++ b/.github/workflows/helm-horizon.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args horizon/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-horizon-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-keystone.yaml b/.github/workflows/helm-keystone.yaml index 83fff34f..c507ce20 100644 --- a/.github/workflows/helm-keystone.yaml +++ b/.github/workflows/helm-keystone.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args keystone/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-keystone-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-loki.yaml b/.github/workflows/helm-loki.yaml index 070b4ffe..569b5509 100644 --- a/.github/workflows/helm-loki.yaml +++ b/.github/workflows/helm-loki.yaml @@ -33,7 +33,7 @@ jobs: --namespace grafana \ loki grafana/loki > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-loki-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-magnum.yaml b/.github/workflows/helm-magnum.yaml index 746c800f..e6fff7ea 100644 --- a/.github/workflows/helm-magnum.yaml +++ b/.github/workflows/helm-magnum.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args magnum/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-magnum-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-neutron.yaml b/.github/workflows/helm-neutron.yaml index 02e6e4c1..94749784 100644 --- a/.github/workflows/helm-neutron.yaml +++ b/.github/workflows/helm-neutron.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args neutron/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-neutron-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-nova.yaml b/.github/workflows/helm-nova.yaml index 20fb321d..d7e836e3 100644 --- a/.github/workflows/helm-nova.yaml +++ b/.github/workflows/helm-nova.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args nova/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-nova-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-octavia.yaml b/.github/workflows/helm-octavia.yaml index 612a8d08..21ef9128 100644 --- a/.github/workflows/helm-octavia.yaml +++ b/.github/workflows/helm-octavia.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args octavia/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-octavia-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-placement.yaml b/.github/workflows/helm-placement.yaml index a482fca2..ceadb31a 100644 --- a/.github/workflows/helm-placement.yaml +++ b/.github/workflows/helm-placement.yaml @@ -49,7 +49,7 @@ jobs: --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ --post-renderer-args placement/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-placement-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/helm-prometheus-openstack-metrics-exporter.yaml b/.github/workflows/helm-prometheus-openstack-metrics-exporter.yaml index d904057c..88a198b0 100644 --- a/.github/workflows/helm-prometheus-openstack-metrics-exporter.yaml +++ b/.github/workflows/helm-prometheus-openstack-metrics-exporter.yaml @@ -37,7 +37,7 @@ jobs: --timeout 120m \ -f ${{ github.workspace }}/base-helm-configs/monitoring/openstack-metrics-exporter/openstack-metrics-exporter-helm-overrides.yaml > /tmp/rendered.yaml - name: Return helm Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: helm-openstack-exporter-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-argocd.yaml b/.github/workflows/kustomize-argocd.yaml index 17527340..087b1c77 100644 --- a/.github/workflows/kustomize-argocd.yaml +++ b/.github/workflows/kustomize-argocd.yaml @@ -31,7 +31,7 @@ jobs: run: | kustomize build base-kustomize/argocd/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-argocd-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-etcd-backups.yaml b/.github/workflows/kustomize-etcd-backups.yaml index 3bcc1438..68c4ff02 100644 --- a/.github/workflows/kustomize-etcd-backups.yaml +++ b/.github/workflows/kustomize-etcd-backups.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/backups/etcd/ > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-etcd-backup-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-gateway-api-envoyproxy.yaml b/.github/workflows/kustomize-gateway-api-envoyproxy.yaml index 013ddc74..1f72f28c 100644 --- a/.github/workflows/kustomize-gateway-api-envoyproxy.yaml +++ b/.github/workflows/kustomize-gateway-api-envoyproxy.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/gateway/envoyproxy/ --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-gateway-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-gateway-api-nginx-gateway-fabric.yaml b/.github/workflows/kustomize-gateway-api-nginx-gateway-fabric.yaml index f224a09d..942bd092 100644 --- a/.github/workflows/kustomize-gateway-api-nginx-gateway-fabric.yaml +++ b/.github/workflows/kustomize-gateway-api-nginx-gateway-fabric.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/gateway/nginx-gateway-fabric/ --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-gateway-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-k8s-dashboard.yaml b/.github/workflows/kustomize-k8s-dashboard.yaml index 4c627d1b..d34e5a2c 100644 --- a/.github/workflows/kustomize-k8s-dashboard.yaml +++ b/.github/workflows/kustomize-k8s-dashboard.yaml @@ -22,7 +22,7 @@ jobs: run: | kustomize build base-kustomize/k8s-dashboard > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-k8s-dashboard-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-libvirt.yaml b/.github/workflows/kustomize-libvirt.yaml index 9ec085c5..600d47bc 100644 --- a/.github/workflows/kustomize-libvirt.yaml +++ b/.github/workflows/kustomize-libvirt.yaml @@ -34,7 +34,7 @@ jobs: run: | kustomize build base-kustomize/libvirt --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-libvirt-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-mariadb-cluster.yaml b/.github/workflows/kustomize-mariadb-cluster.yaml index 9999988e..d5983546 100644 --- a/.github/workflows/kustomize-mariadb-cluster.yaml +++ b/.github/workflows/kustomize-mariadb-cluster.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/mariadb-cluster/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-mariadb-cluster-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-mariadb-operator.yaml b/.github/workflows/kustomize-mariadb-operator.yaml index fb18ae85..88ed60ca 100644 --- a/.github/workflows/kustomize-mariadb-operator.yaml +++ b/.github/workflows/kustomize-mariadb-operator.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/mariadb-operator --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-mariadb-operator-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-memcached.yaml b/.github/workflows/kustomize-memcached.yaml index 556be2c8..32f73e79 100644 --- a/.github/workflows/kustomize-memcached.yaml +++ b/.github/workflows/kustomize-memcached.yaml @@ -33,7 +33,7 @@ jobs: run: | kustomize build base-kustomize/memcached/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-memcached-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-openstack.yaml b/.github/workflows/kustomize-openstack.yaml index 14ffc4e1..1648b16c 100644 --- a/.github/workflows/kustomize-openstack.yaml +++ b/.github/workflows/kustomize-openstack.yaml @@ -22,7 +22,7 @@ jobs: run: | kustomize build base-kustomize/openstack > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-openstack-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-ovn.yaml b/.github/workflows/kustomize-ovn.yaml index 2235e4dc..4eb59c47 100644 --- a/.github/workflows/kustomize-ovn.yaml +++ b/.github/workflows/kustomize-ovn.yaml @@ -22,7 +22,7 @@ jobs: run: | kustomize build base-kustomize/ovn > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-ovn-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-prometheus-mysql-exporter.yaml b/.github/workflows/kustomize-prometheus-mysql-exporter.yaml index a06d1812..90be0782 100644 --- a/.github/workflows/kustomize-prometheus-mysql-exporter.yaml +++ b/.github/workflows/kustomize-prometheus-mysql-exporter.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/prometheus-mysql-exporter/ --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-prometheus-mysql-exporter-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-prometheus-postgres-exporter.yaml b/.github/workflows/kustomize-prometheus-postgres-exporter.yaml index 44a230e2..ca931d03 100644 --- a/.github/workflows/kustomize-prometheus-postgres-exporter.yaml +++ b/.github/workflows/kustomize-prometheus-postgres-exporter.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/prometheus-postgres-exporter/ --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-prometheus-postgres-exporter-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-prometheus-rabbitmq-exporter.yaml b/.github/workflows/kustomize-prometheus-rabbitmq-exporter.yaml index 3dba4465..c6154147 100644 --- a/.github/workflows/kustomize-prometheus-rabbitmq-exporter.yaml +++ b/.github/workflows/kustomize-prometheus-rabbitmq-exporter.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/prometheus-rabbitmq-exporter/ --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-prometheus-rabbitmq-exporter-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-prometheus.yaml b/.github/workflows/kustomize-prometheus.yaml index 0ca1048f..59fccfff 100644 --- a/.github/workflows/kustomize-prometheus.yaml +++ b/.github/workflows/kustomize-prometheus.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/prometheus/ --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-prometheus-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-rabbitmq-cluster.yaml b/.github/workflows/kustomize-rabbitmq-cluster.yaml index 0d7dcecc..2337b825 100644 --- a/.github/workflows/kustomize-rabbitmq-cluster.yaml +++ b/.github/workflows/kustomize-rabbitmq-cluster.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/rabbitmq-cluster/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-rabbitmq-cluster-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-rabbitmq-operator.yaml b/.github/workflows/kustomize-rabbitmq-operator.yaml index 072d680e..e5216ec7 100644 --- a/.github/workflows/kustomize-rabbitmq-operator.yaml +++ b/.github/workflows/kustomize-rabbitmq-operator.yaml @@ -22,7 +22,7 @@ jobs: run: | kustomize build base-kustomize/rabbitmq-operator > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-rabbitmq-operator-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-rabbitmq-topology-operator.yaml b/.github/workflows/kustomize-rabbitmq-topology-operator.yaml index 0cb5987d..b338d03f 100644 --- a/.github/workflows/kustomize-rabbitmq-topology-operator.yaml +++ b/.github/workflows/kustomize-rabbitmq-topology-operator.yaml @@ -22,7 +22,7 @@ jobs: run: | kustomize build base-kustomize/rabbitmq-topology-operator > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-rabbitmq-topology-operator-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-rook-cluster.yaml b/.github/workflows/kustomize-rook-cluster.yaml index 14be4ad1..54800484 100644 --- a/.github/workflows/kustomize-rook-cluster.yaml +++ b/.github/workflows/kustomize-rook-cluster.yaml @@ -22,7 +22,7 @@ jobs: run: | kustomize build base-kustomize/rook-cluster > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-rook-cluster-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-rook-defaults.yaml b/.github/workflows/kustomize-rook-defaults.yaml index bd151ce3..51639aac 100644 --- a/.github/workflows/kustomize-rook-defaults.yaml +++ b/.github/workflows/kustomize-rook-defaults.yaml @@ -22,7 +22,7 @@ jobs: run: | kustomize build base-kustomize/rook-defaults > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-rook-defaults-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-rook-operator.yaml b/.github/workflows/kustomize-rook-operator.yaml index 183f9cc2..589948c7 100644 --- a/.github/workflows/kustomize-rook-operator.yaml +++ b/.github/workflows/kustomize-rook-operator.yaml @@ -22,7 +22,7 @@ jobs: run: | kustomize build base-kustomize/rook-operator > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-rook-operator-artifact path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-sealed-secrets.yaml b/.github/workflows/kustomize-sealed-secrets.yaml index 5a77819f..201349bb 100644 --- a/.github/workflows/kustomize-sealed-secrets.yaml +++ b/.github/workflows/kustomize-sealed-secrets.yaml @@ -31,7 +31,7 @@ jobs: run: | kustomize build base-kustomize/sealed-secrets/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-sealed-secrets-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-skyline.yaml b/.github/workflows/kustomize-skyline.yaml index 5bcd035e..e6d53c05 100644 --- a/.github/workflows/kustomize-skyline.yaml +++ b/.github/workflows/kustomize-skyline.yaml @@ -27,7 +27,7 @@ jobs: run: | kustomize build base-kustomize/skyline/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-skyline-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-topolvm.yaml b/.github/workflows/kustomize-topolvm.yaml index 616ca6d7..39cda6ad 100644 --- a/.github/workflows/kustomize-topolvm.yaml +++ b/.github/workflows/kustomize-topolvm.yaml @@ -31,7 +31,7 @@ jobs: run: | kustomize build base-kustomize/topolvm/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-topolvm-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-vault-secrets-operator.yaml b/.github/workflows/kustomize-vault-secrets-operator.yaml index bb36d1a3..3d61be49 100644 --- a/.github/workflows/kustomize-vault-secrets-operator.yaml +++ b/.github/workflows/kustomize-vault-secrets-operator.yaml @@ -31,7 +31,7 @@ jobs: run: | kustomize build base-kustomize/vault-secrets-operator/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-vault-secrets-operator-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/kustomize-vault.yaml b/.github/workflows/kustomize-vault.yaml index deddf932..03872693 100644 --- a/.github/workflows/kustomize-vault.yaml +++ b/.github/workflows/kustomize-vault.yaml @@ -31,7 +31,7 @@ jobs: run: | kustomize build base-kustomize/vault/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml - name: Return Kustomize Build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: kustomize-vault-artifact-${{ matrix.overlays }} path: /tmp/rendered.yaml diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index b3063c40..a476473a 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -30,7 +30,7 @@ jobs: echo "pre-commit run --files ${{ steps.changed-files.outputs.all_changed_files }}" - name: Upload log artifacts on failure if: failure() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: pre-commit-py${{ matrix.python-version }} path: /home/runner/.cache/pre-commit/pre-commit.log diff --git a/docs/openstack-floating-ips.md b/docs/openstack-floating-ips.md index b4eeb5b7..f3796150 100644 --- a/docs/openstack-floating-ips.md +++ b/docs/openstack-floating-ips.md @@ -5,7 +5,7 @@ To read more about Openstack Floating Ips using the [upstream docs](https://docs #### List and view floating ips ``` shell -openstack floating ip list +openstack --os-cloud={cloud name} floating ip list [--network ] [--port ] [--fixed-ip-address ] @@ -18,7 +18,7 @@ openstack floating ip list #### Create a floating ip ``` shell -openstack floating ip create +openstack --os-cloud={cloud name} floating ip create [--subnet ] [--port ] [--floating-ip-address ] @@ -36,7 +36,7 @@ openstack floating ip create ``` shell -openstack floating ip delete [ ...] +openstack --os-cloud={cloud name} floating ip delete [ ...] ``` #### Floating ip set @@ -44,7 +44,7 @@ openstack floating ip delete [ ...] Set floating IP properties ``` shell -openstack floating ip set +openstack --os-cloud={cloud name} floating ip set --port [--fixed-ip-address ] @@ -53,13 +53,13 @@ openstack floating ip set #### Display floating ip details ``` shell -openstack floating ip show $VIP +openstack --os-cloud={cloud name} floating ip show $VIP ``` #### Unset floating IP Properties ``` shell -openstack floating ip unset --port $VIP +openstack --os-cloud={cloud name} floating ip unset --port $VIP ``` #### Associate floating IP addresses @@ -69,7 +69,7 @@ You can assign a floating IP address to a project and to an instance. Associate an IP address with an instance in the project, as follows: ``` shell -openstack server add floating ip $INSTANCE_UUID $VIP +openstack --os-cloud={cloud name} server add floating ip $INSTANCE_UUID $VIP ``` #### Disassociate floating IP addresses @@ -77,13 +77,13 @@ openstack server add floating ip $INSTANCE_UUID $VIP To disassociate a floating IP address from an instance: ``` shell -openstack server remove floating ip $INSTANCE_UUID $VIP +openstack --os-cloud={cloud name} server remove floating ip $INSTANCE_UUID $VIP ``` To remove the floating IP address from a project: ``` shell -openstack floating ip delete $VIP +openstack --os-cloud={cloud name} floating ip delete $VIP ``` #### Floating Ip Example @@ -95,19 +95,19 @@ You will need to get your cloud name from your `clouds.yaml`. More information o First create a floating ip either from PUBLICNET or the public ip pool. ``` shell -openstack --os-cloud $CLOUD floating ip create PUBLICNET +openstack --os-cloud={cloud name} floating ip create PUBLICNET ``` Second get the cloud server UUID. ``` shell -openstack --os-cloud $CLOUD server list +openstack --os-cloud={cloud name} server list ``` Third add the floating ip to the server ``` shell -openstack --os-cloud $CLOUD server add floating ip $UUID $VIP +openstack --os-cloud={cloud name} server add floating ip $UUID $VIP ``` #### Shared floating IP and virtual IP @@ -133,13 +133,13 @@ With that caveat, you can set up a shared floating IP like this: 1. Create a Neutron network ``` shell - openstack network create tester-network + openstack --os-cloud={cloud name} network create tester-network ``` 2. Create a subnet for the network ``` shell - openstack subnet create --network tester-network \ + openstack --os-cloud={cloud name} subnet create --network tester-network \ --subnet-range $CIDR \ tester-subnet ``` @@ -149,7 +149,7 @@ With that caveat, you can set up a shared floating IP like this: Create `tester1` server. ``` shell - openstack server create tester1 --flavor m1.tiny \ + openstack --os-cloud={cloud name} server create tester1 --flavor m1.tiny \ --key-name keypair \ --network tester-network \ --image $IMAGE_UUID @@ -158,7 +158,7 @@ With that caveat, you can set up a shared floating IP like this: Create `tester2` server. ``` shell - openstack server create tester2 --flavor m1.tiny \ + openstack --os-cloud={cloud name} server create tester2 --flavor m1.tiny \ --key-name keypair \ --network tester-network \ --image $IMAGE_UUID @@ -167,7 +167,7 @@ With that caveat, you can set up a shared floating IP like this: 4. Create a port with a fixed IP for the VIP. ``` shell - openstack port create --fixed-ip subnet=tester-subnet \ + openstack --os-cloud={cloud name} port create --fixed-ip subnet=tester-subnet \ --network tester-network \ --no-security-group tester-vip-port ``` @@ -180,7 +180,7 @@ With that caveat, you can set up a shared floating IP like this: public IP, depending on your configuration. ``` shell - openstack router create tester-router + openstack --os-cloud={cloud name} router create tester-router ``` 6. Add at external Internet gateway to the router @@ -190,13 +190,13 @@ With that caveat, you can set up a shared floating IP like this: for your own installation. ``` shell - openstack router set --external-gateway PUBLICNET tester-router + openstack --os-cloud={cloud name} router set --external-gateway PUBLICNET tester-router ``` 7. Add the subnet to the router ``` shell - openstack router add subnet tester-router tester-subnet + openstack --os-cloud={cloud name} router add subnet tester-router tester-subnet ``` 8. Create a floating IP for the port @@ -207,7 +207,7 @@ With that caveat, you can set up a shared floating IP like this: here. ``` shell - openstack floating ip create --port tester-vip-port PUBLICNET + openstack --os-cloud={cloud name} floating ip create --port tester-vip-port PUBLICNET ``` Note and retain the ID and/or IP returned, since you will need it for the @@ -225,13 +225,13 @@ With that caveat, you can set up a shared floating IP like this: instances. ``` shell - openstack port list server tester1 # retrieve port UUID - openstack port set --allowed-address ip-address= + openstack --os-cloud={cloud name} port list server tester1 # retrieve port UUID + openstack --os-cloud={cloud name} port set --allowed-address ip-address= ``` ``` shell - openstack port list server tester2 # retrieve port UUID - openstack port set --allowed-address ip-address= + openstack --os-cloud={cloud name} port list server tester2 # retrieve port UUID + openstack --os-cloud={cloud name} port set --allowed-address ip-address= ``` The steps above complete creating the shared floating IP and VIP. The following @@ -246,7 +246,7 @@ steps allow you to test it. shows only a test. ``` shell - openstack server create tester-bastion --flavor m1.tiny \ + openstack --os-cloud={cloud name} server create tester-bastion --flavor m1.tiny \ --key-name keypair \ --network tester-network \ --image $IMAGE_UUID @@ -257,7 +257,7 @@ steps allow you to test it. You can specify the UUID or IP of the floating IP. ``` shell - openstack server add floating ip tester-bastion $UUID + openstack --os-cloud={cloud name} server add floating ip tester-bastion $UUID ``` 3. Alter security group rules to allow SSH and ICMP: @@ -267,7 +267,7 @@ steps allow you to test it. steps because the default security group will prevent all ingress traffic. ``` shell - openstack security group rule create --proto tcp \ + openstack --os-cloud={cloud name} security group rule create --proto tcp \ --dst-port 22 \ --remote-ip 0.0.0.0/0 default ``` @@ -275,7 +275,7 @@ steps allow you to test it. Now enable ICMP. ``` shell - openstack security group rule create --proto icmp \ + openstack --os-cloud={cloud name} security group rule create --proto icmp \ --dst-port -1 default ``` diff --git a/docs/openstack-images.md b/docs/openstack-images.md index 6cc09e9f..ec5c3b77 100644 --- a/docs/openstack-images.md +++ b/docs/openstack-images.md @@ -5,7 +5,7 @@ To read more about Openstack images please visit the [upstream docs](https://doc #### List and view images ``` shell -openstack image list +openstack --os-cloud={cloud name} image list [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--public | --private] @@ -17,13 +17,13 @@ openstack image list #### View image details ``` shell -openstack image show +openstack --os-cloud={cloud name} image show ``` #### Create a image ``` shell -openstack image create +openstack --os-cloud={cloud name} image create [--id ] [--store ] [--container-format ] @@ -46,7 +46,7 @@ openstack image create #### Delete a image ``` shell -openstack image delete [ ...] +openstack --os-cloud={cloud name} image delete [ ...] ``` #### Retrieving Images @@ -58,7 +58,7 @@ Please visit this page for examples of retrieving images [here](https://docs.ope Specify the server name, flavor ID, and image ID. ``` shell -openstack server create --flavor FLAVOR_ID --image IMAGE_ID --key-name KEY_NAME \ +openstack --os-cloud={cloud name} server create --flavor FLAVOR_ID --image IMAGE_ID --key-name KEY_NAME \ --user-data USER_DATA_FILE --security-group SEC_GROUP_NAME --property KEY=VALUE \ INSTANCE_NAME ``` diff --git a/docs/openstack-keypairs.md b/docs/openstack-keypairs.md index 7c01742c..020266ff 100644 --- a/docs/openstack-keypairs.md +++ b/docs/openstack-keypairs.md @@ -5,7 +5,7 @@ Read more about Openstack keypairs using the [upstream docs](https://docs.openst #### List and view Keypairs ``` shell -openstack keypair list +openstack --os-cloud={cloud name} keypair list [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--user ] @@ -21,7 +21,7 @@ openstack keypair list Before launching an instance, you must add a public key to the Compute service. ``` shell -openstack keypair create +openstack --os-cloud={cloud name} keypair create [--public-key | --private-key ] [--type ] [--user ] @@ -40,7 +40,7 @@ This command generates a key pair with the name that you specify for KEY_NAME, w If you have already generated a key pair and the public key is located at ~/.ssh/id_rsa.pub, run the following command to upload the public key. ``` shell -openstack keypair create --public-key ~/.ssh/id_rsa.pub KEY_NAME +openstack --os-cloud={cloud name} keypair create --public-key ~/.ssh/id_rsa.pub KEY_NAME ``` This command registers the public key at the Nova database and names the key pair the name that you specify for KEY_NAME @@ -48,7 +48,7 @@ This command registers the public key at the Nova database and names the key pai #### Delete a Keypair ``` shell -openstack keypair delete +openstack --os-cloud={cloud name} keypair delete [--user ] [--user-domain ] @@ -58,7 +58,7 @@ openstack keypair delete #### Show Keypair Details ``` shell -openstack keypair show +openstack --os-cloud={cloud name} keypair show [--public-key] [--user ] [--user-domain ] diff --git a/docs/openstack-router.md b/docs/openstack-router.md index 9a650e20..2c7031f4 100644 --- a/docs/openstack-router.md +++ b/docs/openstack-router.md @@ -5,7 +5,7 @@ Read more about Openstack Routers using the [upstream docs](https://docs.opensta #### Get List of Routers ``` shell -openstack --os-cloud {user cloud name router list +openstack --os-cloud={cloud name} router list [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--name ] @@ -23,7 +23,7 @@ openstack --os-cloud {user cloud name router list #### Create a Router ``` shell -openstack --os-cloud {user cloud name router create +openstack --os-cloud={cloud name} router create [--extra-property type=,name=,value=] [--enable | --disable] [--distributed | --centralized] @@ -48,7 +48,7 @@ openstack --os-cloud {user cloud name router create #### Add a Gateway to Router ``` shell -openstack --os-cloud {user cloud name router add gateway +openstack --os-cloud={cloud name} router add gateway [--fixed-ip subnet=,ip-address=] @@ -57,19 +57,19 @@ openstack --os-cloud {user cloud name router add gateway #### Add a Subnet to Router ``` shell -openstack --os-cloud {user cloud name router add subnet +openstack --os-cloud={cloud name} router add subnet ``` #### Add a Port to Router ``` shell -openstack --os-cloud {user cloud name router add port +openstack --os-cloud={cloud name} router add port ``` #### Set Router Properties ``` shell -openstack --os-cloud {user cloud name router set +openstack --os-cloud={cloud name} router set [--extra-property type=,name=,value=] [--name ] [--description ] @@ -95,14 +95,14 @@ openstack --os-cloud {user cloud name router set #### Delete Router ``` shell -openstack --os-cloud {user cloud name router add subnet +openstack --os-cloud={cloud name} router add subnet ``` #### Create Router Port ``` shell -openstack --os-cloud {user cloud name port create [-h] [-f {json,shell,table,value,yaml}] +openstack --os-cloud={cloud name} port create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width ] [--fit-width] [--print-empty] --network @@ -126,3 +126,21 @@ openstack --os-cloud {user cloud name port create [-h] [-f {json,shell,table,val [--tag | --no-tag] ``` + +#### Creating a Router with Subnets Example + +``` shell +openstack --os-cloud={cloud name} router create {router_name} +``` + +Add subnet to the router and set the router's external gateway using PUBLICNET to allow outbound network access. + +``` shell +openstack --os-cloud={cloud name} router add subnet {router_name} {subnet_name} +``` + +Set the external gateway + +``` shell +openstack --os-cloud={cloud name} router set --external-gateway PUBLICNET {router_name} +``` diff --git a/docs/openstack-security-groups.md b/docs/openstack-security-groups.md index cfe61b4e..a13cbf6b 100644 --- a/docs/openstack-security-groups.md +++ b/docs/openstack-security-groups.md @@ -5,19 +5,19 @@ To read more about Openstack Security Groups using the [upstream docs](https://d #### List and view current security groups ``` shell -openstack security group list +openstack --os-cloud={cloud name} security group list ``` #### Create Security Groups ``` shell -openstack security group create SECURITY_GROUP_NAME --description GROUP_DESCRIPTION +openstack --os-cloud={cloud name} security group create SECURITY_GROUP_NAME --description GROUP_DESCRIPTION ``` #### Delete a specific Security Group ``` shell -openstack security group delete SECURITY_GROUP_NAME +openstack --os-cloud={cloud name} security group delete SECURITY_GROUP_NAME ``` #### Create and manage security group rules @@ -25,13 +25,13 @@ openstack security group delete SECURITY_GROUP_NAME To list the rules for a security group, run the following command: ``` shell -openstack security group rule list SECURITY_GROUP_NAME +openstack --os-cloud={cloud name} security group rule list SECURITY_GROUP_NAME ``` Add a new group rule: ``` shell -openstack security group rule create SEC_GROUP_NAME \ +openstack --os-cloud={cloud name} security group rule create SEC_GROUP_NAME \ --protocol PROTOCOL --dst-port FROM_PORT:TO_PORT --remote-ip CIDR ``` @@ -40,7 +40,7 @@ The arguments are positional, and the from-port and to-port arguments specify th #### To allow both HTTP and HTTPS traffic: ``` shell -openstack security group rule create global_http \ +openstack --os-cloud={cloud name} security group rule create global_http \ --protocol tcp --dst-port 443:443 --remote-ip 0.0.0.0/0 ``` @@ -49,13 +49,13 @@ openstack security group rule create global_http \ 1. Allow access from all IP addresses, specified as IP subnet 0.0.0.0/0 in CIDR notation: ``` shell - openstack security group rule create SECURITY_GROUP_NAME \ + openstack --os-cloud={cloud name} security group rule create SECURITY_GROUP_NAME \ --protocol tcp --dst-port 22:22 --remote-ip 0.0.0.0/0 ``` 2. Allow access only from IP addresses from other security groups (source groups) to access the specified port: ``` shell - openstack security group rule create SECURITY_GROUP_NAME \ + openstack --os-cloud={cloud name} security group rule create SECURITY_GROUP_NAME \ --protocol tcp --dst-port 22:22 --remote-group SOURCE_GROUP_NAME ``` #### To allow pinging of the instances, choose one of the following options: @@ -63,7 +63,7 @@ openstack security group rule create global_http \ 1. Allow pinging from all IP addresses, specified as IP subnet 0.0.0.0/0 in CIDR notation ``` shell - openstack security group rule create --protocol icmp \ + openstack --os-cloud={cloud name} security group rule create --protocol icmp \ SECURITY_GROUP_NAME ``` @@ -72,7 +72,7 @@ openstack security group rule create global_http \ 2. Allow only members of other security groups (source groups) to ping instances. ``` shell - openstack security group rule create --protocol icmp \ + openstack --os-cloud={cloud name} security group rule create --protocol icmp \ --remote-group SOURCE_GROUP_NAME SECURITY_GROUP ``` @@ -81,26 +81,26 @@ openstack security group rule create global_http \ 1. Allow UDP access from IP addresses, specified as IP subnet 0.0.0.0/0 in CIDR notation. ``` shell - openstack security group rule create --protocol udp \ + openstack --os-cloud={cloud name} security group rule create --protocol udp \ --dst-port 53:53 SECURITY_GROUP ``` 2. Allow only IP addresses from other security groups (source groups) to access the specified port. ``` shell - openstack security group rule create --protocol udp \ + openstack --os-cloud={cloud name} security group rule create --protocol udp \ --dst-port 53:53 --remote-group SOURCE_GROUP_NAME SECURITY_GROUP ``` #### Allow RDP access only from IP addresses from other security groups ``` shell - openstack security group rule create SECURITY_GROUP_NAME \ + openstack --os-cloud={cloud name} security group rule create SECURITY_GROUP_NAME \ --protocol tcp --dst-port 33:89 --remote-group SOURCE_GROUP_NAME ``` #### Delete a security group rule ``` shell -openstack security group rule delete RULE_ID +openstack --os-cloud={cloud name} security group rule delete RULE_ID ``` diff --git a/docs/openstack-servers.md b/docs/openstack-servers.md index 78290f9f..2f2a573d 100644 --- a/docs/openstack-servers.md +++ b/docs/openstack-servers.md @@ -5,7 +5,7 @@ To read more about Openstack Servers using the [upstream docs](https://docs.open #### List and view servers ``` shell -openstack server list +openstack --os-cloud={cloud name} server list [--quote {all,minimal,none,nonnumeric}] [--reservation-id ] [--ip ] @@ -32,7 +32,7 @@ openstack server list #### Create a new server ``` shell -openstack server create +openstack --os-cloud={cloud name} server create (--image | --volume ) --flavor [--security-group ] @@ -58,7 +58,7 @@ openstack server create You can place user data in a local file and pass it through the --user-data parameter at instance creation. ``` shell -openstack server create --image ubuntu-cloudimage \ +openstack --os-cloud={cloud name} server create --image ubuntu-cloudimage \ --flavor 1 \ --user-data mydata.file \ $INSTANCE_UUID @@ -73,7 +73,7 @@ To enable the config drive for an instance, pass the --config-drive true paramet The following example enables the config drive and passes a user data file and two key/value metadata pairs, all of which are accessible from the config drive: ``` shell -openstack server create --config-drive true \ +openstack --os-cloud={cloud name} server create --config-drive true \ --image my-image-name \ --flavor 1 \ --key-name mykey \ @@ -88,7 +88,7 @@ Read more about Openstack Config drives using the [upstream docs](https://docs.o #### Delete a server ``` shell -openstack server delete [--wait] [ ...] +openstack --os-cloud={cloud name} server delete [--wait] [ ...] ``` # Launch a server from a snapshot @@ -108,13 +108,13 @@ You will need to get your cloud name from your `clouds.yaml`. More information o First we are going to create our network "my_network" ``` shell -openstack --os-cloud $CLOUD network create my_network +openstack --os-cloud={cloud name} network create my_network ``` Second create the subnet "my_subnet" ``` shell -openstack --os-cloud $CLOUD subnet create --ip-version 4 \ +openstack --os-cloud={cloud name} subnet create --ip-version 4 \ --subnet-range $CIDR \ --network $NETWORK_NAME \ $CIDR @@ -123,33 +123,33 @@ openstack --os-cloud $CLOUD subnet create --ip-version 4 \ Third create the router "my_router" ``` shell -openstack --os-cloud $CLOUD router create my_router +openstack --os-cloud={cloud name} router create my_router ``` Fourth add "my_subnet" to "my_router" and set the router's external gateway using PUBLICNET to allow outbound network access. ``` shell -openstack --os-cloud $CLOUD router add subnet my_router my_dmz_subnet +openstack --os-cloud={cloud name} router add subnet my_router my_dmz_subnet ``` Set the external gateway ``` shell -openstack --os-cloud $CLOUD router set --external-gateway PUBLICNET my_router +openstack --os-cloud={cloud name} router set --external-gateway PUBLICNET my_router ``` Fifth gather the UUIDS for our image, flavor and network to create our server. ``` shell -openstack --os-cloud $CLOUD image list -openstack --os-cloud $CLOUD flavor list -openstack --os-cloud $CLOUD network list +openstack --os-cloud={cloud name} image list +openstack --os-cloud={cloud name} flavor list +openstack --os-cloud={cloud name} network list ``` Lastly create your server! ``` shell -openstack --os-cloud $CLOUD server create --flavor $FLAVOR_NAME \ +openstack --os-cloud={cloud name} server create --flavor $FLAVOR_NAME \ --image $IMAGE_NAME \ --boot-from-volume 25 \ --network $NETWORK_NAME \ diff --git a/docs/openstack-snapshot.md b/docs/openstack-snapshot.md index c6c5c786..090e651d 100644 --- a/docs/openstack-snapshot.md +++ b/docs/openstack-snapshot.md @@ -9,7 +9,7 @@ 1. Shut down the source VM before you take the snapshot to ensure that all data is flushed to disk. Use the openstack server stop command to shut down the instance: ``` shell - openstack server stop myInstance + openstack --os-cloud={cloud name} server stop myInstance ``` 2. Use the openstack server list command to confirm that the instance shows a SHUTOFF status. @@ -17,7 +17,7 @@ 3. Use the openstack server image create command to take a snapshot: ``` shell - openstack server image create myInstance --name myInstanceSnapshot + openstack --os-cloud={cloud name} server image create myInstance --name myInstanceSnapshot ``` The above command creates the image myInstance by taking a snapshot of a running server. @@ -25,13 +25,13 @@ 4. Use the openstack image list command to check the status until the status is active: ``` shell - openstack image list + openstack --os-cloud={cloud name} image list ``` #### Show Image Details ``` shell -openstack image show [--human-readable] +openstack --os-cloud={cloud name} image show [--human-readable] ``` #### Download the snapshot @@ -43,7 +43,7 @@ openstack image show [--human-readable] Download the snapshot by using the image ID: ``` shell -openstack image save --file snapshot.raw {Image ID} +openstack --os-cloud={cloud name} image save --file snapshot.raw {Image ID} ``` Make the image available to the new environment, either through HTTP or direct upload to a machine (scp). @@ -53,7 +53,7 @@ Make the image available to the new environment, either through HTTP or direct u In the new project or cloud environment, import the snapshot: ``` shell -openstack image create NEW_IMAGE_NAME \ +openstack --os-cloud={cloud name} image create NEW_IMAGE_NAME \ --container-format bare --disk-format qcow2 --file IMAGE_URL ``` @@ -62,5 +62,5 @@ openstack image create NEW_IMAGE_NAME \ In the new project or cloud environment, use the snapshot to create the new instance: ``` shell -openstack server create --flavor m1.tiny --image myInstanceSnapshot myNewInstance +openstack --os-cloud={cloud name} server create --flavor m1.tiny --image myInstanceSnapshot myNewInstance ``` diff --git a/docs/openstack-volumes.md b/docs/openstack-volumes.md index 74f5d060..7590a21b 100644 --- a/docs/openstack-volumes.md +++ b/docs/openstack-volumes.md @@ -7,13 +7,13 @@ You can create a bootable volume from an existing image, volume, or snapshot. Th 1. List available images, noting the ID of the image that you wish to use. ``` shell - openstack image list + openstack --os-cloud={cloud name} image list ``` 2. Create a bootable volume from the chosen image. ``` shell - openstack volume create \ + openstack --os-cloud={cloud name} volume create \ --image {Image ID} --size 10 \ test-volume ``` @@ -21,7 +21,7 @@ You can create a bootable volume from an existing image, volume, or snapshot. Th 3. Create a server, specifying the volume as the boot device. ``` shell - openstack server create \ + openstack --os-cloud={cloud name} server create \ --flavor $FLAVOR --network $NETWORK \ --volume {Volume ID}\ --wait test-server @@ -30,18 +30,18 @@ You can create a bootable volume from an existing image, volume, or snapshot. Th 4. List volumes once again to ensure the status has changed to in-use and the volume is correctly reporting the attachment. ``` shell - openstack volume list + openstack --os-cloud={cloud name} volume list ``` ``` shell - openstack server volume list test-server + openstack --os-cloud={cloud name} server volume list test-server ``` # Additional Server Volume Commands #### Add Volume to Server ``` shell -openstack server add volume +openstack --os-cloud={cloud name} server add volume [--device ] [--tag ] [--enable-delete-on-termination | --disable-delete-on-termination] @@ -52,5 +52,5 @@ openstack server add volume #### Remove Volume from Server ``` shell -openstack server remove volume +openstack --os-cloud={cloud name} server remove volume ```