Skip to content

Instantly share code, notes, and snippets.

@rm-you
Created April 7, 2015 20:38
Show Gist options
  • Save rm-you/2f703d10c04f0eed26b3 to your computer and use it in GitHub Desktop.
Save rm-you/2f703d10c04f0eed26b3 to your computer and use it in GitHub Desktop.
2015-04-07 20:37:04.845 | + get_or_add_group_project_role 22364f193d39422b9ae6bbfeb4740834 5b025b2e2c014bec9b6097e5f223eb6f 839578796cb147628f04403147ef5a1f
2015-04-07 20:37:04.845 | ++ openstack role list --group 5b025b2e2c014bec9b6097e5f223eb6f --project 839578796cb147628f04403147ef5a1f --column ID --column Name
2015-04-07 20:37:04.846 | ++ grep ' 22364f193d39422b9ae6bbfeb4740834 '
2015-04-07 20:37:04.846 | ++ get_field 1
2015-04-07 20:37:04.846 | ++ local data field
2015-04-07 20:37:04.846 | ++ read data
2015-04-07 20:37:05.984 | usage: openstack role list [-h] [-f {csv,html,json,table,yaml}] [-c COLUMN]
2015-04-07 20:37:05.984 | [--max-width <integer>]
2015-04-07 20:37:05.984 | [--quote {all,minimal,none,nonnumeric}]
2015-04-07 20:37:05.984 | [--project <project>] [--user <user>]
2015-04-07 20:37:05.984 | openstack role list: error: unrecognized arguments: --group 5b025b2e2c014bec9b6097e5f223eb6f
2015-04-07 20:37:06.047 | + local group_role_id=
2015-04-07 20:37:06.047 | + [[ -z '' ]]
2015-04-07 20:37:06.047 | ++ openstack role add 22364f193d39422b9ae6bbfeb4740834 --group 5b025b2e2c014bec9b6097e5f223eb6f --project 839578796cb147628f04403147ef5a1f
2015-04-07 20:37:06.048 | ++ grep ' id '
2015-04-07 20:37:06.048 | ++ get_field 2
2015-04-07 20:37:06.049 | ++ local data field
2015-04-07 20:37:06.049 | ++ read data
2015-04-07 20:37:07.201 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2015-04-07 20:37:07.202 | [-c COLUMN] [--max-width <integer>]
2015-04-07 20:37:07.202 | [--prefix PREFIX] --project <project> --user <user>
2015-04-07 20:37:07.202 | <role>
2015-04-07 20:37:07.202 | openstack role add: error: argument --user is required
2015-04-07 20:37:07.260 | + group_role_id=
2015-04-07 20:37:07.260 | + echo
2015-04-07 20:37:07.260 |
2015-04-07 20:37:07.260 | + get_or_add_group_project_role 97baa14c4e3b4ce3aa8ee8c81e6b64b6 8470426ba484456b833c827b661f741b 80faa9d652bf4b6580d275b556019f2f
2015-04-07 20:37:07.261 | ++ openstack role list --group 8470426ba484456b833c827b661f741b --project 80faa9d652bf4b6580d275b556019f2f --column ID --column Name
2015-04-07 20:37:07.261 | ++ grep ' 97baa14c4e3b4ce3aa8ee8c81e6b64b6 '
2015-04-07 20:37:07.262 | ++ get_field 1
2015-04-07 20:37:07.262 | ++ local data field
2015-04-07 20:37:07.262 | ++ read data
2015-04-07 20:37:08.415 | usage: openstack role list [-h] [-f {csv,html,json,table,yaml}] [-c COLUMN]
2015-04-07 20:37:08.415 | [--max-width <integer>]
2015-04-07 20:37:08.415 | [--quote {all,minimal,none,nonnumeric}]
2015-04-07 20:37:08.415 | [--project <project>] [--user <user>]
2015-04-07 20:37:08.415 | openstack role list: error: unrecognized arguments: --group 8470426ba484456b833c827b661f741b
2015-04-07 20:37:08.475 | + local group_role_id=
2015-04-07 20:37:08.475 | + [[ -z '' ]]
2015-04-07 20:37:08.476 | ++ openstack role add 97baa14c4e3b4ce3aa8ee8c81e6b64b6 --group 8470426ba484456b833c827b661f741b --project 80faa9d652bf4b6580d275b556019f2f
2015-04-07 20:37:08.476 | ++ grep ' id '
2015-04-07 20:37:08.476 | ++ get_field 2
2015-04-07 20:37:08.477 | ++ local data field
2015-04-07 20:37:08.477 | ++ read data
2015-04-07 20:37:09.632 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2015-04-07 20:37:09.632 | [-c COLUMN] [--max-width <integer>]
2015-04-07 20:37:09.632 | [--prefix PREFIX] --project <project> --user <user>
2015-04-07 20:37:09.632 | <role>
2015-04-07 20:37:09.632 | openstack role add: error: argument --user is required
2015-04-07 20:37:09.694 | + group_role_id=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment