The problem was that pg autoscaling is set to "on" by default. Therefore
the pg_num field is hidden, which caused the error. Now the test sets
the pg autoscaling to "off" revealing the pg_num field to make the tests
pass.
Fixes: https://tracker.ceph.com/issues/43594
Fixes: https://tracker.ceph.com/issues/43102
Signed-off-by: Stephan Müller <smueller@suse.com>
await nameInput.sendKeys(name);
await this.selectOption('poolType', 'replicated');
+ await this.expectSelectOption('pgAutoscaleMode', 'on');
+ await this.selectOption('pgAutoscaleMode', 'off'); // To show pgNum field
await $('input[name=pgNum]').sendKeys(
protractor.Key.CONTROL,
'a',
# Set SSL verify to False
./bin/ceph dashboard set-rgw-api-ssl-verify False
- # Disable PG autoscaling for new pools. This is a temporary workaround.
- # e2e tests for pools should be adapted to remove this workaround after
- # these issues are resolved:
- # - https://tracker.ceph.com/issues/38227
- # - https://tracker.ceph.com/issues/42638
- ./bin/ceph config set global osd_pool_default_pg_autoscale_mode off
-
BASE_URL=$(./bin/ceph mgr services | jq -r .dashboard)
fi