-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #314 from rackerlabs/deploy-fixesd
fix: deployment issues identified when creating a new env
- Loading branch information
Showing
8 changed files
with
81 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,6 @@ bootstrap: | |
--user="${OS_USERNAME}" \ | ||
--domain="${OS_DEFAULT_DOMAIN}" \ | ||
"admin" | ||
# TODO: only create this actually requested | ||
# create 'demo' user with sufficient permissions | ||
openstack user create --or-show --password demo --email '[email protected]' demo | ||
openstack user set --email '[email protected]' demo | ||
# add 'demo' user to 'ucadmin' group | ||
openstack group add user ucadmin demo | ||
# create 'argoworkflow' user | ||
# credentials for ironic-nautobot-sync and other argo workflows | ||
openstack project create undercloud --or-show | ||
|
@@ -90,6 +84,13 @@ bootstrap: | |
openstack role add --group ucadmin --domain default admin | ||
openstack role add --group ucadmin --project undercloud admin | ||
# TODO: only create this actually requested | ||
# create 'demo' user with sufficient permissions | ||
openstack user create --or-show --password demo --email '[email protected]' demo | ||
openstack user set --email '[email protected]' demo | ||
# add 'demo' user to 'ucadmin' group | ||
openstack group add user ucadmin demo | ||
network: | ||
# configure OpenStack Helm to use Undercloud's ingress | ||
# instead of expecting the ingress controller provided | ||
|
15 changes: 15 additions & 0 deletions
15
operators/rabbitmq-system/cluster-operator/kustomization.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- https://github.com/rabbitmq/cluster-operator/releases/download/v2.10.0/cluster-operator.yml | ||
|
||
# this needs to be here to remove the namespace from the above | ||
# because the cluster-operator defines the same namespace and it would conflict | ||
patches: | ||
- patch: |- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: rabbitmq-system | ||
$patch: delete |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- https://github.com/rabbitmq/cluster-operator/releases/latest/download/cluster-operator.yml | ||
|
||
# this needs to be here to remove the namespace from the above | ||
# because the messaging-topology-operator defines the same namespace and it would conflict | ||
patches: | ||
- patch: |- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: rabbitmq-system | ||
$patch: delete | ||
# have to put this after the patch above | ||
resources: # yamllint disable-line rule:key-duplicates | ||
- https://github.com/rabbitmq/messaging-topology-operator/releases/download/v1.13.0/messaging-topology-operator-with-certmanager.yaml | ||
- cluster-operator/ | ||
- messaging-topology/ |
13 changes: 13 additions & 0 deletions
13
operators/rabbitmq-system/messaging-topology/kustomization.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- https://github.com/rabbitmq/messaging-topology-operator/releases/download/v1.13.0/messaging-topology-operator-with-certmanager.yaml | ||
# this needs to be here to remove the namespace from the above | ||
# because the messaging-topology-operator defines the same namespace and it would conflict | ||
patches: | ||
- patch: |- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: rabbitmq-system | ||
$patch: delete |
26 changes: 26 additions & 0 deletions
26
python/neutron-understack/neutron_understack/tests/conftest.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import random | ||
import uuid | ||
|
||
import pytest | ||
|
||
|
||
@pytest.fixture | ||
def device_id() -> uuid.UUID: | ||
return uuid.uuid4() | ||
|
||
|
||
@pytest.fixture | ||
def mac_address() -> str: | ||
return ( | ||
f"{random.randint(0, 255):02x}:" | ||
f"{random.randint(0, 255):02x}:" | ||
f"{random.randint(0, 255):02x}:" | ||
f"{random.randint(0, 255):02x}:" | ||
f"{random.randint(0, 255):02x}:" | ||
f"{random.randint(0, 255):02x}" | ||
) | ||
|
||
|
||
@pytest.fixture | ||
def network_id() -> uuid.UUID: | ||
return uuid.uuid4() |
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 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 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