Update openstack_dashboard test settings.py

Bug #1278547 reported by Abishek Subramanian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Abishek Subramanian

Bug Description

The settings.py file in the test directory for openstack_dashboard is missing the profile option in the OPENSTACK_NEUTRON_NETWORK setting.

This needs to be updated so that the tests for the "router" dashboard and cisco N1K will be run correctly.

This is the setting in local_settings.py currently -
# The OPENSTACK_NEUTRON_NETWORK settings can be used to enable optional
# services provided by neutron. Options currenly available are load
# balancer service, security groups, quotas, VPN service.
OPENSTACK_NEUTRON_NETWORK = {
    'enable_security_group': False,
    'enable_lb': False,
    'enable_firewall': False,
    'enable_quotas': True,
    'enable_vpn': False,
    # The profile_support option is used to detect if an external router can be
    # configured via the dashboard. When using specific plugins the
    # profile_support can be turned on if needed.
    'profile_support': None,
    #'profile_support': 'cisco',
}

And this is the setting in test/settings.py -
OPENSTACK_NEUTRON_NETWORK = {
    'enable_lb': True,
    'enable_firewall': True,
    'enable_quotas': False, # Enabled in specific tests only
    'enable_vpn': True
}

The profile_setting option needs to be added.

Changed in horizon:
assignee: nobody → Abishek Subramanian (absubram)
description: updated
Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/72459

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/72459
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=50bf65094d625eb80e39cebd82ea19713b30f3bb
Submitter: Jenkins
Branch: master

commit 50bf65094d625eb80e39cebd82ea19713b30f3bb
Author: absubram <absubram@absubram-VirtualBox.(none)>
Date: Mon Feb 10 14:33:53 2014 -0500

    Fix missing option in the test settings.py file

    The settings.py file in the test directory for
    openstack_dashboard is missing the profile_support option in
    the OPENSTACK_NEUTRON_NETWORK setting.

    This needs to be updated so that the tests for the "router"
    dashboard and cisco N1K will be run correctly.

    This fix merely ensures the OPENSTACK_NEUTRON_NETWORK setting
    is similar in both the settings files.

    Closes bug: #1278547

    Change-Id: I51190cbe8f40bc6bf16dd246627de909456bd3a2

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.