104 Red Hat OpenShift and IBM Cloud Paks on IBM Power Systems: Volume 1
| enabled     | True                             |
| id          | 385ab82655074660b07bb0757e116e39 |
| is_domain   | False                            |
| name        | ocp-project                      |
| parent_id   | default                          |
| tags        | []                               |
+-------------+----------------------------------+
3. Create a user and assign admin role for the ocp-project:
groupadd -g 3030 ocpadmin
useradd -g ocpadmin -u 3030 -d /home/ocpadmin -c "OpenShift Container Platform 
Admin"  ocpadmin
echo "ocpadmin:<password>" | chpasswd
usermod -a -G powervc-filter ocpadmin
openstack role add --project ocp-project --user ocpadmin admin
6.2.3  Creating the virtual machine to host deployment tools
Complete the following steps to create a virtual machine (LPAR) by using PowerVC CLI:
1. Set PowerVC access variables using the new user and project:
source /opt/ibm/powervc/powervcrc
export OS_PROJECT_NAME=ocp-project
export OS_USERNAME=ocpadmin
export OS_PASSWORD=<password>
openstack project list
+----------------------------------+-------------+
| ID                               | Name        |
+----------------------------------+-------------+
| 385ab82655074660b07bb0757e116e39 | ocp-project |
+----------------------------------+-------------+
2. List the flavors:
openstack flavor list
+--------------------------------------+---------+--------+------+-----------+-------+-----------+
| ID                                   | Name    |    RAM | Disk | Ephemeral | VCPUs | Is Public |
+--------------------------------------+---------+--------+------+-----------+-------+-----------+
| 16f4c456-debe-4b7f-a59e-d024667fb74b | medium  |  16384 |    0 |         0 |     4 | True      |
| 3f2f851b-1ae9-4604-bde9-f81984a924fa | xxlarge | 131072 |    0 |         0 |    32 | True      |
| 43032930-4dfb-417e-9501-80b5408076fc | large   |  32768 |    0 |         0 |     8 | True      |
| 962979ba-2ee7-464f-a0ea-856248765758 | tiny    |   4096 |    0 |         0 |     1 | True      |
| d7409716-49e2-426d-acb1-9de141b8d8ea | small   |   8192 |    0 |         0 |     2 | True      |
| e93908f5-b6f9-4bb9-bbff-9136c7a80211 | xlarge  |  65536 |    0 |         0 |    16 | True      |
+--------------------------------------+---------+--------+------+-----------+-------+-----------+
3. List the images:
openstack image list
+--------------------------------------+---------------------+--------+
| ID                                   | Name                | Status |
+--------------------------------------+---------------------+--------+
| 09ba0030-b6c3-4631-b9f9-19eb3333289c | xiv_p8_image_rhel76 | active |
| 77ad197b-0a4e-4792-a3c4-ea634ffa0fd3 | xiv_p9_image_rhel76 | active |
+--------------------------------------+---------------------+--------+