[Yahoo-eng-team] [Bug 1566455] [NEW] Using V3 Auth throws error TypeError at /auth/login/ __init__() got an unexpected keyword argument 'unscoped'
Public bug reported: PasswordPlugin class creates a plugin with 'unscoped' parameter. This is throwing the following error: TypeError at /auth/login/ __init__() got an unexpected keyword argument 'unscoped' LOG.debug('Attempting to authenticate for %s', username) if utils.get_keystone_version() >= 3: return v3_auth.Password(auth_url=auth_url, username=username, password=password, user_domain_name=user_domain_name, unscoped=True) ---> Deleting this line removes the error and authenticates successfully. else: return v2_auth.Password(auth_url=auth_url, username=username, password=password) I have V3 API and URL configured in Horizon settings. Using Horizon Kilo version. Is there some other setting that is needed? ** Affects: horizon Importance: Undecided Status: New ** Tags: keystone -- 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/1566455 Title: Using V3 Auth throws error TypeError at /auth/login/ __init__() got an unexpected keyword argument 'unscoped' Status in OpenStack Dashboard (Horizon): New Bug description: PasswordPlugin class creates a plugin with 'unscoped' parameter. This is throwing the following error: TypeError at /auth/login/ __init__() got an unexpected keyword argument 'unscoped' LOG.debug('Attempting to authenticate for %s', username) if utils.get_keystone_version() >= 3: return v3_auth.Password(auth_url=auth_url, username=username, password=password, user_domain_name=user_domain_name, unscoped=True) ---> Deleting this line removes the error and authenticates successfully. else: return v2_auth.Password(auth_url=auth_url, username=username, password=password) I have V3 API and URL configured in Horizon settings. Using Horizon Kilo version. Is there some other setting that is needed? To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1566455/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1558919] [NEW] Delete LB monitor shows error and success messages at the same time
Public bug reported: In Horizon, while deleting a loadbalancer monitor that is associated with a pool, an error message is thrown which is the correct behavior. However, it also shows a success message that the deletion has been scheduled. version: Kilo attached screenshot of messages. ** Affects: horizon Importance: Undecided Status: New ** Attachment added: "Screen Shot 2016-03-17 at 10.27.32 PM.png" https://bugs.launchpad.net/bugs/1558919/+attachment/4602832/+files/Screen%20Shot%202016-03-17%20at%2010.27.32%20PM.png ** Project changed: django-openstack-auth => horizon ** Summary changed: - Delete monitor show error and success message at the same time + Delete LB monitor shows error and success message at the same time ** Summary changed: - Delete LB monitor shows error and success message at the same time + Delete LB monitor shows error and success messages at the same time -- 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/1558919 Title: Delete LB monitor shows error and success messages at the same time Status in OpenStack Dashboard (Horizon): New Bug description: In Horizon, while deleting a loadbalancer monitor that is associated with a pool, an error message is thrown which is the correct behavior. However, it also shows a success message that the deletion has been scheduled. version: Kilo attached screenshot of messages. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1558919/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1532949] [NEW] Trove Username/Password not required fields
Public bug reported: In Horizon Databases, when you launch an instance, there is an Initialize Databases tab. The Initial Admin User and Password fields are mentioned as required (in the help text) but they are not enforced to be required. See attachment for Horizon view. Solution: Change 'required' to True for these form fields. ** 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/1532949 Title: Trove Username/Password not required fields Status in OpenStack Dashboard (Horizon): New Bug description: In Horizon Databases, when you launch an instance, there is an Initialize Databases tab. The Initial Admin User and Password fields are mentioned as required (in the help text) but they are not enforced to be required. See attachment for Horizon view. Solution: Change 'required' to True for these form fields. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1532949/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1528967] [NEW] Horizon doesn't create new scoped token when user role is removed
Public bug reported: When a user logs into Horizon an unscoped token is created using which a scoped token is obtained. I am logged into Horizon and remove myself from a project which is not the current active project. This results in all my scoped tokens getting invalidated. I have some API calls in the middleware that require authorization which fail because the token is invalid. Horizon will throw an Unauthorized error (see attachment) and the only way to recover from this is to clear cookies, logout and log back in again. Horizon should immediately obtain a new scoped token if previous token is invalidated. Alternatively, keystone should not invalidate all tokens (for all projects) when user is removed from one project. ** Affects: horizon Importance: Undecided Status: New ** Attachment added: "Screen Shot 2015-12-16 at 6.41.53 PM.png" https://bugs.launchpad.net/bugs/1528967/+attachment/4539573/+files/Screen%20Shot%202015-12-16%20at%206.41.53%20PM.png ** Project changed: django-openstack-auth => horizon -- 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/1528967 Title: Horizon doesn't create new scoped token when user role is removed Status in OpenStack Dashboard (Horizon): New Bug description: When a user logs into Horizon an unscoped token is created using which a scoped token is obtained. I am logged into Horizon and remove myself from a project which is not the current active project. This results in all my scoped tokens getting invalidated. I have some API calls in the middleware that require authorization which fail because the token is invalid. Horizon will throw an Unauthorized error (see attachment) and the only way to recover from this is to clear cookies, logout and log back in again. Horizon should immediately obtain a new scoped token if previous token is invalidated. Alternatively, keystone should not invalidate all tokens (for all projects) when user is removed from one project. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1528967/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1521871] [NEW] Networks form validation error message not shown
Public bug reported: When you are creating a network with a subnet under project -> network topology -> create network, if you input a valid IP without a subnet mask under "network address," Horizon will not throw an error but will still prevent you from advancing. Steps to reproduce: 1. Under Project -> Network Topology, open the "+ Create Network" modal. 2. Enter anything for page 1. 3. On page 2, enable "create subnet." 4. For Network Address, enter a valid IP which is not in the subnet format, e.g. 10.100.0.0 or 0.0.0.0, etc. 5. Press "Next" Horizon will not allow you to progress, but there is no error displayed on the UI. Based on the code, /32 subnet is assumed and the below error should be thrown but I don't see it on the screen. _("The subnet in the Network Address is too small (/%s).") % subnet.prefixlen ** Affects: horizon Importance: Undecided Status: New ** Project changed: django-openstack-auth => horizon ** Summary changed: - Form validation error message not shown + Networks form validation error message not shown -- 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/1521871 Title: Networks form validation error message not shown Status in OpenStack Dashboard (Horizon): New Bug description: When you are creating a network with a subnet under project -> network topology -> create network, if you input a valid IP without a subnet mask under "network address," Horizon will not throw an error but will still prevent you from advancing. Steps to reproduce: 1. Under Project -> Network Topology, open the "+ Create Network" modal. 2. Enter anything for page 1. 3. On page 2, enable "create subnet." 4. For Network Address, enter a valid IP which is not in the subnet format, e.g. 10.100.0.0 or 0.0.0.0, etc. 5. Press "Next" Horizon will not allow you to progress, but there is no error displayed on the UI. Based on the code, /32 subnet is assumed and the below error should be thrown but I don't see it on the screen. _("The subnet in the Network Address is too small (/%s).") % subnet.prefixlen To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1521871/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1521876] [NEW] Top nav bar does not stretch when table is longer than browser window on certain pages
Public bug reported: This issue occurs on both Firefox and Chrome. Under the following conditions, the top nav bar does not stretch to fill the screen: 1) The browser window is horizontally thin enough such that the table invokes a horizontal scroll bar 2) You are on one of the following pages: Project: instances volumes Admin: hypervisors instances volumes flavors networks Identity: projects users Under these two circumstances, the nav bar will not stretch when scrolling horizontally. This issue only occurs on the pages above; any other page with a table that is wider than the browser window renders properly. I've attached a screenshot of the problem. ** Affects: horizon Importance: Undecided Status: New ** Attachment added: "_thumb_451312.png" https://bugs.launchpad.net/bugs/1521876/+attachment/4528417/+files/_thumb_451312.png -- 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/1521876 Title: Top nav bar does not stretch when table is longer than browser window on certain pages Status in OpenStack Dashboard (Horizon): New Bug description: This issue occurs on both Firefox and Chrome. Under the following conditions, the top nav bar does not stretch to fill the screen: 1) The browser window is horizontally thin enough such that the table invokes a horizontal scroll bar 2) You are on one of the following pages: Project: instances volumes Admin: hypervisors instances volumes flavors networks Identity: projects users Under these two circumstances, the nav bar will not stretch when scrolling horizontally. This issue only occurs on the pages above; any other page with a table that is wider than the browser window renders properly. I've attached a screenshot of the problem. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1521876/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1521360] Re: Add Member action in loadbalancers does not enforce protocol as required field
** Project changed: django-openstack-auth => horizon -- 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/1521360 Title: Add Member action in loadbalancers does not enforce protocol as required field Status in OpenStack Dashboard (Horizon): New Bug description: In Project->Networks->Load Balancers: 1. Click on Members tab 2. Click on 'Add Member' button **Make sure there are no instances to be added as members.** Protocol Port is not a required field but if you don't enter the port, it fails with message "Unable to add members" which does not indicate the actual error. Horizon log shows this error: 2015-11-30 21:09:39,964 DEBUG 25947 [neutronclient.client]: RESP:400 {'date': 'Mon, 30 Nov 2015 21:09:39 GMT', 'connection': 'keep-alive', 'content-type': 'application/json; charset=UTF-8', 'content-length': '124', 'x-openstack-request-id': 'req-e140a1b7-72dd-46d1-9033-159d1897988a'} {"NeutronError": {"message": "Invalid input for operation: 'None' is not a integer.", "type": "InvalidInput", "detail": ""}} 2015-11-30 21:09:39,964 DEBUG 25947 [neutronclient.v2_0.client]: Error message: {"NeutronError": {"message": "Invalid input for operation: 'None' is not a integer.", "type": "InvalidInput", "detail": ""}} Neutron Log shows the following error: 2015-11-30 21:09:39,961DEBUG [neutron.api.v2.base] 597 Request body: {u'member': {u'protocol_port': None, u'pool_id': u'b4996970-2d8f-4d9f-b553-a55bf1a159d0', u'address': u'10.2.2.5', u'admin_state_up': True}} 2015-11-30 21:09:39,962 INFO [neutron.api.v2.resource] 95 create failed (client error): Invalid input for operation: 'None' is not a integer. Looks like the underlying problem is that protocol_port is removed as a requirement when there are no instances available to be selected as members. However, user can still choose the other way of entering the member ip address and will run into this problem (protocol_port.required will still be set to False as there are no servers). To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1521360/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1521394] Re: Loadbalancer Add member fails silently
** Project changed: django-openstack-auth => horizon -- 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/1521394 Title: Loadbalancer Add member fails silently Status in OpenStack Dashboard (Horizon): New Bug description: The instance to be added should not have any ports i.e. it is still in scheduling state. In Project->Networks->Load Balancers: 1. Click on Members tab 2. Click on 'Add Member' button 3. Enter member details and pick the instance with no ports You will get a success message that a member has been added but you won't see it in the table. The AddMember workflow calls neutron to retrieve a port list. If the port list is empty the function returns True and fails silently. The function should return False with a failure message if there are no ports so that the error message can be displayed to the user. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1521394/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1512888] [NEW] global name '_' is not defined
Public bug reported: When logging into the dashboard for the first time, sometimes I see an error (attached) Error message: global name '_' is not defined at /openstack_auth/plugin/base.py in list_projects, line 95 Source code line: msg = _('Unable to retrieve authorized projects.') Fix: Add following import: from django.utils.translation import ugettext_lazy as _ ** Affects: horizon Importance: Undecided Status: New ** Attachment added: "Screen Shot 2015-11-03 at 2.27.09 PM.png" https://bugs.launchpad.net/bugs/1512888/+attachment/4512367/+files/Screen%20Shot%202015-11-03%20at%202.27.09%20PM.png -- 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/1512888 Title: global name '_' is not defined Status in OpenStack Dashboard (Horizon): New Bug description: When logging into the dashboard for the first time, sometimes I see an error (attached) Error message: global name '_' is not defined at /openstack_auth/plugin/base.py in list_projects, line 95 Source code line: msg = _('Unable to retrieve authorized projects.') Fix: Add following import: from django.utils.translation import ugettext_lazy as _ To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1512888/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp