Jump to: navigation, search

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

(Local CLIs)
(Local CLIs)
Line 3: Line 3:
 
=== Local CLIs ===
 
=== Local CLIs ===
 
Login to controller-0 console or via SSH with sysadmin/<sysadmin-password> .<br />
 
Login to controller-0 console or via SSH with sysadmin/<sysadmin-password> .<br />
<br />
+
'''Do not source /etc/platform/openrc .'''<br />
Set CLI context to the StarlingX OpenStack Cloud Application and setup OpenStack admin credentials:<br />
+
Set CLI context to the StarlingX OpenStack Cloud Application and setup OpenStack admin credentials:
'''''Without''''' sourcing /etc/platform/openrc:
 
 
<pre>
 
<pre>
 
sudo su -
 
sudo su -

Revision as of 21:59, 10 August 2019

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.:

GUI

REST APIs