Ask Your Question
0

Frontend version checking

asked 2013-08-02 10:10:18 -0500

I installed Horizon from the RDO havana-2 repository and was not able to log in through the web interface. The login silently failed. There was no error message displayed in either horizon logs or the browser.

It turns out that openstack-dashboard 2013.2 0.3b2 installed and django-openstack-auth 1.0.2 are incompatible versions, as specified in the requirements of Horizon.

This was permitted due to incorrect versions specified in the .spec file of the RPM. However, should Horizon not report either via logs or via the web browser that there are incompatible versions of packages/dependencies installed? It seems quite bad that Horizon wasn't checking the versions of the packages it was using at the time.

edit retag flag offensive close merge delete

6 answers

Sort by ยป oldest newest most voted
0

answered 2013-08-02 14:03:39 -0500

mrunge gravatar image

Yes, agreed, this shouldn't happen and it was corrected.

edit flag offensive delete link more
0

answered 2013-08-02 13:46:20 -0500

Also, one more comment:

"We're using packages and repositories. Thus should take care of putting compatible packages together"

Just so you know, it didn't, hence why this happened.

edit flag offensive delete link more
0

answered 2013-08-02 11:24:05 -0500

Thanks Matthias Runge, that solved my question.

edit flag offensive delete link more
0

answered 2013-08-02 11:19:24 -0500

mrunge gravatar image

I don't think it's worth Horizon is doing such checks. Here is why: - if you want those checks, they need to get executed during each page visit. - We're using packages and repositories. Thus should take care of putting compatible packages together - often enough, requires in the projects are updated too aggressively, in this case, a version 1.0.7 should be sufficient.

We don't need to argue about horizons very limited feedback about issues at all. But this question is not about that.

edit flag offensive delete link more
0

answered 2013-08-02 10:53:06 -0500

I'm aware that it's now fixed, but my concern is that Horizon did not complain about (or maybe not even notice!) that the wrong version was being used. Is it worth Horizon doing version checks?

edit flag offensive delete link more
0

answered 2013-08-02 10:22:54 -0500

mrunge gravatar image

Yeah, you got python-django-openstack-auth from EPEL. We added python-django-openstack-auth-1.0.11 to the havana repository.

Either yum update && service httpd restart should fix your issue.

or rpm -Uvh http://kojipkgs.fedoraproject.org/pac... service httpd restart

should fix your isue.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-08-02 10:10:18 -0500

Seen: 65 times

Last updated: Aug 02 '13