Overcloud deploy fails because ceph pg num
Issue
heat stack-list" is deprecated, please use "openstack stack list" instead
+--------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+-----------------+----------------------+----------------------+--------------------------------------+
| id | stack_name | stack_status | creation_time | updated_time | parent |
+--------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+-----------------+----------------------+----------------------+--------------------------------------+
| 04397922-3dc3-4705-8225-5088aafa1626 | newton | UPDATE_FAILED | 2017-10-06T17:10:56Z | 2017-10-09T18:08:25Z | None |
| efc5f76b-c6f6-4354-abbf-0e1401f8f89a | newton-AllNodesDeploySteps-t57jd54b2tgw | UPDATE_FAILED | 2017-10-06T17:38:57Z | 2017-10-09T18:12:11Z | 04397922-3dc3-4705-8225-5088aafa1626 |
| b0ceea62-d38a-40e1-af99-58474a56f055 | newton-AllNodesDeploySteps-t57jd54b2tgw-AllNodesPostUpgradeSteps-pfqb33qrhadf | CREATE_FAILED | 2017-10-09T18:14:13Z | None | efc5f76b-c6f6-4354-abbf-0e1401f8f89a |
| 064764fa-5d22-4242-a8f5-f9858aebfacc | newton-AllNodesDeploySteps-t57jd54b2tgw-AllNodesPostUpgradeSteps-pfqb33qrhadf-ControllerDeployment_Step4-p7llz4hn76w2 | CREATE_FAILED | 2017-10-09T18:24:36Z | None | b0ceea62-d38a-40e1-af99-58474a56f055 |
+--------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+-----------------+----------------------+----------------------+--------------------------------------+
[stack@osp ~]$ heat resource-list 064764fa-5d22-4242-a8f5-f9858aebfacc
WARNING (shell) "heat resource-list" is deprecated, please use "openstack stack resource list" instead
+---------------+--------------------------------------+--------------------------------+-----------------+----------------------+
| resource_name | physical_resource_id | resource_type | resource_status | updated_time |
+---------------+--------------------------------------+--------------------------------+-----------------+----------------------+
| 0 | 177e7e95-4530-43e9-b5a8-4e6d18c4ef59 | OS::Heat::StructuredDeployment | CREATE_FAILED | 2017-10-09T18:24:36Z |
| 1 | db4866a2-4d1a-43c7-9c85-fe632b8ed4b7 | OS::Heat::StructuredDeployment | CREATE_FAILED | 2017-10-09T18:24:36Z |
| 2 | a6457bd3-1119-4e8d-a9c9-5f1b52565938 | OS::Heat::StructuredDeployment | CREATE_FAILED | 2017-10-09T18:24:36Z |
+---------------+--------------------------------------+--------------------------------+-----------------+----------------------+
heat deployment-show 177e7e95-4530-43e9-b5a8-4e6d18c4ef59
'172.17.0.18:11211,172.17.0.16:11211,172.17.0.23:11211'\u001b[0m\n\u001b[mNotice: /Stage[main]/Gnocchi::Api/Gnocchi_config[api/auth_mode]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[backups]/Exec[set-backups-pg_num]/returns: + ceph osd pool set backups pg_num 900\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[backups]/Exec[set-backups-pg_num]/returns: Error E2BIG: specified pg_num 900 is too large (creating 388 new PGs on ~9 OSDs exceeds per-OSD max of 32)\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[backups]/Exec[set-backups-pgp_num]/returns: + ceph osd pool set backups pgp_num 900\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[backups]/Exec[set-backups-pgp_num]/returns: Error EINVAL: specified pgp_num 900 > pg_num 512\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[images]/Exec[set-images-pg_num]/returns: + ceph osd pool set images pg_num 900\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[images]/Exec[set-images-pg_num]/returns: Error E2BIG: specified pg_num 900 is too large (creating 388 new PGs on ~9 OSDs exceeds per-OSD max of 32)\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[images]/Exec[set-images-pgp_num]/returns: + ceph osd pool set images pgp_num 900\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[images]/Exec[set-images-pgp_num]/returns: Error EINVAL: specified pgp_num 900 > pg_num 512\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[metrics]/Exec[set-metrics-pg_num]/returns: + ceph osd pool set metrics pg_num 900\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[metrics]/Exec[set-metrics-pg_num]/returns: Error E2BIG: specified pg_num 900 is too large (creating 388 new PGs on ~9 OSDs exceeds per-OSD max of 32)\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[metrics]/Exec[set-metrics-pgp_num]/returns: + ceph osd pool set metrics pgp_num 900\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[metrics]/Exec[set-metrics-pgp_num]/returns: Error EINVAL: specified pgp_num 900 > pg_num 512\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[vms]/Exec[set-vms-pg_num]/returns: + ceph osd pool set vms pg_num 900\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[vms]/Exec[set-vms-pg_num]/returns: Error E2BIG: specified pg_num 900 is too large (creating 388 new PGs on ~9 OSDs exceeds per-OSD max of 32)\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[vms]/Exec[set-vms-pgp_num]/returns: + ceph osd pool set vms pgp_num 900\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[vms]/Exec[set-vms-pgp_num]/returns: Error EINVAL: specified pgp_num 900 > pg_num 512\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[volumes]/Exec[set-volumes-pg_num]/returns: + ceph osd pool set volumes pg_num 900\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[volumes]/Exec[set-volumes-pg_num]/returns: Error E2BIG: specified pg_num 900 is too large (creating 388 new PGs on ~9 OSDs exceeds per-OSD max of 32)\u001b[0m\n\u001b[mNotice: /Stage[main]/Tripleo::Profile::Base::Ceph::Mon/Ceph::Pool[volumes]/Exec[set-volumes-pgp_num]/returns: + ceph osd pool set volumes pgp_num
Environment
- Red Hat OpenStack Platform 10.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.