porthole/images/openstack-utility
Sergiy Markin 2ddd25489a Fixed swiftclient and updated kubeclient
Added simplejson module for openstack container
command to work with swiftclient

Also bumped all kubectl versions to 1.31.0

Change-Id: I30a160fa8d352f2e0d0c544991159c672b190381
2024-09-19 20:27:25 +00:00
..
Dockerfile.ubuntu_bionic [images] Decrease images size 2023-12-21 19:04:12 +02:00
Dockerfile.ubuntu_focal Add openstack placement client 2024-08-07 00:57:18 +00:00
Dockerfile.ubuntu_jammy Fixed swiftclient and updated kubeclient 2024-09-19 20:27:25 +00:00
README.md Editorial changes to documentation files 2019-12-16 09:21:19 -06:00

OpenStack-utility Container

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

Usage

Get into the utility pod using kubectl exec. Perform an operation as in the following example. Please be ready with your password for accessing the 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