Last active
January 30, 2019 07:47
-
-
Save venkataanil/a6aaadcc4df099db266a57c2e464d251 to your computer and use it in GitHub Desktop.
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
[stack@undercloud-0 ~]$ source overcloudrc | |
(overcloud) [stack@undercloud-0 ~]$ openstack domain list | |
+----------------------------------+------------+---------+--------------------+ | |
| ID | Name | Enabled | Description | | |
+----------------------------------+------------+---------+--------------------+ | |
| 39f85d82ada6433c8cff239dfe5b2ba9 | test | True | | | |
| 9b28c602f5e542048fcff2970828ccc9 | heat_stack | True | | | |
| default | Default | True | The default domain | | |
+----------------------------------+------------+---------+--------------------+ | |
(overcloud) [stack@undercloud-0 ~]$ openstack project list | |
+----------------------------------+----------+ | |
| ID | Name | | |
+----------------------------------+----------+ | |
| 05e69fcc2a9d4faab8d6ff3ae3179d74 | project2 | | |
| 1cd86affe93a47328a4442586f2ab743 | project1 | | |
| 359bdc096c364be99a6fc03e1b107c7e | service | | |
| 8fdaf7fa19a74753aac2c78bc6c3bf7f | admin | | |
+----------------------------------+----------+ | |
(overcloud) [stack@undercloud-0 ~]$ openstack project list --domain default | |
+----------------------------------+----------+ | |
| ID | Name | | |
+----------------------------------+----------+ | |
| 8fdaf7fa19a74753aac2c78bc6c3bf7f | admin | | |
| 1cd86affe93a47328a4442586f2ab743 | project1 | | |
| 05e69fcc2a9d4faab8d6ff3ae3179d74 | project2 | | |
| 359bdc096c364be99a6fc03e1b107c7e | service | | |
+----------------------------------+----------+ | |
(overcloud) [stack@undercloud-0 ~]$ openstack project list --domain default [20/57] | |
+----------------------------------+----------+ | |
| ID | Name | | |
+----------------------------------+----------+ | |
| 8fdaf7fa19a74753aac2c78bc6c3bf7f | admin | | |
| 1cd86affe93a47328a4442586f2ab743 | project1 | | |
| 05e69fcc2a9d4faab8d6ff3ae3179d74 | project2 | | |
| 359bdc096c364be99a6fc03e1b107c7e | service | | |
+----------------------------------+----------+ | |
(overcloud) [stack@undercloud-0 ~]$ openstack project list --domain test | |
(overcloud) [stack@undercloud-0 ~]$ openstack project create --domain 39f85d82ada6433c8cff239dfe5b2ba9 --description "Test Project" test_project | |
+-------------+----------------------------------+ | |
| Field | Value | | |
+-------------+----------------------------------+ | |
| description | Test Project | | |
| domain_id | 39f85d82ada6433c8cff239dfe5b2ba9 | | |
| enabled | True | | |
| id | b11576c214fd4cf19839a7dffc9af64d | | |
| is_domain | False | | |
| name | test_project | | |
| parent_id | 39f85d82ada6433c8cff239dfe5b2ba9 | | |
| tags | [] | | |
+-------------+----------------------------------+ | |
(overcloud) [stack@undercloud-0 ~]$ openstack project list --domain test | |
+----------------------------------+--------------+ | |
| ID | Name | | |
+----------------------------------+--------------+ | |
| b11576c214fd4cf19839a7dffc9af64d | test_project | | |
+----------------------------------+--------------+ | |
(overcloud) [stack@undercloud-0 ~]$ openstack user create --domain 39f85d82ada6433c8cff239dfe5b2ba9 --password-prompt test_user | |
User Password: | |
Repeat User Password: | |
+---------------------+----------------------------------+ | |
| Field | Value | | |
+---------------------+----------------------------------+ | |
| domain_id | 39f85d82ada6433c8cff239dfe5b2ba9 | | |
| enabled | True | | |
| id | 7ffb84fd9d9e43f6a275db3726cda65e | | |
| name | test_user | | |
| options | {} | | |
| password_expires_at | None | | |
+---------------------+----------------------------------+ | |
(overcloud) [stack@undercloud-0 ~]$ #openstack role add --project test_project --user test_user | |
(overcloud) [stack@undercloud-0 ~]$ openstack role list | |
+----------------------------------+-----------------+ | |
| ID | Name | | |
+----------------------------------+-----------------+ | |
| 165e2bd51e1e4d74982c3928004ba850 | reader | | |
| 1f0339a395e14091bcf942a8f6213e05 | swiftoperator | | |
| 222f99bd8a9a46a5bf11a86360a8fc8f | admin | | |
| 765541ad01fb42899a93808051982928 | heat_stack_user | | |
| 77f263306ab140419093d43d905a46e9 | ResellerAdmin | | |
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | |
| c3b9ea95894a4833818cbb8390fb4c55 | member | | |
+----------------------------------+-----------------+ | |
(overcloud) [stack@undercloud-0 ~]$ openstack role list --domain test | |
(overcloud) [stack@undercloud-0 ~]$ nova show d3d745dc-37cb-40ba-8f8a-23ad855686e7^C | |
(overcloud) [stack@undercloud-0 ~]$ openstack role list --domain heat_stack | |
(overcloud) [stack@undercloud-0 ~]$ openstack role list --domain Default | |
(overcloud) [stack@undercloud-0 ~]$ openstack role list --domain default | |
(overcloud) [stack@undercloud-0 ~]$ | |
(overcloud) [stack@undercloud-0 ~]$ openstack role create test_role | |
+-----------+----------------------------------+ | |
| Field | Value | | |
+-----------+----------------------------------+ | |
| domain_id | None | | |
| id | a7d59840972c498fad0655cc6a1d432d | | |
| name | test_role | | |
+-----------+----------------------------------+ | |
(overcloud) [stack@undercloud-0 ~]$ openstack role add --project test_project --user test_user test_role | |
(overcloud) [stack@undercloud-0 ~]$ ls | |
ansible-errors.json hiera_override.yaml overcloud_install.log tripleo-config-generated-env-files undercloud_install.log | |
cirros-0.3.4-x86_64-disk.img instackenv.json overcloudrc tripleo-undercloud-passwords.yaml undercloud-passwords.conf | |
containers-prepare-parameter.yaml install-undercloud.log overcloudrc.v3 undercloud.conf undercloud-privkey.pem | |
core_puddle_version overcloud_deployment_15.log stackrc undercloud_deploy.sh virt | |
deploy_info.sh overcloud_deploy.sh tempest-deployer-input.conf undercloud-install-20190108145737.tar.bzip2 | |
(overcloud) [stack@undercloud-0 ~]$ nova list | |
/usr/lib/python2.7/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for 10.0.0.101 has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.) | |
SubjectAltNameWarning | |
/usr/lib/python2.7/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for 10.0.0.101 has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.) | |
SubjectAltNameWarning | |
+--------------------------------------+-----------+---------+------------+-------------+----------------------+ | |
| ID | Name | Status | Task State | Power State | Networks | | |
+--------------------------------------+-----------+---------+------------+-------------+----------------------+ | |
| a6672b38-7908-4834-bf03-5e0196b25a50 | instance2 | SHUTOFF | - | Shutdown | private=192.168.2.6 | | |
| d3d745dc-37cb-40ba-8f8a-23ad855686e7 | instance3 | SHUTOFF | - | Shutdown | private=192.168.2.10 | | |
+--------------------------------------+-----------+---------+------------+-------------+----------------------+ | |
(overcloud) [stack@undercloud-0 ~]$ neutron net-list | |
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. | |
+--------------------------------------+----------------------------------------------------+----------------------------------+-------------------------------------------------------+ | |
| id | name | tenant_id | subnets | | |
+--------------------------------------+----------------------------------------------------+----------------------------------+-------------------------------------------------------+ | |
| 13aa1079-c39b-4f39-8e63-ae8539c8d3e3 | RwIgPXCvdo | 8fdaf7fa19a74753aac2c78bc6c3bf7f | 31dabf6b-add3-44d4-8266-99184a22b3ff 11.11.11.0/24 | | |
| 490330a7-4c86-4f4f-92d4-b5215d513d5a | sQfPTGsPQd | 8fdaf7fa19a74753aac2c78bc6c3bf7f | 5b1e128a-e376-416e-bb88-5e5183e92a41 11.11.11.0/24 | | |
| 89ff9dea-12ea-431e-b727-35c3ee3f2657 | ntXGuVLQta | 8fdaf7fa19a74753aac2c78bc6c3bf7f | ab04ff01-4b1f-46e9-b158-ebf4ba62e9f7 11.11.11.0/24 | | |
| 92ea9434-0fd5-4b93-a66c-da416f31dc1a | bAitrNWzIt | 8fdaf7fa19a74753aac2c78bc6c3bf7f | 09bad138-dd68-4348-a3ff-779c712f552e 11.11.11.0/24 | | |
| 9f0e8a6d-eaa1-4bb4-82a6-b9dbbf339965 | oHOwAosgti | 8fdaf7fa19a74753aac2c78bc6c3bf7f | 8cc6c717-f990-49b4-acce-c1842a7f0857 11.11.11.0/24 | | |
| afd2c97f-4ef7-4797-9a60-b0cee265ebe8 | wBThjbLfhh | 8fdaf7fa19a74753aac2c78bc6c3bf7f | 8135a32b-8c50-4543-9d3f-5c99d776344f 11.11.11.0/24 | | |
| b9d9f25c-c4f0-4d00-acf2-35a6d691fb16 | private | 8fdaf7fa19a74753aac2c78bc6c3bf7f | 7828cbec-335b-433d-8c5d-e2361a5ac84d 192.168.2.0/24 | | |
| cb6e05e9-a892-4d12-acd3-18154f63fb39 | HA network tenant 8fdaf7fa19a74753aac2c78bc6c3bf7f | | 312045f0-0426-479d-ba5b-35dfb3da97f9 169.254.192.0/18 | | |
| d7153067-3046-4963-938d-bbb6ea2dca46 | qJafEUmsxq | 8fdaf7fa19a74753aac2c78bc6c3bf7f | b90823c0-3b04-4fbd-99b8-de0d177109b2 11.11.11.0/24 | | |
| f2add54b-14f6-4b24-a06b-d7d6a6a093af | ODiYbsOgLg | 8fdaf7fa19a74753aac2c78bc6c3bf7f | 914d83da-c58d-4962-a328-0daf04f7f124 11.11.11.0/24 | | |
+--------------------------------------+----------------------------------------------------+----------------------------------+-------------------------------------------------------+ | |
(overcloud) [stack@undercloud-0 ~]$ | |
(overcloud) [stack@undercloud-0 ~]$ cat overcloudrc_test | |
# Clear any old environment that may conflict. | |
for key in $( set | awk '{FS="="} /^OS_/ {print $1}' ); do unset $key ; done | |
export OS_NO_CACHE=True | |
export COMPUTE_API_VERSION=1.1 | |
export OS_USERNAME=test_user | |
export no_proxy=,10.0.0.101,192.168.24.9 | |
export OS_USER_DOMAIN_NAME=test | |
export OS_VOLUME_API_VERSION=3 | |
export OS_CLOUDNAME=overcloud | |
export OS_AUTH_URL=https://10.0.0.101:13000/v3 | |
export NOVA_VERSION=1.1 | |
export OS_IMAGE_API_VERSION=2 | |
export OS_PASSWORD=test_user | |
export OS_PROJECT_DOMAIN_NAME=test | |
export OS_IDENTITY_API_VERSION=3 | |
export OS_PROJECT_NAME=test_project | |
export OS_AUTH_TYPE=password | |
export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available" | |
# Add OS_CLOUDNAME to PS1 | |
if [ -z "${CLOUDPROMPT_ENABLED:-}" ]; then | |
export PS1=${PS1:-""} | |
export PS1=\${OS_CLOUDNAME:+"(\$OS_CLOUDNAME)"}\ $PS1 | |
export CLOUDPROMPT_ENABLED=1 | |
fi | |
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. | |
+--------------------------------------+------------+---------------------------------------+ | |
| id | name | subnets | | |
+--------------------------------------+------------+---------------------------------------+ | |
| 13aa1079-c39b-4f39-8e63-ae8539c8d3e3 | RwIgPXCvdo | 31dabf6b-add3-44d4-8266-99184a22b3ff | | |
| 490330a7-4c86-4f4f-92d4-b5215d513d5a | sQfPTGsPQd | 5b1e128a-e376-416e-bb88-5e5183e92a41 | | |
| 89ff9dea-12ea-431e-b727-35c3ee3f2657 | ntXGuVLQta | ab04ff01-4b1f-46e9-b158-ebf4ba62e9f7 | | |
| 92ea9434-0fd5-4b93-a66c-da416f31dc1a | bAitrNWzIt | 09bad138-dd68-4348-a3ff-779c712f552e | | |
| 9f0e8a6d-eaa1-4bb4-82a6-b9dbbf339965 | oHOwAosgti | 8cc6c717-f990-49b4-acce-c1842a7f0857 | | |
| afd2c97f-4ef7-4797-9a60-b0cee265ebe8 | wBThjbLfhh | 8135a32b-8c50-4543-9d3f-5c99d776344f | | |
| d7153067-3046-4963-938d-bbb6ea2dca46 | qJafEUmsxq | b90823c0-3b04-4fbd-99b8-de0d177109b2 | | |
| f2add54b-14f6-4b24-a06b-d7d6a6a093af | ODiYbsOgLg | 914d83da-c58d-4962-a328-0daf04f7f124 | | |
+--------------------------------------+------------+---------------------------------------+ | |
(overcloud) [stack@undercloud-0 ~]$ nova list | |
/usr/lib/python2.7/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for 10.0.0.101 has no `subjectAltName`, falling back to check for a `comm$nName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.) | |
SubjectAltNameWarning | |
/usr/lib/python2.7/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for 10.0.0.101 has no `subjectAltName`, falling back to check for a `comm$nName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.) | |
SubjectAltNameWarning | |
+----+------+--------+------------+-------------+----------+ | |
| ID | Name | Status | Task State | Power State | Networks | | |
+----+------+--------+------------+-------------+----------+ | |
+----+------+--------+------------+-------------+----------+ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment