scullery¶
Utility for executing Cloud related recipes
Most of the recipes in scullery require admin access.
Authentication¶
scullery accepts authentication credentials as:
command line -> environment -> configuration files
Via command line it accepts in order of preference:
token (assumed to be either unscoped or of the appropriate scope)
ak/sk
username+password
Via environment:
token
OS_AUTH_TOKEN … OS_AUTH_USER_ID or OS_AUTH_DOMAIN_ID ! OS_AUTH_PROJECT_ID
ak/sk
OS_ACCESS_KEY, OS_SECRET_KEY and optional OS_SECURITY_TOKEN
username+password
OS_USERNAME
OS_USER_DOMAIN_NAME
OS_PASSWORD
Configuration files:
/etc/openstack/{clouds,secure}.yaml
~/.config/openstack/{clouds,secure}.yaml
current dir ./{clouds,secure}.yaml)
For files, the configuration template is as follows:
clouds:
scullery:
auth:
username: '<USER_NAME>'
password: '<PASSWORD>'
user_domain_name: 'OTC00000000001000000xxx'
or
clouds:
scullery:
ak: <AK_VALUE>
sk: <AK_VALUE>
NOTE: only the key scullery is recognized. Any other values
will be ignored.
This configuration is mostly similar to python-otcextensions configuration files.
scullery will also use this file to store cached credentials when appropriate.
Available Recipes¶
Command |
Module |
Description |
|---|---|---|
|
|
OBS – list, create, delete buckets; manage tags and access policies |
|
rcp_cfgwiz.py |
Configuration wizard to interactively setup scullery |
|
|
List available Dedicated Host types |
|
|
ECS – list, inspect, start, stop, reboot servers; query flavors |
|
|
IAM Groups – list, get details, create, delete |
|
|
IMS – list and filter images, get image details |
|
|
login/logout - Login/logout sessions |
|
|
Project – list, get details, create, delete, grant/revoke role assignments |
|
|
RMS – list cloud resources, optionally filtered by project |
|
|
IAM Roles – list custom/system roles, get details, create, delete |
|
|
TMS – list, create, delete pre-defined tags |
|
|
IAM Users – list, get, create, delete; manage group membership and passwords |
Run any recipe with -h / --help for full usage details.