Jump to: navigation, search

Difference between revisions of "StarlingX/Docs and Infra/InstallationGuides/virtual-AIO-Simplex/Access-StarlingX-OpenStack"

(Accessing StarlingX OpenStack)
 
Line 1: Line 1:
 +
{{Warning|header='''Warning - Deprecated'''|body='''This wiki page is out of date and now deprecated. For the current version of the StarlingX documentation please see the [https://docs.starlingx.io/ documentation website].'''}}
 +
 
__NOTOC__
 
__NOTOC__
 
== Accessing StarlingX OpenStack ==
 
== Accessing StarlingX OpenStack ==

Latest revision as of 18:28, 19 February 2020

Warning icon.svg Warning - Deprecated

This wiki page is out of date and now deprecated. For the current version of the StarlingX documentation please see the documentation website.


Accessing StarlingX OpenStack

Local CLIs

Login to controller-0 console or via SSH with sysadmin/<sysadmin-password> .
Do not source /etc/platform/openrc .

Set CLI context to the StarlingX OpenStack Cloud Application and setup OpenStack admin credentials:

sudo su -
mkdir -p /etc/openstack
tee /etc/openstack/clouds.yaml << EOF
clouds:
  openstack_helm:
    region_name: RegionOne
    identity_api_version: 3
    endpoint_type: internalURL
    auth:
      username: 'admin'
      password: '<sysadmin-password>'
      project_name: 'admin'
      project_domain_name: 'default'
      user_domain_name: 'default'
      auth_url: 'http://keystone.openstack.svc.cluster.local/v3'
EOF
exit

export OS_CLOUD=openstack_helm


OpenStack CLI commands, for the StarlingX OpenStack Cloud Application, are now available via the 'openstack' command, e.g.:

[sysadmin@controller-0 ~(keystone_admin)]$ openstack flavor list
+--------------------------------------+------------------+------+------+-----------+-------+-----------+
| ID                                   | Name             |  RAM | Disk | Ephemeral | VCPUs | Is Public |
+--------------------------------------+------------------+------+------+-----------+-------+-----------+
| 054531c5-e74e-4525-8f4f-f4c29e4ccb04 | squid            | 2000 |   20 |         0 |     2 | True      |
| 2fa29257-8842-4c8e-b8e8-3845b632dc33 | medium.2c.1G.2G  | 1024 |    2 |         0 |     2 | True      |
| 4151fb10-f5a6-4a76-944f-5e40a4a4cb15 | large.4c.2G.4G   | 2048 |    4 |         0 |     4 | True      |
| 78b75c6d-93ca-4603-b145-aeb13dc24961 | small.1c.500M.1G |  512 |    1 |         0 |     1 | True      |
| 8b9971df-6d83-425b-92a4-87581381da6a | vanilla          |    1 |    1 |         0 |     1 | True      |
| e94c8123-2602-4c51-8686-285c78d309de | xlarge.8c.4G.8G  | 4096 |    8 |         0 |     8 | True      |
+--------------------------------------+------------------+------+------+-----------+-------+-----------+
[sysadmin@controller-0 ~(keystone_admin)]$ openstack image list
+--------------------------------------+----------------------------------------+--------+
| ID                                   | Name                                   | Status |
+--------------------------------------+----------------------------------------+--------+
| 92300917-49ab-42f5-91cf-08edc9b36d20 | Fedora-Cloud-Base-30-1.2.x86_64.qcow2  | active |
| 15aaf0de-b369-49e7-9551-c42b23efa3fa | opensquidbox.amd64.1.06a.iso           | active |
| eeda4642-db83-4b28-8400-3f3ecfd7265a | xenial-server-cloudimg-amd64-disk1.img | active |
+--------------------------------------+----------------------------------------+--------+
[sysadmin@controller-0 ~(keystone_admin)]$ 



Remote CLIs

TBD


GUI

Initial access to the StarlingX Containerized OpenStack Horizon GUI is through your browser at address:

http://<oam-floating-ip-address>:31000

Use admin / <sysadmin-password> to login to the Containerized OpenStack Horizon as admin.


REST APIs

TBD ... this is hard.