Working to install OpenShift on OpenStack…

OpenStack is for providing infrastructure.
OpenShift is RedHat’s Kubernetes container management suite.

While trying to stall OpenShift, if failed with following:

[root@localhost openshift]# ./openshift-install create cluster
? SSH Public Key /root/.ssh/id_rsa.pub
? Platform openstack
? Cloud openstack
? ExternalNetwork openshift
? APIFloatingIPAddress 192.168.xx.50
? FlavorName openshift
? Base Domain os-os
? Cluster Name os-demo
? Pull Secret [? for help] ****************************************************************************************************************************************************************************************************************************************************INFO Credentials loaded from file "/root/openshift/clouds.yml"
FATAL failed to fetch Cluster: failed to fetch dependency of "Cluster": failed to generate asset "Platform Quota Check": error(MissingQuota): Cores is not available because the required number of resources (24) is more than the limit of 20, RAM is not available because the required number of resources (98304) is more than the limit of 51200
[root@localhost openshift]# openstack quota show
+----------------------+----------------------------------+
| Field                | Value                            |
+----------------------+----------------------------------+
| backup-gigabytes     | 1000                             |
| backups              | 10                               |
| cores                | 20                               |
| fixed-ips            | -1                               |
| floating-ips         | 50                               |
| gigabytes            | 1000                             |
| gigabytes_iscsi      | -1                               |
| groups               | 10                               |
| health_monitors      | None                             |
| injected-file-size   | 10240                            |
| injected-files       | 5                                |
| injected-path-size   | 255                              |
| instances            | 10                               |
| key-pairs            | 100                              |
| l7_policies          | None                             |
| listeners            | None                             |
| load_balancers       | None                             |
| location             | None                             |
| name                 | None                             |
| networks             | 100                              |
| per-volume-gigabytes | -1                               |
| pools                | None                             |
| ports                | 500                              |
| project              | 5cde8b452f0d42a68a8e7c3021d6b77b |
| project_name         | admin                            |
| properties           | 128                              |
| ram                  | 51200                            |
| rbac_policies        | 10                               |
| routers              | 10                               |
| secgroup-rules       | 100                              |
| secgroups            | 10                               |
| server-group-members | 10                               |
| server-groups        | 10                               |
| snapshots            | 10                               |
| snapshots_iscsi      | -1                               |
| subnet_pools         | -1                               |
| subnets              | 100                              |
| volumes              | 10                               |
| volumes_iscsi        | -1                               |
+----------------------+----------------------------------+
BEFORE
openstack quota set --properties -1 --server-groups -1 --ram -1 --key-pairs -1 --instances -1  --cores -1 --per-volume-gigabytes -1 --gigabytes -1 --backup-gigabytes -1 --snapshots -1 --volumes -1 --backups -1 --subnetpools -1 --ports -1 --subnets -1 --networks -1 --floating-ips -1 --secgroup-rules -1 --secgroups -1 --routers -1 --rbac-policies -1 5cde8b452f0d42a68a8e7c3021d6b77b
command to update quota…
+----------------------+----------------------------------+
| Field                | Value                            |
+----------------------+----------------------------------+
| backup-gigabytes     | -1                               |
| backups              | -1                               |
| cores                | -1                               |
| fixed-ips            | -1                               |
| floating-ips         | -1                               |
| gigabytes            | -1                               |
| gigabytes_iscsi      | -1                               |
| groups               | 10                               |
| health_monitors      | None                             |
| injected-file-size   | 10240                            |
| injected-files       | 5                                |
| injected-path-size   | 255                              |
| instances            | -1                               |
| key-pairs            | -1                               |
| l7_policies          | None                             |
| listeners            | None                             |
| load_balancers       | None                             |
| location             | None                             |
| name                 | None                             |
| networks             | -1                               |
| per-volume-gigabytes | -1                               |
| pools                | None                             |
| ports                | -1                               |
| project              | 5cde8b452f0d42a68a8e7c3021d6b77b |
| project_name         | admin                            |
| properties           | -1                               |
| ram                  | -1                               |
| rbac_policies        | -1                               |
| routers              | -1                               |
| secgroup-rules       | -1                               |
| secgroups            | -1                               |
| server-group-members | 10                               |
| server-groups        | -1                               |
| snapshots            | -1                               |
| snapshots_iscsi      | -1                               |
| subnet_pools         | -1                               |
| subnets              | -1                               |
| volumes              | -1                               |
| volumes_iscsi        | -1                               |
+----------------------+----------------------------------+
AFTER

Leave a Reply