servicecatalog / development

An Enterprise-ready Cloud Services Management Software
http://openservicecatalogmanager.org
Apache License 2.0
39 stars 27 forks source link

custom attribute values not automatically updated for controller settings (APP) #791

Open ghost opened 7 years ago

ghost commented 7 years ago

[Version] 17.2 2017/07/05

[How to reproduce]

  1. my app db has an incorrect API_USER_PWD for openstack e.g. _crypt:badpassword because I have customers with different passwords.
  2. as supplier or customer admin (depending on definition of custom attribute) set API_USER_PWD using custom attributes (ess.openstack)
  3. restart app domain
  4. try to access custom tab or other method that involves authentication.
  5. as customer go to existing openstack (or other) subscription and check custom tab.

[Expected result] custom tab shows status of all vms

[Observed result] custom tab does not show status (or displays error)

[Details] A subscription must be created or updated in order for the custom attributes (concerting controllers) to be updated in app db. This is a problem. The same problem exists if a custom attribute is deleted.

ghost commented 7 years ago

I'm not sure if this is a valid request .... so put to invalid

ghost commented 7 years ago

Since I am setting an attribute for the customer, I believe it should be valid for all subscriptions for this customer.

toshihiro-shiino commented 7 years ago

K5 passwords expire periodically. So, we will change password on K5 and custom attributes periodically. We will be in trouble if custom tabs of subscriptions I bought earlier don't work.