Jump to: navigation, search

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

(Local CLIs)
(Local CLIs)
Line 4: Line 4:
 
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 />
 
'''Do not source /etc/platform/openrc .'''<br />
 
'''Do not source /etc/platform/openrc .'''<br />
 +
<br />
 
Set CLI context to the StarlingX OpenStack Cloud Application and setup OpenStack admin credentials:
 
Set CLI context to the StarlingX OpenStack Cloud Application and setup OpenStack admin credentials:
 
<pre>
 
<pre>

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