← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1976445] [NEW] Checkbox "Set admin password" always is visible

 

Public bug reported:

Hello,

Options in local_settings not working correctly.

OPENSTACK_HYPERVISOR_FEATURES{
'can_set_password': False,
}

When we create instance we always see field "Set admin password" in Key
Pair menu.

If in file

https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-
instance/keypair/keypair.html#L29

replace

<settings-service required-
settings='["OPENSTACK_HYPERVISOR_FEATURES.can_set_password"]'>

to

<settings-service hz-if-
settings='["OPENSTACK_HYPERVISOR_FEATURES.can_set_password"]'>

fixit it.

Testing OS Releases:
Wallaby,Xena,Yoga

Centos8-Stream

Thank you,
Den Nu

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1976445

Title:
  Checkbox "Set admin password"  always is visible

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Hello,

  Options in local_settings not working correctly.

  OPENSTACK_HYPERVISOR_FEATURES{
  'can_set_password': False,
  }

  When we create instance we always see field "Set admin password" in
  Key Pair menu.

  If in file

  https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-
  instance/keypair/keypair.html#L29

  replace

  <settings-service required-
  settings='["OPENSTACK_HYPERVISOR_FEATURES.can_set_password"]'>

  to

  <settings-service hz-if-
  settings='["OPENSTACK_HYPERVISOR_FEATURES.can_set_password"]'>

  fixit it.

  Testing OS Releases:
  Wallaby,Xena,Yoga

  Centos8-Stream

  Thank you,
  Den Nu

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1976445/+subscriptions



Follow ups