New project in dropdown list

Bug #1419016 reported by Kyrylo Romanenko
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
Vlad Okhrimenko
5.1.x
Won't Fix
Medium
MOS Horizon
6.0.x
Won't Fix
Medium
MOS Horizon

Bug Description

There is projects selection dropdown on top of Horizon, right from OpenStack logo.
New project in dropdown list becomes visible only after logout and re-login.

Steps:
1) Login to Horizon as admin
2) Go to Identity -> Project
3) Create new project "NEW" .
4) Add "admin" as _member_ to this project.
5) Click on project selector dropdown (screenshot part 1).

Expected to see NEW project there.
Actually it`s not present there.

Now you have to log-out and log-in to see NEW project there (screenshot part 2).

Environment:
MOS 6.1 build:
{"build_id": "2015-02-01_22-55-01", "ostf_sha": "c9100263140008abfcc2704732e98fbdfd644068", "build_number": "92", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-02-01_22-55-01", "ostf_sha": "c9100263140008abfcc2704732e98fbdfd644068", "build_number": "92", "api": "1.0", "nailgun_sha": "c0932eb5c2aa7fd1e13a999cb1b4bf5aff101c3b", "production": "docker", "python-fuelclient_sha": "2ea7b3e91c1d2ff85110bf5abb161a6f4e537358", "astute_sha": "ed5270bf9c6c1234797e00bd7d4dd3213253a413", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "", "fuellib_sha": "c5e4a0410ba66f9e9911f62b3b71c0b9c29aed6e"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "c0932eb5c2aa7fd1e13a999cb1b4bf5aff101c3b", "production": "docker", "python-fuelclient_sha": "2ea7b3e91c1d2ff85110bf5abb161a6f4e537358", "astute_sha": "ed5270bf9c6c1234797e00bd7d4dd3213253a413", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "", "fuellib_sha": "c5e4a0410ba66f9e9911f62b3b71c0b9c29aed6e"}

Also on Devstack:
Devstack:
os|distro=trusty
os|vendor=Ubuntu
os|release=14.04
git|cinder|master[2079b0f]
git|glance|master[8d21220]
git|heat|master[6d6e417]
git|heat-cfntools|master[a7ffb71]
git|heat-templates|master[35e6837]
git|horizon|master[680488d]
git|keystone|master[e54c323]
git|nova|master[422b22e]

Browsers: Chrome Version 40.0.2214.95 (64-bit), Firefox 35.0.1.

UPD:
It looks possible to update dropdown list without re-login.
For that you have to choose another project in drop-down list.
Then our NEW project gets into list too.

Tags: horizon
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :
description: updated
affects: mos → horizon
summary: - New project in dropdown list becomes visible after logout
+ New project in dropdown list
description: updated
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Thank you for the detailed description, but this issue has been already fixed in https://bugs.launchpad.net/horizon/+bug/1393659 K-1 milestone. So it makes sense to backport the change to other MOS branches as well.

no longer affects: horizon
Changed in mos:
milestone: none → 6.1
assignee: nobody → MOS Sustaining (mos-sustaining)
importance: Undecided → Medium
Changed in mos:
status: New → Confirmed
Changed in mos:
assignee: MOS Sustaining (mos-sustaining) → MOS Horizon (mos-horizon)
Revision history for this message
Dmitry Mescheryakov (dmitrymex) wrote :

This is a medium issue, so we are not going to fix it in maintenance release

Timur Sufiev (tsufiev-x)
Changed in mos:
assignee: MOS Horizon (mos-horizon) → Vlad Okhrimenko (vokhrimenko)
Changed in mos:
status: Confirmed → In Progress
Revision history for this message
OSCI Robot (oscirobot) wrote :

package horizon has been built for project openstack/horizon
Package version == 2014.2.1, package release == fuel6.1.mira2.git.b0ca044.2a26516

Changeset: https://review.fuel-infra.org/4308
project: openstack/horizon
branch: openstack-ci/fuel-6.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Update project list in the header bar.
status: patchset-created

Files placed on repository:

NOTE: Changeset is not merged, created temporary package repository.
 repository URL: /centos-fuel-6.1-stable-4308/

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.2.1, package release == fuel6.1~mira3+git.b0ca044.2a26516

Changeset: https://review.fuel-infra.org/4308
project: openstack/horizon
branch: openstack-ci/fuel-6.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Update project list in the header bar.
status: patchset-created

Files placed on repository:
openstack-dashboard_2014.2.1-fuel6.1~mira3+git.b0ca044.2a26516_all.deb
python-django-horizon_2014.2.1-fuel6.1~mira3+git.b0ca044.2a26516_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://obs-1.mirantis.com:82/trusty-fuel-6.1-stable-4308/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

package horizon has been built for project openstack/horizon
Package version == 2014.2.1, package release == fuel6.1~mira3+git.b0ca044.2a26516

Changeset: https://review.fuel-infra.org/4308
project: openstack/horizon
branch: openstack-ci/fuel-6.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Update project list in the header bar.
status: patchset-created

Files placed on repository:

NOTE: Changeset is not merged, created temporary package repository.
 repository URL: /ubuntu-fuel-6.1-stable-4308/

Timur Sufiev (tsufiev-x)
Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Still reproduced on VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "354"
  build_id: "2015-04-27_09-17-29"
  nailgun_sha: "2efc207e7156e362c2506b66e63b8bfa745d1153"
  python-fuelclient_sha: "2b311b3b82a1e2df1dc3484a0f37e282273cd988"
  astute_sha: "c1793f982fda7e3fc7b937ccaa613c649be6a144"
  fuel-library_sha: "6bdf783e2bffdce80ecffcca2915e6d32a8ccdd7"
  fuel-ostf_sha: "b38602c841deaa03ddffc95c02f319360462cbe3"
  fuelmain_sha: "01288380950bc89d572cf5902141c9a393ada950"

Changed in mos:
status: Fix Committed → Confirmed
milestone: 6.1 → 7.0
Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Vlad Okhrimenko (vokhrimenko) wrote :
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/6802
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: cd8a7bd9d946f9c3e5d466fb269ceb302d87c055
Author: Vlad Okhrimenko <email address hidden>
Date: Wed May 27 16:18:20 2015

Update project list in the header bar.

Aftere create new projects, in the header bar,
show only active projects.

cherry-pick from 09e7727b0f00da22ae3140136062724078ab12b7
Change-Id: I0ab6bd8c90de4c4646e2f01abbd036c0281246e9
Closes-Bug: #1419016

Timur Sufiev (tsufiev-x)
Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Oleksiy Butenko (obutenko) wrote :

verified on MOS 7.0 iso 139

{"build_id": "2015-08-05_21-24-26", "build_number": "139", "release_versions": {"2015.1.0-7.0": {"VERSION": {"build_id": "2015-08-05_21-24-26", "build_number": "139", "api": "1.0", "fuel-library_sha": "347d51f391a6f2c621006c00e3416718140889ac", "nailgun_sha": "c842770d56680d0e0cdf3573d329ce36d4fb2c64", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "1512b9af6b41cc95c4d891c593aeebe0faca5a63", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "1fe47720ba554818a0be707f2e16281791492d50", "production": "docker", "python-fuelclient_sha": "28ddd022fd230fde0e88f2f3e4a6a6dddcb58abe", "astute_sha": "e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc", "fuel-ostf_sha": "5cb828f6200e5ae0da63dd39d11fbf910237db95", "release": "7.0", "fuelmain_sha": "858a4ee8336789c10c5c2189c3718f9a605d0eeb"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "347d51f391a6f2c621006c00e3416718140889ac", "nailgun_sha": "c842770d56680d0e0cdf3573d329ce36d4fb2c64", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "1512b9af6b41cc95c4d891c593aeebe0faca5a63", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "1fe47720ba554818a0be707f2e16281791492d50", "production": "docker", "python-fuelclient_sha": "28ddd022fd230fde0e88f2f3e4a6a6dddcb58abe", "astute_sha": "e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc", "fuel-ostf_sha": "5cb828f6200e5ae0da63dd39d11fbf910237db95", "release": "7.0", "fuelmain_sha": "858a4ee8336789c10c5c2189c3718f9a605d0eeb"}

Changed in mos:
status: Fix Committed → Fix Released
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.