Project

General

Profile

Bug #37843

mgr/dashboard: opening a config option in the editor is failing

Added by Tatjana Dehler 7 days ago. Updated 2 days ago.

Status:
Resolved
Priority:
Normal
Category:
dashboard/general
Target version:
Start date:
01/09/2019
Due date:
% Done:

0%

Source:
Development
Tags:
dashboard, configuration
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Opening a config option in the config options editor failing:

Uncaught Error: Found unknown type "str" for config option.
    at ConfigurationFormComponent.push../src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.ts.ConfigurationFormComponent.getType (configuration-form.component.ts:156)
    at ConfigurationFormComponent.push../src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.ts.ConfigurationFormComponent.getValidators (configuration-form.component.ts:160)
    at ConfigurationFormComponent.push../src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.ts.ConfigurationFormComponent.setResponse (configuration-form.component.ts:218)
    at SafeSubscriber._next (configuration-form.component.ts:64)
    at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:196)
    at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (Subscriber.js:134)
    at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next (Subscriber.js:77)
    at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54)
    at MapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/map.js.MapSubscriber._next (map.js:41)
    at MapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54)

The config options types given by the cluster have been changed:

['double', 'std::string', 'bool', 'uint64_t', 'int64_t', 'size_t', 'entity_addr_t', 'uuid_d', 'secs']

->

['float', 'str', 'bool', 'uint', 'int', 'size', 'addr', 'uuid', 'secs']

History

#1 Updated by Tatjana Dehler 7 days ago

  • Status changed from In Progress to Need Review
  • Pull request ID set to 25876

#2 Updated by Tatjana Dehler 6 days ago

  • Regression set to Yes

#3 Updated by Lenz Grimmer 2 days ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF