porthole/images/openstack-utility
Prateek Dodda c8afd0480b Openstack UC python and Ubuntu upgrade.
This Patchset updated Ubuntu to  Bionic
and Python from 2.0 to 3.0.

Change-Id: Ia87bcb06a2544ed456bf7efebf151e53efe64711
2019-12-10 17:46:54 +00:00
..
Dockerfile.ubuntu_bionic Openstack UC python and Ubuntu upgrade. 2019-12-10 17:46:54 +00:00
README.md Adjust code to project conventions 2019-11-19 14:56:22 +00:00

Openstack-utility Container

Utility container for Openstack shall enable Operations to trigger the command set for Compute, Network, Identity, Image, Block Storage, Queueing service APIs together from within a single shell with a uniform command structure. The access to Openstack shall be controlled through Openstack RBAC role assigned to the user. User will have to set the Openstack environment (openrc) in utility container to access the Openstack CLIs. The generic environment file will be placed in Utility container with common setting except username, password and project_ID. User needs to pass such parameters through command options.

Usage

  1. Get in to the utility pod using kubectl exec. To perform any operation use the below example. Please be ready with password for accessing below cli commands.

    • kubectl exec -it <POD_NAME> -n utility /bin/bash

example:

utilscli openstack server list --os-username <USER_NAME> --os-domain-name <DOMAIN_NAME>
--os-project-name <PROJECT_NAME utilscli openstack user list --os-username <USER_NAME> --os-domain-name <DOMAIN_NAME>
--os-project-name <PROJECT_NAME