Project

General

Profile

Actions

Bug #37843

closed

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

Added by Tatjana Dehler over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
General
Target version:
% Done:

0%

Source:
Development
Tags:
dashboard, configuration
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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']

Actions #1

Updated by Tatjana Dehler over 5 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 25876
Actions #2

Updated by Tatjana Dehler over 5 years ago

  • Regression set to Yes
Actions #3

Updated by Lenz Grimmer over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions #4

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 132 to General
Actions

Also available in: Atom PDF