conjure-up / spells

conjure-up spells registry
79 stars 37 forks source link

openstack-novalxd - networks are sometimes created in the wrong 'admin' project #222

Closed ryan-beisner closed 5 years ago

ryan-beisner commented 5 years ago

With the openstack-novalxd spell, networks are sometimes created in the wrong 'admin' project, which means the project/tenant cannot create an instance on that network.

1 ubuntu@node-stutz:~$ snap info conjure-up
name:      conjure-up
summary:   Package runtime for conjure-up spells
publisher: Canonical✓
contact:   https://github.com/conjure-up/conjure-up
license:   unset
description: |
  This package provides conjure-up, an interface to installing spells that provide the user with an
  end to end walkthrough experience for installing and using big software.
commands:
  - conjure-up.conjure-down
  - conjure-up
  - conjure-up.juju
  - conjure-up.juju-wait
snap-id:      ijQR4HjYlTAmIjELJm5XCpNAqbDZWJ3h
tracking:     stable
refresh-date: today at 16:04 UTC
channels:                                     
  stable:    2.6.1-20181004.1510 (1029) 109MB classic
  candidate: 2.6.1-20181004.1510 (1029) 109MB classic
  beta:      2.6.1-20181004.1510 (1029) 109MB classic
  edge:      2.6.1-20181004.1510 (1029) 109MB classic
installed:   2.6.1-20181004.1510 (1029) 109MB classic
ubuntu@node-stutz:~$ openstack project list
+----------------------------------+----------+
| ID                               | Name     |
+----------------------------------+----------+
| 205d8fd389e348c6bc436167624049e3 | services |
| 407617b6048b473c8c50cf1336ef6a49 | admin    |
| 5a746b5f4f044c6e982d4e80592f17a5 | admin    |
| 94cff923c5544870bae30a12a05199d6 | services |
+----------------------------------+----------+
ubuntu@node-stutz:~$ env | grep OS
LESSCLOSE=/usr/bin/lesspipe %s %s
OS_AUTH_URL=http://10.108.57.235:5000/v3
OS_PROJECT_DOMAIN_ID=6e4e2285605d4871ad5a0b768e68a939
OS_REGION_NAME=RegionOne
OS_PROJECT_NAME=admin
OS_USER_DOMAIN_NAME=admin_domain
OS_IDENTITY_API_VERSION=3
OS_INTERFACE=public
OS_PASSWORD=openstack
OS_USERNAME=admin
OS_PROJECT_ID=5a746b5f4f044c6e982d4e80592f17a5
ubuntu@node-stutz:~$ openstack network show 8c42b57b-ab98-470e-80a4-e4e8de171ce2
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        | nova                                 |
| created_at                | 2018-10-09T17:10:45Z                 |
| description               |                                      |
| dns_domain                | None                                 |
| id                        | 8c42b57b-ab98-470e-80a4-e4e8de171ce2 |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | None                                 |
| is_vlan_transparent       | None                                 |
| mtu                       | 1458                                 |
| name                      | internal                             |
| port_security_enabled     | False                                |
| project_id                | 407617b6048b473c8c50cf1336ef6a49     |
| provider:network_type     | gre                                  |
| provider:physical_network | None                                 |
| provider:segmentation_id  | 5                                    |
| qos_policy_id             | None                                 |
| revision_number           | 3                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 0fcd1e19-4cc6-482c-aca7-e622122dd1c7 |
| tags                      |                                      |
| updated_at                | 2018-10-09T17:10:46Z                 |
+---------------------------+--------------------------------------+
ryan-beisner commented 5 years ago

As-deployed, the RC file obtained from dashboard says that I am in the "5a746b5f4f044c6e982d4e80592f17a5" admin project whereas the networks were created in the "407617b6048b473c8c50cf1336ef6a49" admin project.

ryan-beisner commented 5 years ago

tyvm :smile_cat: