Jump to: navigation, search

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

(Local CLIs)
(Local CLIs)
Line 2: Line 2:
 
== Accessing StarlingX OpenStack ==
 
== Accessing StarlingX OpenStack ==
 
=== Local CLIs ===
 
=== Local CLIs ===
Set CLI context to OpenStack and setup OpenStack admin credentials:<br />
+
Login to controller-0 console or via SSH with sysadmin/<sysadmin-password> .<br />
 
<br />
 
<br />
In a '''''new''''' shell (i.e. logout and log back in on console or via ssh),<br />
+
Set CLI context to the StarlingX OpenStack Cloud Application and setup OpenStack admin credentials:<br />
'''''without''''' sourcing /etc/platform/openrc:
+
'''''Without''''' sourcing /etc/platform/openrc:
 
<pre>
 
<pre>
 
sudo su -
 
sudo su -
Line 28: Line 28:
 
</pre>
 
</pre>
 
<br />
 
<br />
 +
OpenStack CLI commands, for the StarlingX OpenStack Cloud Application, are now available via the 'openstack' command, e.g.:
  
 
=== GUI ===
 
=== GUI ===
 
=== REST APIs ===
 
=== REST APIs ===

Revision as of 21:58, 10 August 2019

Accessing StarlingX OpenStack

Local CLIs

Login to controller-0 console or via SSH with sysadmin/<sysadmin-password> .

Set CLI context to the StarlingX OpenStack Cloud Application and setup OpenStack admin credentials:
Without sourcing /etc/platform/openrc:

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