Re: [Openstack] [Horizon] [UX] phabriactor/pholio as a possible UX option

2013-07-15 Thread Thierry Carrez
Monty Taylor wrote:
 Sorry - we've been a bit busy and this got put on the back burner. I
 believe that ttx has done some work over the last couple of weeks ...
 Theirry, any updates from your end?

What I've been working on addresses task tracking, not really the needs
of UX discussions. My suggestion was to use Discourse because I can see
where our current setup (pure task tracking + pure MLs) is missing the
needs of image-intensive multi-threaded discussions, and that sounds
more reusable than GitHub issues which bleeds into task tracking a bit.

Cheers,

-- 
Thierry Carrez (ttx)

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] [UX] phabriactor/pholio as a possible UX option

2013-07-12 Thread Toshiyuki Hayashi
Hi,

 So far, my understanding is that requirements are:
 - discussion
 - messages containing images
 - possibly specific image annotation/commenting

Also if there is file sharing space, that would be great.
e.g.)
-  photoshop template for designing and prototyping
- html template for designing and prototyping
- wireframe data (it seems Jaromir has created good one already :-) )
- some document regarding UI

Discourse seems good, but still Github is better for me.
Why Github was evaluated as not suitable?


On Tue, Jul 9, 2013 at 4:52 AM, Jaromir Coufal jcou...@redhat.com wrote:

 On 2013/27/06 09:37, Thierry Carrez wrote:

 As a data point, Discourse could also be a solution:
 http://www.discourse.org/

 It's clearly a discussion tool (including pretty advanced threading,
 post likes, etc.), and messages can contain images.

 See a design discussion for example at:
 http://test.ubuntu-discourse.org/t/a-ubuntu-ish-theme-for-the-site/177


 Discourse actually looks pretty good. I was playing around that a little bit
 and like it. We can consider labels as categories - not optimal, but can
 work if we have only design discussions. Only problem is that we might want
 to extend the tool for other discussions as well and then it will be less
 optimal.

 Do you guys see any other possibilities apart from this one?

 -- Jarda



-- 
Toshiyuki Hayashi
NTT Innovation Institute Inc.
Tel:650-579-0800 ex4292
mail:haya...@ntti3.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] [UX] phabriactor/pholio as a possible UX option

2013-07-12 Thread Monty Taylor
Hi!
Sorry - we've been a bit busy and this got put on the back burner. I
believe that ttx has done some work over the last couple of weeks ...
Theirry, any updates from your end?

Github as an option is problematic for several reasons. The ones that
come to mind are that it's not opensource, it doesn't integrate into any
of the rest of our tooling or SSO, and we're actually working to clarify
to people that we do not do our development on github, and adding the
usage of a github issue tracker somewhere would kindof undercut that.

So we're still trying to find an option that we can run that does work
for everyone. I will redouble those efforts.

We also have an effort underway to spin up an owncloud instance ... so
for filesharing needs that might be a choice.


On 07/12/2013 08:47 PM, Toshiyuki Hayashi wrote:
 Hi,
 
 So far, my understanding is that requirements are:
 - discussion
 - messages containing images
 - possibly specific image annotation/commenting
 
 Also if there is file sharing space, that would be great.
 e.g.)
 -  photoshop template for designing and prototyping
 - html template for designing and prototyping
 - wireframe data (it seems Jaromir has created good one already :-) )
 - some document regarding UI
 
 Discourse seems good, but still Github is better for me.
 Why Github was evaluated as not suitable?
 
 
 On Tue, Jul 9, 2013 at 4:52 AM, Jaromir Coufal jcou...@redhat.com wrote:

 On 2013/27/06 09:37, Thierry Carrez wrote:

 As a data point, Discourse could also be a solution:
 http://www.discourse.org/

 It's clearly a discussion tool (including pretty advanced threading,
 post likes, etc.), and messages can contain images.

 See a design discussion for example at:
 http://test.ubuntu-discourse.org/t/a-ubuntu-ish-theme-for-the-site/177


 Discourse actually looks pretty good. I was playing around that a little bit
 and like it. We can consider labels as categories - not optimal, but can
 work if we have only design discussions. Only problem is that we might want
 to extend the tool for other discussions as well and then it will be less
 optimal.

 Do you guys see any other possibilities apart from this one?

 -- Jarda
 
 
 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] [UX] phabriactor/pholio as a possible UX option

2013-07-09 Thread Jaromir Coufal


On 2013/27/06 09:37, Thierry Carrez wrote:

As a data point, Discourse could also be a solution:
http://www.discourse.org/

It's clearly a discussion tool (including pretty advanced threading,
post likes, etc.), and messages can contain images.

See a design discussion for example at:
http://test.ubuntu-discourse.org/t/a-ubuntu-ish-theme-for-the-site/177



Discourse actually looks pretty good. I was playing around that a little 
bit and like it. We can consider labels as categories - not optimal, but 
can work if we have only design discussions. Only problem is that we 
might want to extend the tool for other discussions as well and then it 
will be less optimal.


Do you guys see any other possibilities apart from this one?

-- Jarda
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] [UX] phabriactor/pholio as a possible UX option

2013-07-04 Thread Jaromir Coufal

Hi!

I am very sorry for the late answer - I was really busy last week. Going 
back to this topic, answering inline:


On 2013/26/06 23:05, Monty Taylor wrote:

Hi!

Thanks for looking in to Phabricator for us! The feedback is helpful. I
think we've also got some concerns around elements of it as well.

However, I still don't feel like I fully understand what the
requirements list are here. github isn't a requirement, it's a suggested
solution, and one with already distressing massive negative
implications. so I'd like us to work on what requirements the tool needs
to have so that we can figure out solutions that will solve them.

Agree with you.


So far, my understanding is that requirements are:
- discussion
Yes, very well handled discussions are #1. I'd also add few features 
which I'd love to see there if possible:

* Great threading of discussions
* Labels (E.g. label for closed discussion, or implementation 
discussion, or design proposals, etc) - so the users know what is 
happening in the thread
* Formatting of messages (there might happen also implementation 
discussion above designed solution and I wouldn't be afraid of better 
formatting and letting these conversations happen there)



- messages containing images

+1, yes.


- possibly specific image annotation/commenting

Inline comments on images are not that necessary from my experience.


Are there any others I've missed?
* I think also important are well handled notifications. With features 
like e-mail/web based, watch/unwatch thread or similar functionality.
* It might be indirect requirement, but I see very important that the 
tool is user-friendly for designers as well as developers. So I'd expect 
something not that much graphical, but very well organized and effective 
supporting all needs for both sides.
- I guess designers (or creative people) are not that much 
demanding :). As long as it is not happening in Terminal and is well 
organized, I think they can get used to very easily.
- For developers, I'd expect something not very graphic 
oriented/shiny, but more efficient and good possibility of formatting 
(e.g. for very short code examples).



To summarize things we've learned so far about possible solutions:
- Launchpad Bugs don't work due to lack of images
- Phabricator is too image centric, and also confusing
- github issues is not open source, and also increases confusion about
OpenStack's use of github, and is not integrated with the rest of the
project
- mailing list is too text oriented and has a bad threading model

OK, agree here.


We've got folks working on the area - so let's figure out what we need
and then we can move forward.
Great, if there are folks who could help with finding best solution, 
they are very welcome!



thanks!
Monty


[snip of replied message]

Cheers
-- Jarda
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] [UX] phabriactor/pholio as a possible UX option

2013-06-27 Thread Thierry Carrez
Monty Taylor wrote:
 However, I still don't feel like I fully understand what the
 requirements list are here. github isn't a requirement, it's a suggested
 solution, and one with already distressing massive negative
 implications. so I'd like us to work on what requirements the tool needs
 to have so that we can figure out solutions that will solve them.
 
 So far, my understanding is that requirements are:
 - discussion
 - messages containing images
 - possibly specific image annotation/commenting

As a data point, Discourse could also be a solution:
http://www.discourse.org/

It's clearly a discussion tool (including pretty advanced threading,
post likes, etc.), and messages can contain images.

See a design discussion for example at:
http://test.ubuntu-discourse.org/t/a-ubuntu-ish-theme-for-the-site/177

-- 
Thierry Carrez (ttx)

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] [UX] phabriactor/pholio as a possible UX option

2013-06-26 Thread Monty Taylor
Hi!

Thanks for looking in to Phabricator for us! The feedback is helpful. I
think we've also got some concerns around elements of it as well.

However, I still don't feel like I fully understand what the
requirements list are here. github isn't a requirement, it's a suggested
solution, and one with already distressing massive negative
implications. so I'd like us to work on what requirements the tool needs
to have so that we can figure out solutions that will solve them.

So far, my understanding is that requirements are:
- discussion
- messages containing images
- possibly specific image annotation/commenting

Are there any others I've missed?

To summarize things we've learned so far about possible solutions:
- Launchpad Bugs don't work due to lack of images
- Phabricator is too image centric, and also confusing
- github issues is not open source, and also increases confusion about
OpenStack's use of github, and is not integrated with the rest of the
project
- mailing list is too text oriented and has a bad threading model

We've got folks working on the area - so let's figure out what we need
and then we can move forward.

thanks!
Monty

On 06/25/2013 12:16 AM, Jaromir Coufal wrote:
 Hey All,
 
 I investigated and played with few tools for team collaboration, mainly
 focused on designs and discussions. They are mostly similar as
 Phabricator [1], what Monty suggested. You can see inVision [2] or
 GoVisually [3] for example. And of course there are more, however they
 are all somehow similar.
 
 I have few notes which covers most of them (from my point of view):
 
 * I can't help myself, but I have disorganized feeling.
 - Might be only my problem, but the whole system navigation is
 just... Strange. Maybe too much graphical :)
 * Main focus on pictures.
 - You can't start a thread without picture.
 - It's just a little bit weird, if everything is focused on the
 picture, which from my point of view shouldn't be the main point.
 Pictures and other documents should be supportive material - discussion
 matters here.
 - Due on pictures focus, discussions are just somehow neglected.
 * I love the inline comments for pictures, but...
  - Having possibility to attach comment to any place of the picture
 is cool, but... still this tool will fail for example in sequence of
 screens, if you are presenting workflow.
 * Mainly - I don't see developers coming to this tool and actively ask 
 discuss.
 
 Therefore, also thanks to comments from Toshi and Kyle, I tried to focus
 a little bit more on GitHub. I asked couple of colleagues and friends
 what would they prefer. From developers, the answer was obvious -
 GitHub. Designers said that they wouldn't mind GH, they are ok with it.
 Anyway, it's a normal discussion tool, nothing to be afraid of. The
 reasons why GitHub matters are already covered in my first e-mail and I
 still see it as the best possibility.
 
 Another reason for GitHub occurred in last conversation on G+ community
 site. There started thread about design question, which got solved, but
 then followed implementation discussion how to implement such thing. And
 here you can see, that any tool focusing on designers in the first
 place, would fail.
 
 I really don't want to discourage creative people from proposals and
 discussions - completely the opposite. I want them to connect to
 developers and vice versa.
 
 That's why I believe that GitHub worths trying.
 
 -- Jarda
 
 [1] http://www.invisionapp.com/
 [2] http://www.invisionapp.com/
 [3] http://www.govisually.com/
 
 
 On 2013/19/06 03:49, Monty Taylor wrote:
 Hey all!

 I spoke with Gabriel about this briefly on IRC, but there is an app for
 Phabricator called Pholio which seems to do the things the UI folks are
 looking for.

 To play with it further, I've spun up a phabricator here:

 http://phab.mnorp.com/

 You should have gotten account signup emails (if not, look in your spam
 folder - it's a throwaway machine)

 Check out:

 http://phab.mnorp.com/pholio/

 I've put up one design review here:

 http://phab.mnorp.com/M1

 that Jim and I have discussed a little bit.

 We're not thrilled with Phabricator for things like bug tracking or code
 review yet - but it's configurable enough that we could turn off
 everything except design review and move forward with that.

 Then, if we get to a point where more of its features are useful to us,
 then great - or if this winds up something we only ever use for design
 reviews - well, that's great too.

 David/Olaph - we'll need an OpenID SSO provider landed upstream before
 we can use this. (we are NOT going to carry local patches) There is an
 upstream auth refactor going on:

 https://secure.phabricator.com/T1536

 Also, you'll see on http://phab.mnorp.com/M1 a lorem ipsum over to the
 side. We should finish that work. Then we'll need to do a proper puppet
 install and skinning.

 Don't anybody do work yet - mainly I want to see if this is suitable for
 the UI folks, and if we 

Re: [Openstack] [Horizon] [UX] phabriactor/pholio as a possible UX option

2013-06-24 Thread Jaromir Coufal

Hey All,

I investigated and played with few tools for team collaboration, mainly 
focused on designs and discussions. They are mostly similar as 
Phabricator [1], what Monty suggested. You can see inVision [2] or 
GoVisually [3] for example. And of course there are more, however they 
are all somehow similar.


I have few notes which covers most of them (from my point of view):

* I can't help myself, but I have disorganized feeling.
- Might be only my problem, but the whole system navigation is 
just... Strange. Maybe too much graphical :)

* Main focus on pictures.
- You can't start a thread without picture.
- It's just a little bit weird, if everything is focused on the 
picture, which from my point of view shouldn't be the main point. 
Pictures and other documents should be supportive material - discussion 
matters here.

- Due on pictures focus, discussions are just somehow neglected.
* I love the inline comments for pictures, but...
 - Having possibility to attach comment to any place of the picture 
is cool, but... still this tool will fail for example in sequence of 
screens, if you are presenting workflow.
* Mainly - I don't see developers coming to this tool and actively ask  
discuss.


Therefore, also thanks to comments from Toshi and Kyle, I tried to focus 
a little bit more on GitHub. I asked couple of colleagues and friends 
what would they prefer. From developers, the answer was obvious - 
GitHub. Designers said that they wouldn't mind GH, they are ok with it. 
Anyway, it's a normal discussion tool, nothing to be afraid of. The 
reasons why GitHub matters are already covered in my first e-mail and I 
still see it as the best possibility.


Another reason for GitHub occurred in last conversation on G+ community 
site. There started thread about design question, which got solved, but 
then followed implementation discussion how to implement such thing. And 
here you can see, that any tool focusing on designers in the first 
place, would fail.


I really don't want to discourage creative people from proposals and 
discussions - completely the opposite. I want them to connect to 
developers and vice versa.


That's why I believe that GitHub worths trying.

-- Jarda

[1] http://www.invisionapp.com/
[2] http://www.invisionapp.com/
[3] http://www.govisually.com/


On 2013/19/06 03:49, Monty Taylor wrote:

Hey all!

I spoke with Gabriel about this briefly on IRC, but there is an app for
Phabricator called Pholio which seems to do the things the UI folks are
looking for.

To play with it further, I've spun up a phabricator here:

http://phab.mnorp.com/

You should have gotten account signup emails (if not, look in your spam
folder - it's a throwaway machine)

Check out:

http://phab.mnorp.com/pholio/

I've put up one design review here:

http://phab.mnorp.com/M1

that Jim and I have discussed a little bit.

We're not thrilled with Phabricator for things like bug tracking or code
review yet - but it's configurable enough that we could turn off
everything except design review and move forward with that.

Then, if we get to a point where more of its features are useful to us,
then great - or if this winds up something we only ever use for design
reviews - well, that's great too.

David/Olaph - we'll need an OpenID SSO provider landed upstream before
we can use this. (we are NOT going to carry local patches) There is an
upstream auth refactor going on:

https://secure.phabricator.com/T1536

Also, you'll see on http://phab.mnorp.com/M1 a lorem ipsum over to the
side. We should finish that work. Then we'll need to do a proper puppet
install and skinning.

Don't anybody do work yet - mainly I want to see if this is suitable for
the UI folks, and if we as the infra folks feel comfortable running one
for pholio, and whether or not the potential slippery slope of possibly
using more functions is something we'd be ok with in the future.

Thanks for checking this out guys!

Other things to look at if you get bored:

I made an issue:
http://phab.mnorp.com/T1
There is a calendar:
http://phab.mnorp.com/calendar/
There is a not-terrible code browser:
http://phab.mnorp.com/diffusion/
http://phab.mnorp.com/diffusion/HORIZON/

I particularly like blame being available:
http://phab.mnorp.com/diffusion/HORIZON/browse/master/README.rst?view=blame

And it's got github-like highlight:

http://phab.mnorp.com/diffusion/HORIZON/browse/master/README.rst;f66e2730fd8f94a4$15-23



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] UX Discussions - proposal for better organization, rising activity and awareness

2013-06-20 Thread Toshiyuki Hayashi
Hi,

I really understand and share Gabriel's concern, but now GitHub has
become familiar for web design people as well, at least it is the most
popular service in those kind of services.
Also G+ community which using now is not suitable for discussions,
difficult to track threads, share images or texts and read through. I
believe GitHub is the best solution for now.

Regards,
Toshiyuki

On Tue, Jun 18, 2013 at 8:40 AM, Jaromir Coufal jcou...@redhat.com wrote:
 Guys, thank you for the discussion, I have some points here (comments inside
 the mail)


 On 2013/18/06 17:25, Julie Pichon wrote:

 Gabriel Hurley gabriel.hur...@nebula.com wrote:

 I've been hoping some of the more design-oriented folks would weigh in on
 this issue, but that hasn't particularly happened...

 It seems there are already a few of them on the G+ community, it would be
 worthwhile to also have this conversation in the current community and see
 if people agree with the problem and are interested in trying out a new
 option. I started a thread pointing to this one over there.

 Yeah, the idea and conversation started there originally. However there is
 not much activity yet and there was no reply. So the question lies there for
 few weeks already. Hopefully there will be some reaction on revived post.


 My concern is that as engineers we're all comfortable with GitHub, but that
 it will end up being an impediment or discouragement for people who fall
 more on the creative side. I don't disagree with the benefits as stated and
 I'm willing to give any solution a try, but I want to be careful that we
 don't alienate a portion of the contributors by our choice of tools.

 I share with this concern, although I also very much agree with Jaromir on
 the downsides of the current setup.

 I completely understand and share the concern as well.

 However, my thinking is... GitHub is mainly for developers, but not only for
 them. And it is just about registration to GitHub to be active and be able
 to comment there, nothing more (even more, you see all the issues without
 registration).
 What I love about that is not just having better format for discussions, but
 also getting closer to main development stream. So the people who are
 creative and might help with UX improvement ideas, gets also to the reality
 of implementation and in the end hopefully these two streams would meet
 together - which would be amazing result. Both can learn from each other.

 Because, the same concern occurs when we try to move Horizon development
 oriented people to discussions on G+ community.

 Cheers,
 -- Jarda

 Cheers,

 Julie

 In general I leave it to the community, though. :-)

 - Gabriel



-- 
Toshiyuki Hayashi
NTT Innovation Institute Inc.
Tel:650-579-0800 ex4292
mail:haya...@ntti3.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] UX Discussions - proposal for better organization, rising activity and awareness

2013-06-20 Thread Kyle Kelley
Hi!

It's worth pointing out that GitHub's designers jump straight into Pull
Requests, designing right alongside developers. Zach Holman gave a great
talk about their process which included how everyone works together
seamlessly with autonomy.

http://www.youtube.com/watch?v=qyz3jkOBbQY

-- Kyle


On Thu, Jun 20, 2013 at 8:43 PM, Toshiyuki Hayashi haya...@ntti3.comwrote:

 Hi,

 I really understand and share Gabriel's concern, but now GitHub has
 become familiar for web design people as well, at least it is the most
 popular service in those kind of services.
 Also G+ community which using now is not suitable for discussions,
 difficult to track threads, share images or texts and read through. I
 believe GitHub is the best solution for now.

 Regards,
 Toshiyuki

 On Tue, Jun 18, 2013 at 8:40 AM, Jaromir Coufal jcou...@redhat.com
 wrote:
  Guys, thank you for the discussion, I have some points here (comments
 inside
  the mail)
 
 
  On 2013/18/06 17:25, Julie Pichon wrote:
 
  Gabriel Hurley gabriel.hur...@nebula.com wrote:
 
  I've been hoping some of the more design-oriented folks would weigh in on
  this issue, but that hasn't particularly happened...
 
  It seems there are already a few of them on the G+ community, it would be
  worthwhile to also have this conversation in the current community and
 see
  if people agree with the problem and are interested in trying out a new
  option. I started a thread pointing to this one over there.
 
  Yeah, the idea and conversation started there originally. However there
 is
  not much activity yet and there was no reply. So the question lies there
 for
  few weeks already. Hopefully there will be some reaction on revived post.
 
 
  My concern is that as engineers we're all comfortable with GitHub, but
 that
  it will end up being an impediment or discouragement for people who fall
  more on the creative side. I don't disagree with the benefits as stated
 and
  I'm willing to give any solution a try, but I want to be careful that we
  don't alienate a portion of the contributors by our choice of tools.
 
  I share with this concern, although I also very much agree with Jaromir
 on
  the downsides of the current setup.
 
  I completely understand and share the concern as well.
 
  However, my thinking is... GitHub is mainly for developers, but not only
 for
  them. And it is just about registration to GitHub to be active and be
 able
  to comment there, nothing more (even more, you see all the issues without
  registration).
  What I love about that is not just having better format for discussions,
 but
  also getting closer to main development stream. So the people who are
  creative and might help with UX improvement ideas, gets also to the
 reality
  of implementation and in the end hopefully these two streams would meet
  together - which would be amazing result. Both can learn from each other.
 
  Because, the same concern occurs when we try to move Horizon development
  oriented people to discussions on G+ community.
 
  Cheers,
  -- Jarda
 
  Cheers,
 
  Julie
 
  In general I leave it to the community, though. :-)
 
  - Gabriel



 --
 Toshiyuki Hayashi
 NTT Innovation Institute Inc.
 Tel:650-579-0800 ex4292
 mail:haya...@ntti3.com

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] horizon login error

2013-06-18 Thread Nguyễn Quốc Vũ
Hi all,

I install openstack by followed this instruction:
http://docs.openstack.org/grizzly/basic-install/apt/content/basic-install_controller.html
but
without quantum. I already modify the script to remove the relate quantum
things.

after login into horizon dashboard, get message internal server error.

The /var/log/apache2/errror.log is following:

[Tue Jun 18 05:55:02 2013] [error] unable to retrieve service catalog with
 token

 [Tue Jun 18 05:55:02 2013] [error] Traceback (most recent call last):

 [Tue Jun 18 05:55:02 2013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132,
 in _extract_service_catalog

 [Tue Jun 18 05:55:02 2013] [error] endpoint_type='adminURL')

 [Tue Jun 18 05:55:02 2013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line
 62, in url_for

 [Tue Jun 18 05:55:02 2013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')

 [Tue Jun 18 05:55:02 2013] [error] EndpointNotFound: Endpoint not found.



 here is my endpoint list:

+--+---+-+-+-+

 |id|   region  |publicurl
|   internalurl   |
 adminurl|


 +--+---+-+-+-+

 | 468d543d3eb440f9962a812bab0aac57 | RegionOne |
 http://10.8.41.51:8774/v2/$(tenant_id)s |
 http://10.8.41.51:8774/v2/$(tenant_id)s |
 http://10.8.41.51:8774/v2/$(tenant_id)s |

 | ab5efbe0140f480a907c04574141df06 | RegionOne |
 http://10.8.41.51:5000/v2.0   |   http://10.8.41.51:5000/v2.0
 |   http://10.8.41.51:35357/v2.0  |

 | bed78acd34024995af93b41acc1a1716 | RegionOne |
 http://10.8.41.51:9292 |  http://10.8.41.51:9292
 |  http://10.8.41.51:9292 |

 | eb0b951ea6e748618794ad4fd46639c1 | RegionOne |
 http://10.8.41.51:8776/v1/$(tenant_id)s |
 http://10.8.41.51:8776/v1/$(tenant_id)s |
 http://10.8.41.51:8776/v1/$(tenant_id)s |

 | f954d0645232408ab2f28976b5327f55 | RegionOne |
 http://10.8.41.51:8773/services/Cloud  |
 http://10.8.41.51:8773/services/Cloud  |
 http://10.8.41.51:8773/services/Admin  |


 +--+---+-+-+-+



How can I solve this problem?

Thanks.
-- 
Regards,
Nguyen Quoc Vu
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon login error

2013-06-18 Thread Matthias Runge
On 18/06/13 08:10, Nguyễn Quốc Vũ wrote:

 
 [Tue Jun 18 05:55:02 2013] [error] endpoint_type='adminURL')
 
 [Tue Jun 18 05:55:02 2013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py,
 line 62, in url_for
 
 [Tue Jun 18 05:55:02 2013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 
 [Tue Jun 18 05:55:02 2013] [error] EndpointNotFound: Endpoint
 not found.

Well, the error says: Endpoint not found. Please from your horizon host
try to call the admin URLS given in your endpoint list. You can use
telnet, wget, curl etc.

Matthias


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] UX Discussions - proposal for better organization, rising activity and awareness

2013-06-18 Thread Julie Pichon
Gabriel Hurley gabriel.hur...@nebula.com wrote:
 I've been hoping some of the more design-oriented folks would weigh in on
 this issue, but that hasn't particularly happened...

It seems there are already a few of them on the G+ community, it would be 
worthwhile to also have this conversation in the current community and see if 
people agree with the problem and are interested in trying out a new option. I 
started a thread pointing to this one over there.
 
 My concern is that as engineers we're all comfortable with GitHub, but that
 it will end up being an impediment or discouragement for people who fall
 more on the creative side. I don't disagree with the benefits as stated and
 I'm willing to give any solution a try, but I want to be careful that we
 don't alienate a portion of the contributors by our choice of tools.

I share with this concern, although I also very much agree with Jaromir on the 
downsides of the current setup.

Cheers,

Julie

 In general I leave it to the community, though. :-)
 
 - Gabriel

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] UX Discussions - proposal for better organization, rising activity and awareness

2013-06-17 Thread Gabriel Hurley
I've been hoping some of the more design-oriented folks would weigh in on this 
issue, but that hasn't particularly happened...

My concern is that as engineers we're all comfortable with GitHub, but that it 
will end up being an impediment or discouragement for people who fall more on 
the creative side. I don't disagree with the benefits as stated and I'm willing 
to give any solution a try, but I want to be careful that we don't alienate a 
portion of the contributors by our choice of tools.

In general I leave it to the community, though. :-)

- Gabriel

 -Original Message-
 From: Openstack [mailto:openstack-
 bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of
 Toshiyuki Hayashi
 Sent: Friday, June 14, 2013 11:50 AM
 To: Jaromir Coufal
 Cc: openstack@lists.launchpad.net
 Subject: Re: [Openstack] [Horizon] UX Discussions - proposal for better
 organization, rising activity and awareness
 
 Hi Jarda,
 
 Thank you for sharing the  G+ community, I just joined and will check the
 discussions!
 I  hope we can move to GH shortly, the new G+ UI is not so good for
 discussions.
 
 On Wed, Jun 12, 2013 at 10:49 PM, Jaromir Coufal jcou...@redhat.com
 wrote:
  Hi Toshi,
 
  it's great to meet you and thanks for support. What you mentioned here
  is one of the issues: worse awareness of such an activity. Hopefully
  GH will enhance this (as well as the other issues). Apart from being
  among other projects, we can also help making it more visible with
  some note on OpenStack pages / Horizon Launchpad then.
 
  Anyway, the G+ community is at following address:
  https://plus.google.com/communities/100954512393463248122. If we
 agree
  here, I'd like to move to GH as soon as possible, so we have all
  discussions, proposals and materials archived there.
 
  Best
  -- Jarda
 
 
  On 2013/12/06 23:25, Toshiyuki Hayashi wrote:
 
  Hi Jarda,
 
  I'm Toshi, I'm also working on Horizon UI improvement (mainly network
  topology view). I totally agree with you.
  I've been wondering how to discuss the design ideas for Horizon, and I
  think we need some documents such as a design guideline to keep
  Horizon UI as a certain level of lookfeel and interactions.
  I believe your idea works very well for Horizon!
  BTW, I didn't know the  Google+ community for Horizon. Could you
  please share the URL?
 
  On Tue, Jun 11, 2013 at 9:51 PM, Jaromir Coufal jcou...@redhat.com
 wrote:
 
  Hello Everybody!
 
  my name is Jarda (shortening from Jaromir) and I'm working on Horizon
  in a way of improvement the UX. Couple of weeks ago, there was set up
  community on Google+ to group UX related people to discuss designing
  issues. I think it was really great idea to start this effort and I
  love to see all people interested in helping Horizon being a better
  place. However, Google+ posts and discussions don't work very well for
  broader discussions about design issues, and I'd like to state here few
 examples of why I think so:
  - Comments are very narrow (worse readability, long comments are
  really bad supported).
  - Comments don't include images support.
  - There is no way where to store supportive materials.
  - Nobody knows what issues are resolved, what are still active.
  - No possibility to search for related topic (was this already
  discussed? Am I the first one to ask this?).
  - Notifications are also not from the best ones (activity of members
  just slipped down); not big awareness.
 
  ... and I have little bit more troubles with using it for design
  discussions.
  But long story short - I'd like to propose using GitHub for storing
  documentation and starting discussions related to UX of OpenStack
 (Horizon).
 
  In my opinion the best way to deal with UX in Horizon is to create a
  GitHub repository user_experience within OpenStack account, store
  related documentation in there and use GitHub Issues for discussions.
  Here are some
  benefits:
  * You can get subscribed to the repositoryor even just issue you are
  interested in, so you get notifications on your mail or just online
  (whatever works for you).
  * Issues are grouping topics very well together so the discussion for
  the topic stays at one place and everything is connected.
  * Once the issue is solved we can close it (and it is archived).
  * Issues have quite good options for text formatting.
  * You can past image directly to the post.
  * You can upload bigger temporary supportive materials to your forked
  repository.
  * The upstream repository itself can work as a good place to store UX
  documentations for Horizon (wireframes, documents, guides, etc).
  * What goes to the repository itself goes through pull-request process
  so we can make sure that there are ideas which were publicly discussed
  and accepted.
 
  Also, it provides better accessible way for any contributor, who is
  having some UX related issue. Since user_experience repository would
  be placed among other projects, it will be very easy

Re: [Openstack] [Horizon] UX Discussions - proposal for better organization, rising activity and awareness

2013-06-14 Thread Toshiyuki Hayashi
Hi Jarda,

Thank you for sharing the  G+ community, I just joined and will check
the discussions!
I  hope we can move to GH shortly, the new G+ UI is not so good for discussions.

On Wed, Jun 12, 2013 at 10:49 PM, Jaromir Coufal jcou...@redhat.com wrote:
 Hi Toshi,

 it's great to meet you and thanks for support. What you mentioned here is
 one of the issues: worse awareness of such an activity. Hopefully GH will
 enhance this (as well as the other issues). Apart from being among other
 projects, we can also help making it more visible with some note on
 OpenStack pages / Horizon Launchpad then.

 Anyway, the G+ community is at following address:
 https://plus.google.com/communities/100954512393463248122. If we agree here,
 I'd like to move to GH as soon as possible, so we have all discussions,
 proposals and materials archived there.

 Best
 -- Jarda


 On 2013/12/06 23:25, Toshiyuki Hayashi wrote:

 Hi Jarda,

 I'm Toshi, I'm also working on Horizon UI improvement (mainly network
 topology view). I totally agree with you.
 I've been wondering how to discuss the design ideas for Horizon, and I
 think we need some documents such as a design guideline to keep
 Horizon UI as a certain level of lookfeel and interactions.
 I believe your idea works very well for Horizon!
 BTW, I didn't know the  Google+ community for Horizon. Could you
 please share the URL?

 On Tue, Jun 11, 2013 at 9:51 PM, Jaromir Coufal jcou...@redhat.com wrote:

 Hello Everybody!

 my name is Jarda (shortening from Jaromir) and I'm working on Horizon in a
 way of improvement the UX. Couple of weeks ago, there was set up community
 on Google+ to group UX related people to discuss designing issues. I think
 it was really great idea to start this effort and I love to see all people
 interested in helping Horizon being a better place. However, Google+ posts
 and discussions don't work very well for broader discussions about design
 issues, and I'd like to state here few examples of why I think so:
 - Comments are very narrow (worse readability, long comments are really bad
 supported).
 - Comments don't include images support.
 - There is no way where to store supportive materials.
 - Nobody knows what issues are resolved, what are still active.
 - No possibility to search for related topic (was this already discussed? Am
 I the first one to ask this?).
 - Notifications are also not from the best ones (activity of members just
 slipped down); not big awareness.

 ... and I have little bit more troubles with using it for design
 discussions.
 But long story short - I'd like to propose using GitHub for storing
 documentation and starting discussions related to UX of OpenStack (Horizon).

 In my opinion the best way to deal with UX in Horizon is to create a GitHub
 repository user_experience within OpenStack account, store related
 documentation in there and use GitHub Issues for discussions. Here are some
 benefits:
 * You can get subscribed to the repositoryor even just issue you are
 interested in, so you get notifications on your mail or just online
 (whatever works for you).
 * Issues are grouping topics very well together so the discussion for the
 topic stays at one place and everything is connected.
 * Once the issue is solved we can close it (and it is archived).
 * Issues have quite good options for text formatting.
 * You can past image directly to the post.
 * You can upload bigger temporary supportive materials to your forked
 repository.
 * The upstream repository itself can work as a good place to store UX
 documentations for Horizon (wireframes, documents, guides, etc).
 * What goes to the repository itself goes through pull-request process so we
 can make sure that there are ideas which were publicly discussed and
 accepted.

 Also, it provides better accessible way for any contributor, who is having
 some UX related issue. Since user_experience repository would be placed
 among other projects, it will be very easy to notice it and find this place
 if I need such a help. So, it is more likely, that we will increase activity
 and get more ideas together, also we enhance connecting developers and
 design people together, if both are contributing. I see UX as another
 project under OpenStack, though - sure - little bit different type of
 project, but still a project. And if we manage to get this project active we
 will definitely enhance resulting UX of Horizon, which is a goal.

 What do you think about this idea? Any thoughts? I'd be very happy to help
 with setting this up so it works smoothly.

 Best
 -- Jarda
 jcoufal at #openstack-horizon

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp







-- 
Toshiyuki Hayashi
NTT Innovation Institute Inc.
Tel:650-579-0800 ex4292
mail:haya...@ntti3.com

[Openstack] Horizon troubleshooting

2013-06-13 Thread Igor Laskovy
Hello all!

Have installation of Grizzly and during log in to Horizon get Something
went wrong! page after sent credentials.

Apache log helpless. In other logs (system + other nova services)
everything alright.

So how I can determine what wrong with installation? I found that I can
turn on verbose logging for django Horizon app, but how?

--
Igor Laskovy
facebook.com/igor.laskovy
studiogrizzly.com
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] UX Discussions - proposal for better organization, rising activity and awareness

2013-06-12 Thread Toshiyuki Hayashi
Hi Jarda,

I'm Toshi, I'm also working on Horizon UI improvement (mainly network
topology view). I totally agree with you.
I've been wondering how to discuss the design ideas for Horizon, and I
think we need some documents such as a design guideline to keep
Horizon UI as a certain level of lookfeel and interactions.
I believe your idea works very well for Horizon!
BTW, I didn't know the  Google+ community for Horizon. Could you
please share the URL?

On Tue, Jun 11, 2013 at 9:51 PM, Jaromir Coufal jcou...@redhat.com wrote:
 Hello Everybody!

 my name is Jarda (shortening from Jaromir) and I'm working on Horizon in a
 way of improvement the UX. Couple of weeks ago, there was set up community
 on Google+ to group UX related people to discuss designing issues. I think
 it was really great idea to start this effort and I love to see all people
 interested in helping Horizon being a better place. However, Google+ posts
 and discussions don't work very well for broader discussions about design
 issues, and I'd like to state here few examples of why I think so:
 - Comments are very narrow (worse readability, long comments are really bad
 supported).
 - Comments don't include images support.
 - There is no way where to store supportive materials.
 - Nobody knows what issues are resolved, what are still active.
 - No possibility to search for related topic (was this already discussed? Am
 I the first one to ask this?).
 - Notifications are also not from the best ones (activity of members just
 slipped down); not big awareness.

 ... and I have little bit more troubles with using it for design
 discussions.
 But long story short - I'd like to propose using GitHub for storing
 documentation and starting discussions related to UX of OpenStack (Horizon).

 In my opinion the best way to deal with UX in Horizon is to create a GitHub
 repository user_experience within OpenStack account, store related
 documentation in there and use GitHub Issues for discussions. Here are some
 benefits:
 * You can get subscribed to the repositoryor even just issue you are
 interested in, so you get notifications on your mail or just online
 (whatever works for you).
 * Issues are grouping topics very well together so the discussion for the
 topic stays at one place and everything is connected.
 * Once the issue is solved we can close it (and it is archived).
 * Issues have quite good options for text formatting.
 * You can past image directly to the post.
 * You can upload bigger temporary supportive materials to your forked
 repository.
 * The upstream repository itself can work as a good place to store UX
 documentations for Horizon (wireframes, documents, guides, etc).
 * What goes to the repository itself goes through pull-request process so we
 can make sure that there are ideas which were publicly discussed and
 accepted.

 Also, it provides better accessible way for any contributor, who is having
 some UX related issue. Since user_experience repository would be placed
 among other projects, it will be very easy to notice it and find this place
 if I need such a help. So, it is more likely, that we will increase activity
 and get more ideas together, also we enhance connecting developers and
 design people together, if both are contributing. I see UX as another
 project under OpenStack, though - sure - little bit different type of
 project, but still a project. And if we manage to get this project active we
 will definitely enhance resulting UX of Horizon, which is a goal.

 What do you think about this idea? Any thoughts? I'd be very happy to help
 with setting this up so it works smoothly.

 Best
 -- Jarda
 jcoufal at #openstack-horizon

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 
Toshiyuki Hayashi
NTT Innovation Institute Inc.
Tel:650-579-0800 ex4292
mail:haya...@ntti3.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] UX Discussions - proposal for better organization, rising activity and awareness

2013-06-12 Thread Jaromir Coufal

Hi Toshi,

it's great to meet you and thanks for support. What you mentioned here 
is one of the issues: worse awareness of such an activity. Hopefully GH 
will enhance this (as well as the other issues). Apart from being among 
other projects, we can also help making it more visible with some note 
on OpenStack pages / Horizon Launchpad then.


Anyway, the G+ community is at following address: 
https://plus.google.com/communities/100954512393463248122. If we agree 
here, I'd like to move to GH as soon as possible, so we have all 
discussions, proposals and materials archived there.


Best
-- Jarda

On 2013/12/06 23:25, Toshiyuki Hayashi wrote:

Hi Jarda,

I'm Toshi, I'm also working on Horizon UI improvement (mainly network
topology view). I totally agree with you.
I've been wondering how to discuss the design ideas for Horizon, and I
think we need some documents such as a design guideline to keep
Horizon UI as a certain level of lookfeel and interactions.
I believe your idea works very well for Horizon!
BTW, I didn't know the  Google+ community for Horizon. Could you
please share the URL?

On Tue, Jun 11, 2013 at 9:51 PM, Jaromir Coufal jcou...@redhat.com wrote:

Hello Everybody!

my name is Jarda (shortening from Jaromir) and I'm working on Horizon in a
way of improvement the UX. Couple of weeks ago, there was set up community
on Google+ to group UX related people to discuss designing issues. I think
it was really great idea to start this effort and I love to see all people
interested in helping Horizon being a better place. However, Google+ posts
and discussions don't work very well for broader discussions about design
issues, and I'd like to state here few examples of why I think so:
- Comments are very narrow (worse readability, long comments are really bad
supported).
- Comments don't include images support.
- There is no way where to store supportive materials.
- Nobody knows what issues are resolved, what are still active.
- No possibility to search for related topic (was this already discussed? Am
I the first one to ask this?).
- Notifications are also not from the best ones (activity of members just
slipped down); not big awareness.

... and I have little bit more troubles with using it for design
discussions.
But long story short - I'd like to propose using GitHub for storing
documentation and starting discussions related to UX of OpenStack (Horizon).

In my opinion the best way to deal with UX in Horizon is to create a GitHub
repository user_experience within OpenStack account, store related
documentation in there and use GitHub Issues for discussions. Here are some
benefits:
* You can get subscribed to the repositoryor even just issue you are
interested in, so you get notifications on your mail or just online
(whatever works for you).
* Issues are grouping topics very well together so the discussion for the
topic stays at one place and everything is connected.
* Once the issue is solved we can close it (and it is archived).
* Issues have quite good options for text formatting.
* You can past image directly to the post.
* You can upload bigger temporary supportive materials to your forked
repository.
* The upstream repository itself can work as a good place to store UX
documentations for Horizon (wireframes, documents, guides, etc).
* What goes to the repository itself goes through pull-request process so we
can make sure that there are ideas which were publicly discussed and
accepted.

Also, it provides better accessible way for any contributor, who is having
some UX related issue. Since user_experience repository would be placed
among other projects, it will be very easy to notice it and find this place
if I need such a help. So, it is more likely, that we will increase activity
and get more ideas together, also we enhance connecting developers and
design people together, if both are contributing. I see UX as another
project under OpenStack, though - sure - little bit different type of
project, but still a project. And if we manage to get this project active we
will definitely enhance resulting UX of Horizon, which is a goal.

What do you think about this idea? Any thoughts? I'd be very happy to help
with setting this up so it works smoothly.

Best
-- Jarda
jcoufal at #openstack-horizon

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp






___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] [Horizon] UX Discussions - proposal for better organization, rising activity and awareness

2013-06-11 Thread Jaromir Coufal

Hello Everybody!

my name is Jarda (shortening from Jaromir) and I'm working on Horizon in 
a way of improvement the UX. Couple of weeks ago, there was set up 
community on Google+ to group UX related people to discuss designing 
issues. I think it was really great idea to start this effort and I love 
to see all people interested in helping Horizon being a better place. 
However, Google+ posts and discussions don't work very well for broader 
discussions about design issues, and I'd like to state here few examples 
of why I think so:
- Comments are very narrow (worse readability, long comments are really 
bad supported).

- Comments don't include images support.
- There is no way where to store supportive materials.
- Nobody knows what issues are resolved, what are still active.
- No possibility to search for related topic (was this already 
discussed? Am I the first one to ask this?).
- Notifications are also not from the best ones (activity of members 
just slipped down); not big awareness.


... and I have little bit more troubles with using it for design 
discussions.
But long story short - I'd like to propose using GitHub for storing 
documentation and starting discussions related to UX of OpenStack (Horizon).


In my opinion the best way to deal with UX in Horizon is to create a 
GitHub repository user_experience within OpenStack account, store 
related documentation in there and use GitHub Issues for discussions. 
Here are some benefits:
* You can get subscribed to the repositoryor even just issue you are 
interested in, so you get notifications on your mail or just online 
(whatever works for you).
* Issues are grouping topics very well together so the discussion for 
the topic stays at one place and everything is connected.

* Once the issue is solved we can close it (and it is archived).
* Issues have quite good options for text formatting.
* You can past image directly to the post.
* You can upload bigger temporary supportive materials to your forked 
repository.
* The upstream repository itself can work as a good place to store UX 
documentations for Horizon (wireframes, documents, guides, etc).
* What goes to the repository itself goes through pull-request process 
so we can make sure that there are ideas which were publicly discussed 
and accepted.


Also, it provides better accessible way for any contributor, who is 
having some UX related issue. Since user_experience repository would 
be placed among other projects, it will be very easy to notice it and 
find this place if I need such a help. So, it is more likely, that we 
will increase activity and get more ideas together, also we enhance 
connecting developers and design people together, if both are 
contributing. I see UX as another project under OpenStack, though - sure 
- little bit different type of project, but still a project. And if we 
manage to get this project active we will definitely enhance resulting 
UX of Horizon, which is a goal.


What do you think about this idea? Any thoughts? I'd be very happy to 
help with setting this up so it works smoothly.


Best
-- Jarda
jcoufal at #openstack-horizon
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon Error - Requested URL / was not found on this server.

2013-06-04 Thread K, Shanthakumar
I have successfully configured openstack Grizzly setup.

While launching the dashboard I'm getting the following error in webpage,

+
Not Found

The requested URL / was not found on this server.

Apache Server at 10.1.52.161 Port 80
++

apache- error log

Tue Jun 04 06:25:03 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Tue Jun 04 06:25:03 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Tue Jun 04 06:25:03 2013] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 
Python/2.7.3 configured -- resuming normal operations
[Tue Jun 04 10:42:36 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs, referer: http://10.1.52.161/domain/projects/
[Tue Jun 04 10:42:36 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs, referer: http://10.1.52.161/domain/projects/
[Tue Jun 04 10:42:36 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 10:42:40 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs, referer: http://10.1.52.161/domain/
[Tue Jun 04 10:42:40 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 10:43:36 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 10:43:36 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Mon Jun 03 20:14:19 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Mon Jun 03 20:14:19 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Mon Jun 03 20:14:19 2013] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 
Python/2.7.3 configured -- resuming normal operations
[Tue Jun 04 00:27:13 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:27:13 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:44:44 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:44:44 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:44:51 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:44:51 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:45:28 2013] [error] [client 192.168.124.2] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:45:28 2013] [error] [client 192.168.124.2] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:48:54 2013] [error] [client 192.168.124.2] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:48:54 2013] [error] [client 192.168.124.2] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:56:40 2013] [error] [client 192.168.124.2] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:56:40 2013] [error] [client 192.168.124.2] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:56:47 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:56:47 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 00:56:59 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 01:00:10 2013] [notice] caught SIGTERM, shutting down
[Tue Jun 04 01:00:20 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Tue Jun 04 01:00:20 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Tue Jun 04 01:00:20 2013] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 
Python/2.7.3 configured -- resuming normal operations
[Tue Jun 04 01:02:00 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Tue Jun 04 01:02:00 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Tue Jun 04 01:02:00 2013] [warn] pid file /var/run/apache2.pid overwritten -- 
Unclean shutdown of previous Apache run?
[Tue Jun 04 01:02:00 2013] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 
Python/2.7.3 configured -- resuming normal operations
[Tue Jun 04 01:02:07 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 01:02:07 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 01:02:12 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 01:02:12 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 01:03:10 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 01:03:10 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs
[Tue Jun 04 01:03:11 2013] [error] [client 10.1.4.217] File does not exist: 
/etc/apache2/htdocs

Any help at the earliest would be very helpful

Thanks
Shanthakumar K

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] horizon nova endpoint usage question

2013-05-09 Thread Wyllys Ingersoll

The Horizon UI novaclient method requests nova endpoints from the service 
catalog without specifying an endpoint_type parameter.  Would it be more 
correct for those requests to default to the 'internalURL' instead?   There are 
use cases where the publicURL is not exposed or defined, but if you leave 
publicURL undefined it causes some operations to fail because the code assumes 
the  publicURL is always present and valid.

The default for horizon-keystone service requests is to use the 'internalURL' 
and can be configured by the OPENSTACK_ENDPOINT_TYPE parameter in 
local_settings.py, but that doesn't seem to apply to any of the horizon-nova 
operations.  Perhaps it should, or another parameter could be created to affect 
horizon-nova interactions.

-Wyllys Ingersoll
 Evault

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon nova endpoint usage question

2013-05-09 Thread Gabriel Hurley
If that config option is not being respected for the Nova API calls that's a 
bug. Please file a ticket on Launchpad so we can track fixing it.

Thanks!


-  Gabriel

From: Openstack 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of Wyllys Ingersoll
Sent: Thursday, May 09, 2013 1:19 PM
To: openstack@lists.launchpad.net
Subject: [Openstack] horizon nova endpoint usage question


The Horizon UI novaclient method requests nova endpoints from the service 
catalog without specifying an endpoint_type parameter.  Would it be more 
correct for those requests to default to the 'internalURL' instead?   There are 
use cases where the publicURL is not exposed or defined, but if you leave 
publicURL undefined it causes some operations to fail because the code assumes 
the  publicURL is always present and valid.

The default for horizon-keystone service requests is to use the 'internalURL' 
and can be configured by the OPENSTACK_ENDPOINT_TYPE parameter in 
local_settings.py, but that doesn't seem to apply to any of the horizon-nova 
operations.  Perhaps it should, or another parameter could be created to affect 
horizon-nova interactions.

-Wyllys Ingersoll
 Evault

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon nova endpoint usage question

2013-05-09 Thread Wyllys Ingersoll
Will do, thanks.



On May 9, 2013, at 7:26 PM, Gabriel Hurley 
gabriel.hur...@nebula.commailto:gabriel.hur...@nebula.com wrote:

If that config option is not being respected for the Nova API calls that’s a 
bug. Please file a ticket on Launchpad so we can track fixing it.

Thanks!


-  Gabriel

From: Openstack 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of Wyllys Ingersoll
Sent: Thursday, May 09, 2013 1:19 PM
To: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Subject: [Openstack] horizon nova endpoint usage question


The Horizon UI novaclient method requests nova endpoints from the service 
catalog without specifying an endpoint_type parameter.  Would it be more 
correct for those requests to default to the 'internalURL' instead?   There are 
use cases where the publicURL is not exposed or defined, but if you leave 
publicURL undefined it causes some operations to fail because the code assumes 
the  publicURL is always present and valid.

The default for horizon-keystone service requests is to use the 'internalURL' 
and can be configured by the OPENSTACK_ENDPOINT_TYPE parameter in 
local_settings.py, but that doesn't seem to apply to any of the horizon-nova 
operations.  Perhaps it should, or another parameter could be created to affect 
horizon-nova interactions.

-Wyllys Ingersoll
 Evault

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - Internal Server Error when hitting /nova/instances_and_volumes/

2013-05-08 Thread Daniel Ellison
On May 7, 2013, at 2:01 PM, Daniel Ellison dan...@syrinx.net wrote:
 As the subject says, I'm having issues getting at Instances  Volumes (also 
 Images  Snapshots) in Horizon. I'm running grizzly on precise. Everything 
 else works fine; the entire Admin tab works as expected. The Overview and 
 Access  Security also work fine.
 
 Is there any way to see what calls are being made from horizon to nova? I 
 debugged some previous issues by using --debug on some python client calls. 
 But I don't think there's an equivalent in this case.
 
 The Apache log on my horizon machine (a VM under nova) shows the 500 error, 
 then has a bunch of 404s when trying to retrieve media and other resources, 
 e.g. /nova/images_and_snapshots/dashboard/css/style.css. For all other calls 
 there are no 404 errors (and no 500 errors, needless to say). 
 
 I'm only using Nova, Keystone and Glance for the moment. So no Cinder to 
 consider, and no attached volumes. Does any of this sound familiar to anyone?

I think I know the source of the problem. I first had to add a logging section 
for openstack_dashboard in local_settings.py despite the fact that there was 
already a section for horizon. Then I was able to see the exception that was 
happening:

ServiceCatalogException: Invalid service catalog service: volume

I don't have Cinder installed, but it looks like Horizon is expecting it to be 
there. I don't have a volume endpoint, as far as I can tell. nova endpoints 
only lists glance nova, ec2 and keystone.

Is there a way to disable this behaviour in Horizon? Or is there a setting I'm 
missing?

Thanks,
Daniel
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - Internal Server Error when hitting /nova/instances_and_volumes/

2013-05-08 Thread Daniel Ellison
On May 8, 2013, at 7:27 AM, Daniel Ellison dan...@syrinx.net wrote:
 On May 7, 2013, at 2:01 PM, Daniel Ellison dan...@syrinx.net wrote:
 I think I know the source of the problem. I first had to add a logging 
 section for openstack_dashboard in local_settings.py despite the fact that 
 there was already a section for horizon. Then I was able to see the 
 exception that was happening:
 
ServiceCatalogException: Invalid service catalog service: volume
 
 I don't have Cinder installed, but it looks like Horizon is expecting it to 
 be there. I don't have a volume endpoint, as far as I can tell. nova 
 endpoints only lists glance nova, ec2 and keystone.
 
 Is there a way to disable this behaviour in Horizon? Or is there a setting 
 I'm missing?

I ended up installing Cinder anyway, and now I can get at both 
instances_and_volumes and images_and_snapshots. I didn't want to have to 
install something I'm not planning on using, but it was the only way I could 
think of to get past the sticking point.

The reason I'm not using Cinder is that I created a 6TB LVM volume from two 3TB 
drives on my server long before I started testing OpenStack, and resizing it 
now would be a real pain. I don't have easy physical access to the machine 
itself, so making changes that big is dangerous at best. This whole OpenStack 
install is for a proof-of-concept anyway, so I can live without Cinder. Or at 
least, I thought I could :)

Daniel
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon dashboard error 500

2013-05-08 Thread Guilherme Russi
Hello Rajesh, where should I change this COMPRESS_OFFLINE?

Thank you.

Guilherme.


2013/5/3 Rajesh Upadhayay rupadha...@xavient.com

 This has issue has been fixed by changing False as false.
 COMPRESS_OFFLINE = false

 -Original Message-
 From: Julie Pichon [mailto:jpic...@redhat.com]
 Sent: Friday, May 03, 2013 8:29 PM
 To: Rajesh Upadhayay
 Cc: openstack@lists.launchpad.net
 Subject: Re: [Openstack] horizon dashboard error 500

 Hi,

 Rajesh Upadhayay rupadha...@xavient.com wrote:
  I have just installed Openstack Grizzly on Ubuntu 12.04 LTS..
  Everything was fine but after server reboot, I lost dashboard and
  getting error 500 Internal Server Error.
 
  I have verified all configuration but didn't get any idea.

 Have a look in the Apache error logs, there should be more information
 about the error.

 If this is a dev or test environment (not production), you could also set
 DEBUG to True in your local_settings.py to display more information when
 the error occurs.

 Regards,

 Julie
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - Internal Server Error when hitting /nova/instances_and_volumes/

2013-05-08 Thread Gabriel Hurley
If you have Instances  Volumes then you're not running Grizzly Horizon. 
Those two were split apart in Grizzly. Prior to Grizzly the Volume Service was 
required. In Grizzly Horizon it's not.

As such you have two choices: run Cinder like you are but don't use it, or 
upgrade so you're actually running Grizzly Horizon and don't run Cinder.

All the best,

- Gabriel

 -Original Message-
 From: Openstack [mailto:openstack-
 bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of
 Daniel Ellison
 Sent: Tuesday, May 07, 2013 11:01 AM
 To: OpenStack Users
 Subject: [Openstack] Horizon - Internal Server Error when hitting
 /nova/instances_and_volumes/
 
 As the subject says, I'm having issues getting at Instances  Volumes (also
 Images  Snapshots) in Horizon. I'm running grizzly on precise. Everything
 else works fine; the entire Admin tab works as expected. The Overview
 and Access  Security also work fine.
 
 Is there any way to see what calls are being made from horizon to nova? I
 debugged some previous issues by using --debug on some python client
 calls. But I don't think there's an equivalent in this case.
 
 The Apache log on my horizon machine (a VM under nova) shows the 500
 error, then has a bunch of 404s when trying to retrieve media and other
 resources, e.g. /nova/images_and_snapshots/dashboard/css/style.css. For
 all other calls there are no 404 errors (and no 500 errors, needless to say).
 
 I'm only using Nova, Keystone and Glance for the moment. So no Cinder to
 consider, and no attached volumes. Does any of this sound familiar to
 anyone?
 
 Thanks,
 Daniel
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon dashboard error 500

2013-05-08 Thread Gabriel Hurley
There's something very wrong is false doesn't raise an exception. In Python 
False is a Boolean value, false is a variable name which should be 
undefined.

That aside, you should set COMPRESS_OFFLINE=False in your 
openstack_dashboard/local/local_settings.py file.

- Gabriel

 -Original Message-
 From: Openstack [mailto:openstack-
 bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of
 Rajesh Upadhayay
 Sent: Friday, May 03, 2013 10:18 AM
 To: Julie Pichon
 Cc: openstack@lists.launchpad.net
 Subject: Re: [Openstack] horizon dashboard error 500
 
 This has issue has been fixed by changing False as false.
 COMPRESS_OFFLINE = false
 
 -Original Message-
 From: Julie Pichon [mailto:jpic...@redhat.com]
 Sent: Friday, May 03, 2013 8:29 PM
 To: Rajesh Upadhayay
 Cc: openstack@lists.launchpad.net
 Subject: Re: [Openstack] horizon dashboard error 500
 
 Hi,
 
 Rajesh Upadhayay rupadha...@xavient.com wrote:
  I have just installed Openstack Grizzly on Ubuntu 12.04 LTS..
  Everything was fine but after server reboot, I lost dashboard and
  getting error 500 Internal Server Error.
 
  I have verified all configuration but didn't get any idea.
 
 Have a look in the Apache error logs, there should be more information
 about the error.
 
 If this is a dev or test environment (not production), you could also set
 DEBUG to True in your local_settings.py to display more information when
 the error occurs.
 
 Regards,
 
 Julie
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon dashboard error 500

2013-05-08 Thread Guilherme Russi
But where is the path that I can find this file?


2013/5/8 Gabriel Hurley gabriel.hur...@nebula.com

 There's something very wrong is false doesn't raise an exception. In
 Python False is a Boolean value, false is a variable name which should
 be undefined.

 That aside, you should set COMPRESS_OFFLINE=False in your
 openstack_dashboard/local/local_settings.py file.

 - Gabriel

  -Original Message-
  From: Openstack [mailto:openstack-
  bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of
  Rajesh Upadhayay
  Sent: Friday, May 03, 2013 10:18 AM
  To: Julie Pichon
  Cc: openstack@lists.launchpad.net
  Subject: Re: [Openstack] horizon dashboard error 500
 
  This has issue has been fixed by changing False as false.
  COMPRESS_OFFLINE = false
 
  -Original Message-
  From: Julie Pichon [mailto:jpic...@redhat.com]
  Sent: Friday, May 03, 2013 8:29 PM
  To: Rajesh Upadhayay
  Cc: openstack@lists.launchpad.net
  Subject: Re: [Openstack] horizon dashboard error 500
 
  Hi,
 
  Rajesh Upadhayay rupadha...@xavient.com wrote:
   I have just installed Openstack Grizzly on Ubuntu 12.04 LTS..
   Everything was fine but after server reboot, I lost dashboard and
   getting error 500 Internal Server Error.
  
   I have verified all configuration but didn't get any idea.
 
  Have a look in the Apache error logs, there should be more information
  about the error.
 
  If this is a dev or test environment (not production), you could also set
  DEBUG to True in your local_settings.py to display more information when
  the error occurs.
 
  Regards,
 
  Julie
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp



 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - Internal Server Error when hitting /nova/instances_and_volumes/

2013-05-08 Thread Daniel Ellison
On May 8, 2013, at 2:48 PM, Gabriel Hurley gabriel.hur...@nebula.com wrote:
 If you have Instances  Volumes then you're not running Grizzly Horizon. 
 Those two were split apart in Grizzly. Prior to Grizzly the Volume Service 
 was required. In Grizzly Horizon it's not.
 
 As such you have two choices: run Cinder like you are but don't use it, or 
 upgrade so you're actually running Grizzly Horizon and don't run Cinder.

Yep, I just figured that out. I was running Horizon in a VM and hadn't added 
the grizzly.list to /etc/apt/sources.list.d/. When I installed, it grabbed the 
older version of Horizon. That caused a few headaches. :)

Thanks for your input! If I hadn't figured it out, your suggestion would have 
put me on the right track.

Daniel
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon dashboard error 500

2013-05-08 Thread Guilherme Russi
:01 2013] [error] [client 192.168.3.1]   File
/usr/lib/python2.7/dist-packages/django/template/loader_tags.py, line
155, in render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] return
self.render_template(self.template, context), referer:
http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
/usr/lib/python2.7/dist-packages/django/template/loader_tags.py, line
137, in render_template, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] output =
template.render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
/usr/lib/python2.7/dist-packages/django/template/base.py, line 140, in
render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] return
self._render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
/usr/lib/python2.7/dist-packages/django/template/base.py, line 134, in
_render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] return
self.nodelist.render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
/usr/lib/python2.7/dist-packages/django/template/base.py, line 823, in
render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] bit =
self.render_node(node, context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
/usr/lib/python2.7/dist-packages/django/template/base.py, line 837, in
render_node, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] return
node.render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py,
line 147, in render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] return
self.render_compressed(context, self.kind, self.mode, forced=forced),
referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py,
line 88, in render_compressed, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] cached_offline
= self.render_offline(context, forced=forced), referer:
http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py,
line 72, in render_offline, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] 'You may need
to run python manage.py compress.' % key), referer:
http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]
OfflineGenerationError: You have offline compression enabled but key
3ddd89d27fa2e162d4efd30c103a072b is missing from offline manifest. You
may need to run python manage.py compress., referer:
http://192.168.3.1/horizon

I made the upgrade from Folsom to Grizzly, maybe I'm missing something?

Regards.

Guilherme.


2013/5/8 Guilherme Russi luisguilherme...@gmail.com

 But where is the path that I can find this file?


 2013/5/8 Gabriel Hurley gabriel.hur...@nebula.com

 There's something very wrong is false doesn't raise an exception. In
 Python False is a Boolean value, false is a variable name which should
 be undefined.

 That aside, you should set COMPRESS_OFFLINE=False in your
 openstack_dashboard/local/local_settings.py file.

 - Gabriel

  -Original Message-
  From: Openstack [mailto:openstack-
  bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of
  Rajesh Upadhayay
  Sent: Friday, May 03, 2013 10:18 AM
  To: Julie Pichon
  Cc: openstack@lists.launchpad.net
  Subject: Re: [Openstack] horizon dashboard error 500
 
  This has issue has been fixed by changing False as false.
  COMPRESS_OFFLINE = false
 
  -Original Message-
  From: Julie Pichon [mailto:jpic...@redhat.com]
  Sent: Friday, May 03, 2013 8:29 PM
  To: Rajesh Upadhayay
  Cc: openstack@lists.launchpad.net
  Subject: Re: [Openstack] horizon dashboard error 500
 
  Hi,
 
  Rajesh Upadhayay rupadha...@xavient.com wrote:
   I have just installed Openstack Grizzly on Ubuntu 12.04 LTS..
   Everything was fine but after server reboot, I lost dashboard and
   getting error 500 Internal Server Error.
  
   I have verified all configuration but didn't get any idea.
 
  Have a look in the Apache error logs, there should be more information
  about the error.
 
  If this is a dev or test environment (not production), you could also
 set
  DEBUG to True in your local_settings.py to display more information when
  the error occurs.
 
  Regards,
 
  Julie

[Openstack] Horizon - Internal Server Error when hitting /nova/instances_and_volumes/

2013-05-07 Thread Daniel Ellison
As the subject says, I'm having issues getting at Instances  Volumes (also 
Images  Snapshots) in Horizon. I'm running grizzly on precise. Everything 
else works fine; the entire Admin tab works as expected. The Overview and 
Access  Security also work fine.

Is there any way to see what calls are being made from horizon to nova? I 
debugged some previous issues by using --debug on some python client calls. But 
I don't think there's an equivalent in this case.

The Apache log on my horizon machine (a VM under nova) shows the 500 error, 
then has a bunch of 404s when trying to retrieve media and other resources, 
e.g. /nova/images_and_snapshots/dashboard/css/style.css. For all other calls 
there are no 404 errors (and no 500 errors, needless to say). 

I'm only using Nova, Keystone and Glance for the moment. So no Cinder to 
consider, and no attached volumes. Does any of this sound familiar to anyone?

Thanks,
Daniel
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon dashboard error 500

2013-05-03 Thread Julie Pichon
Hi,

Rajesh Upadhayay rupadha...@xavient.com wrote:
 I have just installed Openstack Grizzly on Ubuntu 12.04 LTS.. Everything was
 fine but after server reboot, I lost dashboard and getting error 500
 Internal Server Error.
 
 I have verified all configuration but didn't get any idea.

Have a look in the Apache error logs, there should be more information about 
the error.

If this is a dev or test environment (not production), you could also set DEBUG 
to True in your local_settings.py to display more information when the error 
occurs.

Regards,

Julie

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon dashboard error 500

2013-05-03 Thread Rajesh Upadhayay
This has issue has been fixed by changing False as false.
COMPRESS_OFFLINE = false

-Original Message-
From: Julie Pichon [mailto:jpic...@redhat.com] 
Sent: Friday, May 03, 2013 8:29 PM
To: Rajesh Upadhayay
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] horizon dashboard error 500

Hi,

Rajesh Upadhayay rupadha...@xavient.com wrote:
 I have just installed Openstack Grizzly on Ubuntu 12.04 LTS.. 
 Everything was fine but after server reboot, I lost dashboard and 
 getting error 500 Internal Server Error.
 
 I have verified all configuration but didn't get any idea.

Have a look in the Apache error logs, there should be more information about 
the error.

If this is a dev or test environment (not production), you could also set DEBUG 
to True in your local_settings.py to display more information when the error 
occurs.

Regards,

Julie
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon error

2013-04-25 Thread Heiko Krämer
Hi Mballo,

looks good to me. Please check your keystone endpoints too. You need to
check the other service parts too if all endpoints are correct.
Do you see on your project page your images, networks and volumes? It's
mostly a good indicator if your horizon can communicate with these API's.



Greetings
Heiko

Am 23.04.2013 18:12, schrieb Mballo Cherif:

 Hi Hiho,

 Thanks you for your answers. In fact when I lauch nova-manage service
 list I get this:

  

 /nova-certopenstack-grizzly.linux.gem 
 internal enabled:-)   2013-04-23 16:05:03/

 /nova-conductor   openstack-grizzly.linux.gem 
 internal enabled:-)   2013-04-23 16:05:03/

 /nova-consoleauth openstack-grizzly.linux.gem 
 internal enabled:-)   2013-04-23 16:05:03/

 /nova-scheduler   openstack-grizzly.linux.gem 
 internal enabled:-)   2013-04-23 16:05:03/

 /nova-compute openstack-grizzly.linux.gem 
 nova enabled:-)   2013-04-23 16:05:04/

  

  

 is it normal not having nova-api in the list ?. Otherwise when I check
 service nova-api status the service is running well (/nova-api
 start/running, process 13421/)

  

  

  

 *From:*Openstack
 [mailto:openstack-bounces+cherif.mballo=gemalto@lists.launchpad.net]
 *On Behalf Of *Heiko Krämer
 *Sent:* mardi 23 avril 2013 17:30
 *To:* openstack@lists.launchpad.net
 *Subject:* Re: [Openstack] horizon error

  

 Hiho,

 this occurs if an service not running or not reachable. In your case
 mostly api or compute.
 Check if each service are running and reachable from your Horizon host.

 Check if all endpoints in keystone are configured correctly.

 Greetings
 Heiko


 On 23.04.2013 17:25, Mballo Cherif wrote:

 Hi everybody, when I'm authenticate with horizon I have this
 message *Error: *Unauthorized: Unable to retrieve usage
 information. And *Error: *Unauthorized: Unable to retrieve quota
 information.

 How can I fix this issue?

  

 Thanks you for your help!

  

 Sheriff!

  




 ___

 Mailing list: https://launchpad.net/~openstack 
 https://launchpad.net/%7Eopenstack

 Post to : openstack@lists.launchpad.net 
 mailto:openstack@lists.launchpad.net

 Unsubscribe : https://launchpad.net/~openstack 
 https://launchpad.net/%7Eopenstack

 More help   : https://help.launchpad.net/ListHelp

  


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] horizon error

2013-04-23 Thread Mballo Cherif
Hi everybody, when I'm authenticate with horizon I have this message Error: 
Unauthorized: Unable to retrieve usage information. And Error: Unauthorized: 
Unable to retrieve quota information.

How can I fix this issue?



Thanks you for your help!



Sheriff!



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon error

2013-04-23 Thread Heiko Krämer
Hiho,

this occurs if an service not running or not reachable. In your case
mostly api or compute.
Check if each service are running and reachable from your Horizon host.

Check if all endpoints in keystone are configured correctly.

Greetings
Heiko


On 23.04.2013 17:25, Mballo Cherif wrote:

 Hi everybody, when I'm authenticate with horizon I have this message
 *Error: *Unauthorized: Unable to retrieve usage information. And
 *Error: *Unauthorized: Unable to retrieve quota information.

 How can I fix this issue?

  

 Thanks you for your help!

  

 Sheriff!

  



 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon error

2013-04-23 Thread Mballo Cherif
Hi Hiho,

Thanks you for your answers. In fact when I lauch nova-manage service list I 
get this:



nova-certopenstack-grizzly.linux.gem  internal enabled  
  :-)   2013-04-23 16:05:03

nova-conductor   openstack-grizzly.linux.gem  internal enabled  
  :-)   2013-04-23 16:05:03

nova-consoleauth openstack-grizzly.linux.gem  internal enabled  
  :-)   2013-04-23 16:05:03

nova-scheduler   openstack-grizzly.linux.gem  internal enabled  
  :-)   2013-04-23 16:05:03

nova-compute openstack-grizzly.linux.gem  nova enabled  
  :-)   2013-04-23 16:05:04





is it normal not having nova-api in the list ?. Otherwise when I check service 
nova-api status the service is running well (nova-api start/running, process 
13421)







From: Openstack 
[mailto:openstack-bounces+cherif.mballo=gemalto@lists.launchpad.net] On 
Behalf Of Heiko Krämer
Sent: mardi 23 avril 2013 17:30
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] horizon error



Hiho,

this occurs if an service not running or not reachable. In your case mostly api 
or compute.
Check if each service are running and reachable from your Horizon host.

Check if all endpoints in keystone are configured correctly.

Greetings
Heiko


On 23.04.2013 17:25, Mballo Cherif wrote:

Hi everybody, when I'm authenticate with horizon I have this message Error: 
Unauthorized: Unable to retrieve usage information. And Error: Unauthorized: 
Unable to retrieve quota information.

How can I fix this issue?



Thanks you for your help!



Sheriff!








___
Mailing list: https://launchpad.net/~openstack
Post to : 
openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon and Swift Grizzly RC2 available !

2013-03-29 Thread Thierry Carrez
Hello everyone,

Due to various reported issues, we created new Grizzly release
candidates for OpenStack Object Storage (Swift) and OpenStack
Dashboard (Horizon).

You can find those RC2 tarballs and see lists of fixed bugs at:
https://launchpad.net/swift/grizzly/1.8.0-rc2
https://launchpad.net/horizon/grizzly/grizzly-rc2

These are hopefully the last Grizzly release candidates for Swift and
Horizon. Unless new release-critical regressions are found that warrant
another release candidate respin, those RC2s will be formally included
in the common OpenStack 2013.1 final release next week. You are
therefore strongly encouraged to test and validate those tarballs.

Alternatively, you can grab the code at:
https://github.com/openstack/swift/tree/milestone-proposed
https://github.com/openstack/horizon/tree/milestone-proposed

If you find a regression that could be considered release-critical,
please file it on Launchpad and tag it *grizzly-rc-potential* to bring
it to the release crew's attention.

Only a few days left!

-- 
Thierry Carrez (ttx)
Release Manager, OpenStack

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] [Horizon] OpenStack Dashboard Grizzly RC1 available

2013-03-20 Thread Thierry Carrez
Hello everyone,

Hot on the heels of Glance and Swift, OpenStack Dashboard (codenamed
Horizon) also just published its first Grizzly release candidate. It is
available for download at:

https://launchpad.net/horizon/grizzly/grizzly-rc1

Congrats to Gabriel and all the Horizon team!

Unless release-critical issues are found that warrant a release
candidate respin, this RC1 will be formally released as the 2013.1 final
version on April 4. You are therefore strongly encouraged to test and
validate this tarball.

Alternatively, you can directly test the milestone-proposed branch at:
https://github.com/openstack/horizon/tree/milestone-proposed

If you find an issue that could be considered release-critical, please
file it at:

https://bugs.launchpad.net/horizon/+filebug

and tag it *grizzly-rc-potential* to bring it to the release crew's
attention.

Note that the Horizon master branch is now open for Havana
development, and feature freeze restrictions no longer apply.

We are expecting the last Grizzly RC1s (Keystone and Nova) to be
published before the end of the week.

Regards,

-- 
Thierry Carrez (ttx)
Release Manager, OpenStack

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon logging?

2013-03-15 Thread Wyllys Ingersoll

I want to put some debug logging statements in a custom overrides.py module 
for Horizon.  But I can't figure out where the messages will be logged.  They 
don't go in the apache logs and they don't appear in any of the nova logs.  
Horizon doesn't appear to have its own logging, so Im a little stumped.

Im using the standard LOGGING definition in 
/etc/openstack_dashboard/local_settings.py:

LOGGING = {
'version': 1,
# When set to True this will disable all logging except
# for loggers specified in this configuration dictionary. Note that
# if nothing is specified here and disable_existing_loggers is True,
# django.db.backends will still log unless it is disabled explicitly.
'disable_existing_loggers': False,
'handlers': {
'null': {
'level': 'DEBUG',
'class': 'django.utils.log.NullHandler',
},
'console': {
# Set the level to DEBUG for verbose output logging.
'level': 'DEBUG',
'class': 'logging.StreamHandler',
},
},
'loggers': {
# Logging from django.db.backends is VERY verbose, send to null
# by default.
'django.db.backends': {
'handlers': ['null'],
'propagate': False,
},
'horizon': {
'handlers': ['console'],
'propagate': False,
},
'openstack_dashboard': {
'handlers': ['console'],
'propagate': False,
},
'novaclient': {
'handlers': ['console'],
'propagate': False,
},
'keystoneclient': {
'handlers': ['console'],
'propagate': False,
},
'glanceclient': {
'handlers': ['console'],
'propagate': False,
},
'nose.plugins.manager': {
'handlers': ['console'],
'propagate': False,
}
}
}


My custom override module just uses 
LOG = logging.getLogger(__name__)

and then when I want to log something, I'm using:
LOG.debug(Some message…)

Ideally, I think I'd like to have horizon stuff go into its own log file, but 
if that's too involved, I'd be happy to have them in the standard syslog file 
or even one of the nova logs. Any suggestions here would be greatly appreciated.

thanks,
  Wyllys


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon PTL Candidacy

2013-03-05 Thread Gabriel Hurley
Hi folks!

I'm nominating myself for Horizon PTL for another term. I want to continue 
fighting for cross-service integration/standardization, better APIs for 
everyone, and the best possible user interface to introduce people to what 
OpenStack can do.

Quick recap of my qualifications: current Horizon PTL, Horizon core and 
Keystone core since Essex, Django core contributor, commits to nearly all of 
the core OpenStack projects, extremely comprehensive knowledge of OpenStack's 
APIs, and a connoisseur of both OpenStack and fine whiskeys.

Here's to a fantastic Havana release cycle!

- Gabriel


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon PTL Candidacy

2013-03-05 Thread Joshua McKenty
I'd like to nominate your alter-ego of Terrance Dope to this list of
qualifications, and endorse your whiskey expertise.


On Tue, Mar 5, 2013 at 1:55 PM, Gabriel Hurley gabriel.hur...@nebula.comwrote:

 Hi folks!

 I'm nominating myself for Horizon PTL for another term. I want to continue
 fighting for cross-service integration/standardization, better APIs for
 everyone, and the best possible user interface to introduce people to what
 OpenStack can do.

 Quick recap of my qualifications: current Horizon PTL, Horizon core and
 Keystone core since Essex, Django core contributor, commits to nearly all
 of the core OpenStack projects, extremely comprehensive knowledge of
 OpenStack's APIs, and a connoisseur of both OpenStack and fine whiskeys.

 Here's to a fantastic Havana release cycle!

 - Gabriel


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 
--
Joshua McKenty, CTO
Piston Cloud Computing, Inc.
w: (650) 24-CLOUD
m: (650) 283-6846
http://www.pistoncloud.com

Oh, Westley, we'll never survive!
Nonsense. You're only saying that because no one ever has.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] horizon customization_module example???

2013-03-04 Thread Wyllys Ingersoll
Can someone elaborate on how to use the customization_module setting in 
local_settings.py?

Im running openstack-dashboard Version: 2012.2.1-0ubuntu1~cloud0 on Ubuntu 
12.04 LTS.

I read the documentation here - 
http://docs.openstack.org/developer/horizon/topics/customizing.html but several 
things are still unclear to me, even for a simple mod such as removing and/or 
renaming some panels.

I want to just make a few modifications to the standard dashboard and panel, I 
don't want to write a whole new dashboard or write entirely new panels.  I just 
want to eliminate some of the existing ones (as a start).

For example, say I want to eliminate the volumes and instances panels from 
the project dashboards.  I'd prefer to NOT have to modifying the original 
system modules deep down in 
/usr/share/pyshared/horizon/dashboards/nova/dashboard.py.  I hope that's not 
the answer.

The documentation seems to indicate that this could be done with the 
customization_module, but I can't figure out where it goes or what the 
structure would look like.

Questions:
- If I name the customization_module as my_dashboard.overrides - where does 
the overrides file need to be created (i.e. what directory - full path) ?
- Does it require other files to be present in that directory also such as the 
__init__.py or models.py  like a complete dashboard would?

I think once I can figure out where to put my custom mods without making 
horizon barf all over itself, I can make my changes, but getting started is 
proving difficult.

thanks,
  Wyllys






___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon customization_module example???

2013-03-04 Thread Kieran Spear
Hi Wyllys,

On 5 March 2013 08:59, Wyllys Ingersoll wyllys.ingers...@evault.com wrote:
 Questions:
 - If I name the customization_module as my_dashboard.overrides - where does 
 the overrides file need to be created (i.e. what directory - full path) ?

my_dashboard.overrides needs to be importable by the process running
Horizon. So your my_dashboard module needs to be on your python path
somehow. Probably the easiest way is to add a python-path argument to
the WSGIDaemonProcess line in Apache's Horizon config. I'm not sure
where this lives exactly for the ubuntu package (should be somewhere
under /etc/apache2/).

Assuming your my_dashboard module lives in /opt/python/my_dashboard,
you'd make it look like the following:

WSGIDaemonProcess [... existing options ...] python-path=/opt/python

Alternatively you can make your module an installable python package
and install it system-wide (e.g., create a setup.py).

 - Does it require other files to be present in that directory also such as 
 the __init__.py or models.py  like a complete dashboard would?

It will need a __init__.py but should be fine without a models.py.

I'll see about getting this info added to the docs.

Cheers,
Kieran


 I think once I can figure out where to put my custom mods without making 
 horizon barf all over itself, I can make my changes, but getting started is 
 proving difficult.

 thanks,
   Wyllys







 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon customization_module example???

2013-03-04 Thread Wyllys Ingersoll

Thanks!

Any hints on how to remove some of the default Nova panels from the dashboard 
using the customization_module?




On Mar 4, 2013, at 6:52 PM, Kieran Spear kisp...@gmail.com wrote:

 Hi Wyllys,
 
 On 5 March 2013 08:59, Wyllys Ingersoll wyllys.ingers...@evault.com wrote:
 Questions:
 - If I name the customization_module as my_dashboard.overrides - where 
 does the overrides file need to be created (i.e. what directory - full 
 path) ?
 
 my_dashboard.overrides needs to be importable by the process running
 Horizon. So your my_dashboard module needs to be on your python path
 somehow. Probably the easiest way is to add a python-path argument to
 the WSGIDaemonProcess line in Apache's Horizon config. I'm not sure
 where this lives exactly for the ubuntu package (should be somewhere
 under /etc/apache2/).
 
 Assuming your my_dashboard module lives in /opt/python/my_dashboard,
 you'd make it look like the following:
 
 WSGIDaemonProcess [... existing options ...] python-path=/opt/python
 
 Alternatively you can make your module an installable python package
 and install it system-wide (e.g., create a setup.py).
 
 - Does it require other files to be present in that directory also such as 
 the __init__.py or models.py  like a complete dashboard would?
 
 It will need a __init__.py but should be fine without a models.py.
 
 I'll see about getting this info added to the docs.
 
 Cheers,
 Kieran
 
 
 I think once I can figure out where to put my custom mods without making 
 horizon barf all over itself, I can make my changes, but getting started is 
 proving difficult.
 
 thanks,
  Wyllys
 
 
 
 
 
 
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp
 


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon customization_module example???

2013-03-04 Thread Kieran Spear
On 5 March 2013 12:24, Wyllys Ingersoll wyllys.ingers...@evault.com wrote:

 Thanks!

 Any hints on how to remove some of the default Nova panels from the dashboard 
 using the customization_module?

Something like:

import horizon
nova = horizon.get_dashboard('nova')

nova.unregister(nova.get_panel('instances').__class__)

Substitute projects for nova in Grizzly.


You can also limit a panel to certain keystone roles with an
openstack.roles.role permission:

nova.get_panel('instances').permissions = ('openstack.roles.admin',)

or, more robustly:

instances = nova.get_panel('instances')
permissions = list(getattr(instances, 'permissions', []))
permissions.append('openstack.roles.admin')
instances.permissions = tuple(permissions)

Cheers,
Kieran





 On Mar 4, 2013, at 6:52 PM, Kieran Spear kisp...@gmail.com wrote:

 Hi Wyllys,

 On 5 March 2013 08:59, Wyllys Ingersoll wyllys.ingers...@evault.com wrote:
 Questions:
 - If I name the customization_module as my_dashboard.overrides - where 
 does the overrides file need to be created (i.e. what directory - full 
 path) ?

 my_dashboard.overrides needs to be importable by the process running
 Horizon. So your my_dashboard module needs to be on your python path
 somehow. Probably the easiest way is to add a python-path argument to
 the WSGIDaemonProcess line in Apache's Horizon config. I'm not sure
 where this lives exactly for the ubuntu package (should be somewhere
 under /etc/apache2/).

 Assuming your my_dashboard module lives in /opt/python/my_dashboard,
 you'd make it look like the following:

 WSGIDaemonProcess [... existing options ...] python-path=/opt/python

 Alternatively you can make your module an installable python package
 and install it system-wide (e.g., create a setup.py).

 - Does it require other files to be present in that directory also such as 
 the __init__.py or models.py  like a complete dashboard would?

 It will need a __init__.py but should be fine without a models.py.

 I'll see about getting this info added to the docs.

 Cheers,
 Kieran


 I think once I can figure out where to put my custom mods without making 
 horizon barf all over itself, I can make my changes, but getting started is 
 proving difficult.

 thanks,
  Wyllys







 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] horizon dashboard GUI.

2013-03-01 Thread Mballo Cherif
Hi evorybody !

I am wondering, how can i customize the openstack GUI horizon dashboard. Adding 
element in login in page, customize color, background etc,
where do I make the appropriate changes?

Thanks you for your help!


Sherif!



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] horizon/keystone

2013-02-25 Thread Mballo Cherif
Hello everybody !
I need to understand how does horizon use keystone to authenticate user in 
dashboard?
What is really the interaction with horizon and keystone?
I am looking the horizon code but it's not easy to understand.

Thanks you for your help!

Sherif.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon/keystone

2013-02-25 Thread Julie Pichon
Mballo Cherif cherif.mba...@gemalto.com wrote:
 Hello everybody !
 I need to understand how does horizon use keystone to authenticate
 user in dashboard?
 What is really the interaction with horizon and keystone?
 I am looking the horizon code but it's not easy to understand.
 
 Thanks you for your help!
 
 Sherif.

Hi Sherif. Horizon uses a separate plug-in for authentication that you can find 
on GitHub: https://github.com/gabrielhurley/django_openstack_auth/ . The code 
you're looking for probably is in the authenticate() method at 
openstack_auth/backend.py.

https://github.com/gabrielhurley/django_openstack_auth/blob/master/openstack_auth/backend.py#L56

Hope this helps,

Julie

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-20 Thread Michaël Van de Borne

192.168.202.103 = public controller iface
192.168.203.103 = private controller iface

anyway, I still get the login problem using any of those values


Le 20/02/2013 06:59, Kieran Spear a écrit :



On 20 February 2013 03:40, Michaël Van de Borne 
michael.vandebo...@cetic.be mailto:michael.vandebo...@cetic.be wrote:


Same problem here. Running Grizzly. Dashboard keeps prompting me
for my credentials. Pretty sure dashboard sends wrong tenant name
to keystone.
Here's the relevant section in
/etc/openstack-dashboard/local-settings.py:
OPENSTACK_HOST = 192.168.202.103
OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0;
http://%s:5000/v2.0 % OPENSTACK_HOST
#OPENSTACK_KEYSTONE_DEFAULT_ROLE = Member
OPENSTACK_KEYSTONE_DEFAULT_ROLE = admin


Is that 202 a typo? You used 192.168.203.103 later.

Cheers,
Kieran


michaël




Le 13/02/2013 16:13, Razique Mahroua a écrit :

Is the dash configured to talk with the Keystone backend?
can you run something like $ keystone endoint-list
thanks

*Razique Mahroua** - **Nuage  Co*
razique.mahr...@gmail.com mailto:razique.mahr...@gmail.com
Tel : +33 9 72 37 94 15 tel:%2B33%209%2072%2037%2094%2015


Le 12 févr. 2013 à 16:54, Logan McNaughton lo...@bacoosta.com
mailto:lo...@bacoosta.com a écrit :


I've had this problem before, in my experience it's not a
problem with keystone, it's a problem with nova (by the looks of
the traceback). I believe it's a bug in Horizon because you'll
find a lot of people with this issue if you Google it. I don't
have an answer on how to fix it, other than don't fixate on the
EndpointNotFound, look to your nova configs for a solution.


On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi
trinath.soman...@gmail.com mailto:trinath.soman...@gmail.com
wrote:

Hi Stackers-

I have successfully installed folsom in my test setup.
But when I browse Horison, with admin/password as
credentials, I get this error.

[Tue Feb 12 10:03:16 2013 tel:16%202013] [error] unable to
retrieve service catalog with token
[Tue Feb 12 10:03:16 2013 tel:16%202013] [error] Traceback
(most recent call last):
[Tue Feb 12 10:03:16 2013 tel:16%202013] [error]   File
/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py,
line 132, in _extract_service_catalog
[Tue Feb 12 10:03:16 2013 tel:16%202013] [error]
endpoint_type='adminURL')
[Tue Feb 12 10:03:16 2013 tel:16%202013] [error]   File
/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py,
line 62, in url_for
[Tue Feb 12 10:03:16 2013 tel:16%202013] [error] raise
exceptions.EndpointNotFound('Endpoint not found.')
[Tue Feb 12 10:03:16 2013 tel:16%202013] [error]
EndpointNotFound: Endpoint not found.
[Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized:
n/a (HTTP 401)\x1b[0m
[Tue Feb 12 10:03:17 2013] [error] Traceback (most recent
call last):
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/horizon/usage/base.py,
line 93, in summarize
[Tue Feb 12 10:03:17 2013] [error] self.usage_list =
self.get_usage_list(start, end)
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/horizon/usage/base.py,
line 128, in get_usage_list
[Tue Feb 12 10:03:17 2013] [error] return
api.usage_list(self.request, start, end)
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/horizon/api/nova.py, line
418, in usage_list
[Tue Feb 12 10:03:17 2013] [error] return [Usage(u) for
u in novaclient(request).usage.list(start, end, True)]
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py,
line 35, in list
[Tue Feb 12 10:03:17 2013] [error] tenant_usages)
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/novaclient/base.py, line
62, in _list
[Tue Feb 12 10:03:17 2013] [error] _resp, body =
self.api.client.get(url)
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/novaclient/client.py,
line 239, in get
[Tue Feb 12 10:03:17 2013] [error] return
self._cs_request(url, 'GET', **kwargs)
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/novaclient/client.py,
line 236, in _cs_request
[Tue Feb 12 10:03:17 2013] [error] raise ex
[Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401)

It says , I missed some End point Configuration.

But then, I have configured it correctly.

Can any one guide me resolving this issue.

Thanks 

Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-20 Thread Trinath Somanchi
Also, on quick think to look is the apache error log while you access the
horizon.

look at the log as, tail -f  /var/log/apache/error.log.



On Wed, Feb 20, 2013 at 5:07 PM, Michaël Van de Borne 
michael.vandebo...@cetic.be wrote:

  192.168.202.103 = public controller iface
 192.168.203.103 = private controller iface

 anyway, I still get the login problem using any of those values


 Le 20/02/2013 06:59, Kieran Spear a écrit :



 On 20 February 2013 03:40, Michaël Van de Borne 
 michael.vandebo...@cetic.be wrote:

  Same problem here. Running Grizzly. Dashboard keeps prompting me for my
 credentials. Pretty sure dashboard sends wrong tenant name to keystone.
 Here's the relevant section in /etc/openstack-dashboard/local-settings.py:
 OPENSTACK_HOST = 192.168.202.103
 OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0; % OPENSTACK_HOST
 #OPENSTACK_KEYSTONE_DEFAULT_ROLE = Member
 OPENSTACK_KEYSTONE_DEFAULT_ROLE = admin


 Is that 202 a typo? You used 192.168.203.103 later.

 Cheers,
 Kieran



 michaël




 Le 13/02/2013 16:13, Razique Mahroua a écrit :

 Is the dash configured to talk with the Keystone backend?
 can you run something like $ keystone endoint-list
 thanks

  *Razique Mahroua** - **Nuage  Co*
 razique.mahr...@gmail.com
 Tel : +33 9 72 37 94 15


  Le 12 févr. 2013 à 16:54, Logan McNaughton lo...@bacoosta.com a écrit
 :

  I've had this problem before, in my experience it's not a problem with
 keystone, it's a problem with nova (by the looks of the traceback). I
 believe it's a bug in Horizon because you'll find a lot of people with this
 issue if you Google it. I don't have an answer on how to fix it, other than
 don't fixate on the EndpointNotFound, look to your nova configs for a
 solution.


 On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi 
 trinath.soman...@gmail.com wrote:

 Hi Stackers-

  I have successfully installed folsom in my test setup.
 But when I browse Horison, with admin/password as credentials, I get
 this error.

  [Tue Feb 12 10:03:16 2013 16%202013] [error] unable to retrieve
 service catalog with token
 [Tue Feb 12 10:03:16 2013 16%202013] [error] Traceback (most recent
 call last):
 [Tue Feb 12 10:03:16 2013 16%202013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132,
 in _extract_service_catalog
 [Tue Feb 12 10:03:16 2013 16%202013] [error]
 endpoint_type='adminURL')
 [Tue Feb 12 10:03:16 2013 16%202013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line
 62, in url_for
 [Tue Feb 12 10:03:16 2013 16%202013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Tue Feb 12 10:03:16 2013 16%202013] [error] EndpointNotFound:
 Endpoint not found.
 [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP
 401)\x1b[0m
 [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last):
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in
 summarize
 [Tue Feb 12 10:03:17 2013] [error] self.usage_list =
 self.get_usage_list(start, end)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 128, in
 get_usage_list
 [Tue Feb 12 10:03:17 2013] [error] return
 api.usage_list(self.request, start, end)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/api/nova.py, line 418, in
 usage_list
 [Tue Feb 12 10:03:17 2013] [error] return [Usage(u) for u in
 novaclient(request).usage.list(start, end, True)]
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py, line 35, in
 list
 [Tue Feb 12 10:03:17 2013] [error] tenant_usages)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/base.py, line 62, in _list
 [Tue Feb 12 10:03:17 2013] [error] _resp, body =
 self.api.client.get(url)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/client.py, line 239, in get
 [Tue Feb 12 10:03:17 2013] [error] return self._cs_request(url,
 'GET', **kwargs)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/client.py, line 236, in
 _cs_request
 [Tue Feb 12 10:03:17 2013] [error] raise ex
 [Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401)

  It says , I missed some End point Configuration.

  But then, I have configured it correctly.

  Can any one guide me resolving this issue.

  Thanks in advance.

  --
 Regards,
 --
 Trinath Somanchi,
 +91 9866 235 130

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


  ___
 Mailing list: https://launchpad.net/~openstack
 Post to : 

Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-20 Thread Alex Vitola
I solved the problem by downgrading the horizon for packages below

apt-get install \
openstack-dashboard=2012.1.3+stable~20120815-691dd2-0ubuntu1.1 \
openstack-dashboard-ubuntu-theme=2012.1.3+stable~20120815-691dd2-0ubuntu1.1
\
python-django-horizon=2012.1.3+stable~20120815-691dd2-0ubuntu1.1

att

Alex Vitola


2013/2/20 Trinath Somanchi trinath.soman...@gmail.com

 Also, on quick think to look is the apache error log while you access the
 horizon.

 look at the log as, tail -f  /var/log/apache/error.log.



 On Wed, Feb 20, 2013 at 5:07 PM, Michaël Van de Borne 
 michael.vandebo...@cetic.be wrote:

  192.168.202.103 = public controller iface
 192.168.203.103 = private controller iface

 anyway, I still get the login problem using any of those values


 Le 20/02/2013 06:59, Kieran Spear a écrit :



 On 20 February 2013 03:40, Michaël Van de Borne 
 michael.vandebo...@cetic.be wrote:

  Same problem here. Running Grizzly. Dashboard keeps prompting me for
 my credentials. Pretty sure dashboard sends wrong tenant name to keystone.
 Here's the relevant section in
 /etc/openstack-dashboard/local-settings.py:
 OPENSTACK_HOST = 192.168.202.103
 OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0; % OPENSTACK_HOST
 #OPENSTACK_KEYSTONE_DEFAULT_ROLE = Member
 OPENSTACK_KEYSTONE_DEFAULT_ROLE = admin


 Is that 202 a typo? You used 192.168.203.103 later.

 Cheers,
 Kieran



 michaël




 Le 13/02/2013 16:13, Razique Mahroua a écrit :

 Is the dash configured to talk with the Keystone backend?
 can you run something like $ keystone endoint-list
 thanks

  *Razique Mahroua** - **Nuage  Co*
 razique.mahr...@gmail.com
 Tel : +33 9 72 37 94 15


  Le 12 févr. 2013 à 16:54, Logan McNaughton lo...@bacoosta.com a
 écrit :

  I've had this problem before, in my experience it's not a problem with
 keystone, it's a problem with nova (by the looks of the traceback). I
 believe it's a bug in Horizon because you'll find a lot of people with this
 issue if you Google it. I don't have an answer on how to fix it, other than
 don't fixate on the EndpointNotFound, look to your nova configs for a
 solution.


 On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi 
 trinath.soman...@gmail.com wrote:

 Hi Stackers-

  I have successfully installed folsom in my test setup.
 But when I browse Horison, with admin/password as credentials, I get
 this error.

  [Tue Feb 12 10:03:16 2013 16%202013] [error] unable to retrieve
 service catalog with token
 [Tue Feb 12 10:03:16 2013 16%202013] [error] Traceback (most recent
 call last):
 [Tue Feb 12 10:03:16 2013 16%202013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132,
 in _extract_service_catalog
 [Tue Feb 12 10:03:16 2013 16%202013] [error]
 endpoint_type='adminURL')
 [Tue Feb 12 10:03:16 2013 16%202013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line
 62, in url_for
 [Tue Feb 12 10:03:16 2013 16%202013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Tue Feb 12 10:03:16 2013 16%202013] [error] EndpointNotFound:
 Endpoint not found.
 [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP
 401)\x1b[0m
 [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last):
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in
 summarize
 [Tue Feb 12 10:03:17 2013] [error] self.usage_list =
 self.get_usage_list(start, end)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 128, in
 get_usage_list
 [Tue Feb 12 10:03:17 2013] [error] return
 api.usage_list(self.request, start, end)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/api/nova.py, line 418, in
 usage_list
 [Tue Feb 12 10:03:17 2013] [error] return [Usage(u) for u in
 novaclient(request).usage.list(start, end, True)]
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py, line 35, in
 list
 [Tue Feb 12 10:03:17 2013] [error] tenant_usages)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/base.py, line 62, in _list
 [Tue Feb 12 10:03:17 2013] [error] _resp, body =
 self.api.client.get(url)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/client.py, line 239, in get
 [Tue Feb 12 10:03:17 2013] [error] return self._cs_request(url,
 'GET', **kwargs)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/client.py, line 236, in
 _cs_request
 [Tue Feb 12 10:03:17 2013] [error] raise ex
 [Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401)

  It says , I missed some End point Configuration.

  But then, I have configured it correctly.

  Can any one guide me resolving this issue.

  Thanks in advance.

  --
 Regards,
 --
 Trinath Somanchi,
 +91 9866 235 

Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-20 Thread Alex Vitola
I did the update of all services (new, cinder, glance, horizon, keystone),
and let all the options of the * default. conf, just changing the filter
and sql session: authtoken.

And now it works again

0.2-1ubuntu1~cloud0 - python-jsonschema
0.6-1ubuntu1~cloud0 - python-prettytable
0.7.8-1ubuntu1~cloud0 - python-sqlalchemy
0.7.8-1ubuntu1~cloud0 - python-sqlalchemy-ext
0.8.0-2ubuntu1~cloud0 - python-mock
0.9.17-0ubuntu1.1~cloud0 - python-eventlet
1:0.1.3-0ubuntu1.1~cloud0 - python-keystoneclient
1:0.5.1-0ubuntu1~cloud0 - python-glanceclient
1:1.0.0-0ubuntu1~cloud0 - python-cinderclient
1:2.1-0ubuntu1~cloud0 - python-quantumclient
1:2.9.0-0ubuntu1~cloud0 - python-novaclient
2012.2.1-0ubuntu1.1~cloud0 - glance
2012.2.1-0ubuntu1.1~cloud0 - glance-api
2012.2.1-0ubuntu1.1~cloud0 - glance-common
2012.2.1-0ubuntu1.1~cloud0 - glance-registry
2012.2.1-0ubuntu1.1~cloud0 - keystone
2012.2.1-0ubuntu1.1~cloud0 - python-glance
2012.2.1-0ubuntu1.1~cloud0 - python-keystone
2012.2.1-0ubuntu1~cloud0 - cinder-api
2012.2.1-0ubuntu1~cloud0 - cinder-common
2012.2.1-0ubuntu1~cloud0 - cinder-scheduler
2012.2.1-0ubuntu1~cloud0 - cinder-volume
2012.2.1-0ubuntu1~cloud0 - openstack-dashboard
2012.2.1-0ubuntu1~cloud0 - openstack-dashboard-ubuntu-theme
2012.2.1-0ubuntu1~cloud0 - python-cinder
2012.2.1-0ubuntu1~cloud0 - python-django-horizon
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-api
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-cert
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-common
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-consoleauth
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-network
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-novncproxy
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-scheduler
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - python-nova



2013/2/20 Trinath Somanchi trinath.soman...@gmail.com

 Also, on quick think to look is the apache error log while you access the
 horizon.

 look at the log as, tail -f  /var/log/apache/error.log.



 On Wed, Feb 20, 2013 at 5:07 PM, Michaël Van de Borne 
 michael.vandebo...@cetic.be wrote:

  192.168.202.103 = public controller iface
 192.168.203.103 = private controller iface

 anyway, I still get the login problem using any of those values


 Le 20/02/2013 06:59, Kieran Spear a écrit :



 On 20 February 2013 03:40, Michaël Van de Borne 
 michael.vandebo...@cetic.be wrote:

  Same problem here. Running Grizzly. Dashboard keeps prompting me for
 my credentials. Pretty sure dashboard sends wrong tenant name to keystone.
 Here's the relevant section in
 /etc/openstack-dashboard/local-settings.py:
 OPENSTACK_HOST = 192.168.202.103
 OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0; % OPENSTACK_HOST
 #OPENSTACK_KEYSTONE_DEFAULT_ROLE = Member
 OPENSTACK_KEYSTONE_DEFAULT_ROLE = admin


 Is that 202 a typo? You used 192.168.203.103 later.

 Cheers,
 Kieran



 michaël




 Le 13/02/2013 16:13, Razique Mahroua a écrit :

 Is the dash configured to talk with the Keystone backend?
 can you run something like $ keystone endoint-list
 thanks

  *Razique Mahroua** - **Nuage  Co*
 razique.mahr...@gmail.com
 Tel : +33 9 72 37 94 15


  Le 12 févr. 2013 à 16:54, Logan McNaughton lo...@bacoosta.com a
 écrit :

  I've had this problem before, in my experience it's not a problem with
 keystone, it's a problem with nova (by the looks of the traceback). I
 believe it's a bug in Horizon because you'll find a lot of people with this
 issue if you Google it. I don't have an answer on how to fix it, other than
 don't fixate on the EndpointNotFound, look to your nova configs for a
 solution.


 On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi 
 trinath.soman...@gmail.com wrote:

 Hi Stackers-

  I have successfully installed folsom in my test setup.
 But when I browse Horison, with admin/password as credentials, I get
 this error.

  [Tue Feb 12 10:03:16 2013 16%202013] [error] unable to retrieve
 service catalog with token
 [Tue Feb 12 10:03:16 2013 16%202013] [error] Traceback (most recent
 call last):
 [Tue Feb 12 10:03:16 2013 16%202013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132,
 in _extract_service_catalog
 [Tue Feb 12 10:03:16 2013 16%202013] [error]
 endpoint_type='adminURL')
 [Tue Feb 12 10:03:16 2013 16%202013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line
 62, in url_for
 [Tue Feb 12 10:03:16 2013 16%202013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Tue Feb 12 10:03:16 2013 16%202013] [error] EndpointNotFound:
 Endpoint not found.
 [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP
 401)\x1b[0m
 [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last):
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in
 summarize
 [Tue Feb 12 10:03:17 2013] [error] self.usage_list =
 

Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-19 Thread Michaël Van de Borne

  
  
Same problem here. Running Grizzly.
  Dashboard keeps prompting me for my credentials. Pretty sure
  dashboard sends wrong tenant name to keystone. Here is the
  keystone.log entry:
  2013-02-19 16:55:06 WARNING [keystone.common.wsgi] Authorization
  failed. The request you have made requires authentication. from
  192.168.203.103
  
  here are the endpoints:
  grizzly@leonard:/etc/init.d$ keystone endpoint-list
  WARNING: Bypassing authentication using a token  endpoint
  (authentication credentials are being ignored).
+--+--+---+---+--+--+
  | id | region
  | publicurl
  | internalurl
  | adminurl |
  service_id |
+--+--+---+---+--+--+
  | 0f9dbbb5ac764e0794464abcb46047a2 | myregion |
  http://192.168.203.103:9292 |
  http://192.168.203.103:9292 |
  http://192.168.203.103:9292 |
  0ad102dc14eb4866af351358e372cb23 |
  | 1c45042b6bb64fd7b6f56d7348e86103 | myregion |
  http://192.168.202.103:5000/v2.0 |
  http://192.168.203.103:5000/v2.0 |
  http://192.168.203.103:35357/v2.0 |
  37059fcb24d345f293d4add7202504bb |
  | 61c1c0305ffa4254b8271a2045489d9a | myregion |
  http://192.168.202.103:8774/v2/%(tenant_id)s |
  http://192.168.203.103:8774/v2/%(tenant_id)s |
  http://192.168.203.103:8774/v2/%(tenant_id)s |
  99f1d14e769046099e85d010ed4c29da |
  | 9248f20cf38b4dbaa3f85abc1ee1f94d | myregion |
  http://192.168.202.103:8773/services/Cloud |
  http://192.168.203.103:8773/services/Cloud |
  http://192.168.203.103:8773/services/Admin |
  c22a33b56e67445a9550643a276a2f87 |
  | bdb68ba018c34cad95acb24f3ad92645 | myregion |
  http://192.168.202.103:9696/v2 |
  http://192.168.203.103:9696/v2 |
  http://192.168.203.103:9696/v2 |
  d21a72e559934837901574dfb3bc6a6c |
  | beaf4c028cc24068a2068ea16489eb94 | myregion |
  http://192.168.202.103:8080/v1/AUTH_%(tenant_id)s |
  http://192.168.203.103:8080/v1/AUTH_%(tenant_id)s |
  http://192.168.203.103:8080/v1 |
  7fc69365d1b64eb58e7ac6fcf8369ff2 |
  | c4f3ea0477ac428b958f5bcee2fb14e1 | myregion |
  http://192.168.202.103:8776/v1/%(tenant_id)s |
  http://192.168.203.103:8776/v1/%(tenant_id)s |
  192.168.203.103:8776/v1/%(tenant_id)s |
  19b1f3c4fa5843a295e538aab1f4cd40 |
  | fe82e5a1b6344c5784eb89be0d04b10b | myregion |
  http://192.168.202.103:8776/v1/%(tenant_id)s |
  http://192.168.203.103:8776/v1/%(tenant_id)s |
  http://192.168.203.103:8776/v1/%(tenant_id)s |
  ef7714abcdc04c06aa9f1ef2bdc29a3a |
+--+--+---+---+--+--+
  
  
  (by the way, I cannot get rid of the WARNING, but that's not the
  point here)
  
  Here's the relevant section in
  /etc/openstack-dashboard/local-settings.py:
  OPENSTACK_HOST = "192.168.202.103"
  OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
  #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
  OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"
  
  I tried switching from Member to admin role, but still no luck.
  
  Nova seems properly configured:
  grizzly@leonard:~$ nova list
  
  grizzly@leonard:~$ echo $?
  0
  
  Any idea how to make horizon and keystone talking together?
  
  
  
  michal
  
  
  
  
  Le 13/02/2013 16:13, Razique Mahroua a crit:


  
  Is the dash configured to talk with the Keystone backend?
  can you run something like $ keystone endoint-list
  thanks
  

  Razique Mahroua-Nuage  Co
razique.mahr...@gmail.com
Tel:
+33 9 72 37 94 15
  
  



  Le 12 fvr. 2013  16:54, Logan McNaughton lo...@bacoosta.com
a crit :
  
  
I've had this problem before, in my
  experience it's not a problem with keystone, it's a
  problem with nova (by the looks of the traceback). I
  believe it's a bug in Horizon because you'll find a lot of
  people with this issue if you Google it. I don't have an
  answer on how to fix it, other than don't fixate on the
  "EndpointNotFound", look to your nova 

Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-19 Thread Michaël Van de Borne

  
  
I checked /etc/nova/api-paste.ini.
  Here's the relevant section in it:
  
  [filter:authtoken]
  paste.filter_factory =
  keystone.middleware.auth_token:filter_factory
  auth_host = 192.168.203.103
  auth_port = 35357
  auth_protocol = http
  admin_tenant_name = service
  admin_user = nova
  admin_password = openstack
  signing_dir = /tmp/keystone-signing-nova
  
  I played with the tenant name (admin, service), the port (35357,
  5000) and the user (nova, admin) and various combination of all
  those. I also changed keystone by keystoneclient in the
  'paste.filter_factory' line (as I saw both in doc)
  
  still no luck.
  
  any clue?
  
  
  
  
  
  Le 19/02/2013 17:40, Michal Van de Borne a crit:


  
  Same problem here. Running Grizzly.
Dashboard keeps prompting me for my credentials. Pretty sure
dashboard sends wrong tenant name to keystone. Here is the
keystone.log entry:
2013-02-19 16:55:06 WARNING [keystone.common.wsgi]
Authorization failed. The request you have made requires
authentication. from 192.168.203.103

here are the endpoints:
grizzly@leonard:/etc/init.d$
keystone endpoint-list
WARNING: Bypassing authentication using a token  endpoint
(authentication credentials are being ignored).
+--+--+---+---+--+--+
| id | region
| publicurl
| internalurl
| adminurl |
service_id |
+--+--+---+---+--+--+
| 0f9dbbb5ac764e0794464abcb46047a2 | myregion | http://192.168.203.103:9292
| http://192.168.203.103:9292
| http://192.168.203.103:9292
| 0ad102dc14eb4866af351358e372cb23 |
| 1c45042b6bb64fd7b6f56d7348e86103 | myregion | http://192.168.202.103:5000/v2.0
| http://192.168.203.103:5000/v2.0
| http://192.168.203.103:35357/v2.0
| 37059fcb24d345f293d4add7202504bb |
| 61c1c0305ffa4254b8271a2045489d9a | myregion | http://192.168.202.103:8774/v2/%(tenant_id)s
| http://192.168.203.103:8774/v2/%(tenant_id)s
| http://192.168.203.103:8774/v2/%(tenant_id)s
| 99f1d14e769046099e85d010ed4c29da |
| 9248f20cf38b4dbaa3f85abc1ee1f94d | myregion | http://192.168.202.103:8773/services/Cloud
| http://192.168.203.103:8773/services/Cloud
| http://192.168.203.103:8773/services/Admin
| c22a33b56e67445a9550643a276a2f87 |
| bdb68ba018c34cad95acb24f3ad92645 | myregion | http://192.168.202.103:9696/v2
| http://192.168.203.103:9696/v2
| http://192.168.203.103:9696/v2
| d21a72e559934837901574dfb3bc6a6c |
| beaf4c028cc24068a2068ea16489eb94 | myregion | http://192.168.202.103:8080/v1/AUTH_%(tenant_id)s
| http://192.168.203.103:8080/v1/AUTH_%(tenant_id)s
| http://192.168.203.103:8080/v1
| 7fc69365d1b64eb58e7ac6fcf8369ff2 |
| c4f3ea0477ac428b958f5bcee2fb14e1 | myregion | http://192.168.202.103:8776/v1/%(tenant_id)s
| http://192.168.203.103:8776/v1/%(tenant_id)s
| 192.168.203.103:8776/v1/%(tenant_id)s |
19b1f3c4fa5843a295e538aab1f4cd40 |
| fe82e5a1b6344c5784eb89be0d04b10b | myregion | http://192.168.202.103:8776/v1/%(tenant_id)s
| http://192.168.203.103:8776/v1/%(tenant_id)s
| http://192.168.203.103:8776/v1/%(tenant_id)s
| ef7714abcdc04c06aa9f1ef2bdc29a3a |
+--+--+---+---+--+--+


(by the way, I cannot get rid of the WARNING, but that's not the
point here)

Here's the relevant section in
/etc/openstack-dashboard/local-settings.py:
OPENSTACK_HOST = "192.168.202.103"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0"
% OPENSTACK_HOST
#OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"

I tried switching from Member to admin role, but still no luck.

Nova seems properly configured:
grizzly@leonard:~$ nova list

grizzly@leonard:~$ echo $?
0

Any idea how to make horizon and keystone talking together?



michal




Le 13/02/2013 

Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-19 Thread Michaël Van de Borne

  
  
Moreover (sorry for spamming), this
  command works fine:
  
  root@leonard:/etc/init.d# keystone --os-username nova
  --os-password openstack --os-tenant-name service --os-auth-url
  http://192.168.203.103:5000/v2.0/ token-get
  +---+--+
  | Property | Value |
  +---+--+
  | expires | 2013-02-20T17:19:25Z |
  | id | 0eb9d38144604ced8e9fc5def623f9ca |
  | tenant_id | a9f86bcd83e94fbdba61862bce42e717 |
  | user_id | a933854b05e04921a78684368e89c47d |
  +---+--+
  
  this works as well:
  nova --os-username nova --os-password openstack --os-tenant-name
  service --os-auth-url http://192.168.203.103:5000/v2.0/ list
  
  
  So this makes me think that users, roles, services, tenants and
  endpoints are configured properly in keystone. But I can be
  wrong...
  
  
  
  
  Le 19/02/2013 18:09, Michal Van de Borne a crit:


  
  I checked /etc/nova/api-paste.ini.
Here's the relevant section in it:

[filter:authtoken]
paste.filter_factory =
keystone.middleware.auth_token:filter_factory
auth_host = 192.168.203.103
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = openstack
signing_dir = /tmp/keystone-signing-nova

I played with the tenant name (admin, service), the port (35357,
5000) and the user (nova, admin) and various combination of all
those. I also changed keystone by keystoneclient in the
'paste.filter_factory' line (as I saw both in doc)

still no luck.

any clue?





Le 19/02/2013 17:40, Michal Van de Borne a crit:
  
  

Same problem here. Running Grizzly.
  Dashboard keeps prompting me for my credentials. Pretty sure
  dashboard sends wrong tenant name to keystone. Here is the
  keystone.log entry:
  2013-02-19 16:55:06 WARNING [keystone.common.wsgi]
  Authorization failed. The request you have made requires
  authentication. from 192.168.203.103
  
  here are the endpoints:
  grizzly@leonard:/etc/init.d$
  keystone endpoint-list
  WARNING: Bypassing authentication using a token  endpoint
  (authentication credentials are being ignored).
+--+--+---+---+--+--+
  | id | region
  | publicurl
  | internalurl
  | adminurl |
  service_id |
+--+--+---+---+--+--+
  | 0f9dbbb5ac764e0794464abcb46047a2 | myregion | http://192.168.203.103:9292

  | http://192.168.203.103:9292

  | http://192.168.203.103:9292

  | 0ad102dc14eb4866af351358e372cb23 |
  | 1c45042b6bb64fd7b6f56d7348e86103 | myregion | http://192.168.202.103:5000/v2.0

  | http://192.168.203.103:5000/v2.0

  | http://192.168.203.103:35357/v2.0

  | 37059fcb24d345f293d4add7202504bb |
  | 61c1c0305ffa4254b8271a2045489d9a | myregion | http://192.168.202.103:8774/v2/%(tenant_id)s

  | http://192.168.203.103:8774/v2/%(tenant_id)s

  | http://192.168.203.103:8774/v2/%(tenant_id)s
  | 99f1d14e769046099e85d010ed4c29da |
  | 9248f20cf38b4dbaa3f85abc1ee1f94d | myregion | http://192.168.202.103:8773/services/Cloud

  | http://192.168.203.103:8773/services/Cloud

  | http://192.168.203.103:8773/services/Admin
  | c22a33b56e67445a9550643a276a2f87 |
  | bdb68ba018c34cad95acb24f3ad92645 | myregion | http://192.168.202.103:9696/v2

  | http://192.168.203.103:9696/v2

  | http://192.168.203.103:9696/v2

  | d21a72e559934837901574dfb3bc6a6c |
  | beaf4c028cc24068a2068ea16489eb94 | myregion | http://192.168.202.103:8080/v1/AUTH_%(tenant_id)s
  | http://192.168.203.103:8080/v1/AUTH_%(tenant_id)s
  | http://192.168.203.103:8080/v1

  | 7fc69365d1b64eb58e7ac6fcf8369ff2 |
  | c4f3ea0477ac428b958f5bcee2fb14e1 | myregion | http://192.168.202.103:8776/v1/%(tenant_id)s

  | http://192.168.203.103:8776/v1/%(tenant_id)s

  | 192.168.203.103:8776/v1/%(tenant_id)s |
  19b1f3c4fa5843a295e538aab1f4cd40 |
  | fe82e5a1b6344c5784eb89be0d04b10b | myregion | 

Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-19 Thread Kieran Spear
On 20 February 2013 03:40, Michaël Van de Borne michael.vandebo...@cetic.be
 wrote:

  Same problem here. Running Grizzly. Dashboard keeps prompting me for my
 credentials. Pretty sure dashboard sends wrong tenant name to keystone.
 Here's the relevant section in /etc/openstack-dashboard/local-settings.py:
 OPENSTACK_HOST = 192.168.202.103
 OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0; % OPENSTACK_HOST
 #OPENSTACK_KEYSTONE_DEFAULT_ROLE = Member
 OPENSTACK_KEYSTONE_DEFAULT_ROLE = admin


Is that 202 a typo? You used 192.168.203.103 later.

Cheers,
Kieran



 michaël




 Le 13/02/2013 16:13, Razique Mahroua a écrit :

 Is the dash configured to talk with the Keystone backend?
 can you run something like $ keystone endoint-list
 thanks

  *Razique Mahroua** - **Nuage  Co*
 razique.mahr...@gmail.com
 Tel : +33 9 72 37 94 15


  Le 12 févr. 2013 à 16:54, Logan McNaughton lo...@bacoosta.com a écrit :

  I've had this problem before, in my experience it's not a problem with
 keystone, it's a problem with nova (by the looks of the traceback). I
 believe it's a bug in Horizon because you'll find a lot of people with this
 issue if you Google it. I don't have an answer on how to fix it, other than
 don't fixate on the EndpointNotFound, look to your nova configs for a
 solution.


 On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi 
 trinath.soman...@gmail.com wrote:

 Hi Stackers-

  I have successfully installed folsom in my test setup.
 But when I browse Horison, with admin/password as credentials, I get this
 error.

  [Tue Feb 12 10:03:16 2013] [error] unable to retrieve service catalog
 with token
 [Tue Feb 12 10:03:16 2013] [error] Traceback (most recent call last):
 [Tue Feb 12 10:03:16 2013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132,
 in _extract_service_catalog
 [Tue Feb 12 10:03:16 2013] [error] endpoint_type='adminURL')
 [Tue Feb 12 10:03:16 2013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line
 62, in url_for
 [Tue Feb 12 10:03:16 2013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Tue Feb 12 10:03:16 2013] [error] EndpointNotFound: Endpoint not found.
 [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP
 401)\x1b[0m
 [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last):
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in
 summarize
 [Tue Feb 12 10:03:17 2013] [error] self.usage_list =
 self.get_usage_list(start, end)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 128, in
 get_usage_list
 [Tue Feb 12 10:03:17 2013] [error] return
 api.usage_list(self.request, start, end)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/api/nova.py, line 418, in
 usage_list
 [Tue Feb 12 10:03:17 2013] [error] return [Usage(u) for u in
 novaclient(request).usage.list(start, end, True)]
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py, line 35, in
 list
 [Tue Feb 12 10:03:17 2013] [error] tenant_usages)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/base.py, line 62, in _list
 [Tue Feb 12 10:03:17 2013] [error] _resp, body =
 self.api.client.get(url)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/client.py, line 239, in get
 [Tue Feb 12 10:03:17 2013] [error] return self._cs_request(url,
 'GET', **kwargs)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/client.py, line 236, in
 _cs_request
 [Tue Feb 12 10:03:17 2013] [error] raise ex
 [Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401)

  It says , I missed some End point Configuration.

  But then, I have configured it correctly.

  Can any one guide me resolving this issue.

  Thanks in advance.

  --
 Regards,
 --
 Trinath Somanchi,
 +91 9866 235 130

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


  ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 

Re: [Openstack] Horizon Keystone Nova miscommunication

2013-02-18 Thread Alex Vitola
reinstalled my environment this week and I have the same problem

I believe the error is in the horizon, as it only happens with

2013/2/17 Gabriel Hurley gabriel.hur...@nebula.com:
 That particular “endpoint not found” log message is a red herring. It’s been
 removed in keystoneclient trunk because it was logging an *expected* error.
 There isn’t supposed to be a service catalog available at the point at which
 it logged that message, and it lead to confusion just like this.



 However, as for your actual problem, I’ve got a couple broad ideas:



 Since you’re able to log in that means Keystone is working. And since you’re
 not seeing any error messages indicating that the data couldn’t be retrieved
 from Nova, that means Nova is working and is truly believes that the tenant
 you’re requesting data for has no instances, etc.



 What that sounds like to me is that you’re creating things in Nova with one
 tenant, and then looking for them in Horizon with a different tenant. The
 easiest way to check for that would be to log into horizon with a user who
 has the “admin” role on a project, navigate to the Instances panel in the
 Admin dashboard, and see if you can see the missing instances there. The
 admin instances panel shows *all* running instances across all tenants, so
 if the instances exist and Nova is returning data then they’ll show up
 there.



 The other (much less likely) possibility is that you somehow have two Nova
 services running which are unaware of each other, and you’re managing to
 talk to different ones via the client vs. Horizon. I have to think you’d
 know if you were running two Nova’s, however.



 The last option would be that Keystone’s service catalog is misconfigured
 and you’re not actually communicating with Nova, but if that were the case
 you should be seeing errors all over the place, so I find that highly
 unlikely.



 Hope something there helps.



 -  Gabriel



 From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net
 [mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On
 Behalf Of Greg Chavez
 Sent: Saturday, February 16, 2013 11:54 PM
 To: openstack@lists.launchpad.net
 Subject: [Openstack] Horizon  Keystone  Nova miscommunication





 It seems that nova and horizon are not communicating on my controller node.
 Acces and security objects created with nova are not seen by Horizon and
 vice versa.  This includes key pairs and secgroup rules.  For example, if I
 create a keypair with the nova client, it isn't visible in horizon, and if I
 create one in horizon it is not visible via the nova client.



 Possibly related: VMs that I create, whether via the nova client or Horizon,
 are not shown with I run nova list.  The nova-api.log shows a successful
 servers-detail query, but it comes back empty.



 Also possibly related: Although I have all my services and endpoints
 configured correctly, I can't get individual endpoint detail with
 endpoint-get.  What's more, I see this error in Horizon's error log:



 [Sun Feb 17 07:02:50 2013] [error] EndpointNotFound: Endpoint not found.

 [Sun Feb 17 07:06:55 2013] [error] unable to retrieve service catalog with
 token



 This matches what I get when I run:



 $ keystone endpoint-get --service nova

 Endpoint not found.



 But that can't be because endpoint-list shows all six endpoints I created
 and all the information seems correct in the database:





 mysql select * from endpoint where service_id
 ='9e40d355b49342f8ac6947c497df76d2'\G

 *** 1. row ***

 id: 922baafde75f4cffa7dbe7f57cddb951

 region: RegionOne

 service_id: 9e40d355b49342f8ac6947c497df76d2

  extra: {adminurl: http://192.168.241.100:35357/v2.0;, internalurl:
 http://192.168.241.100:5000/v2.0;, publicurl:
 http://10.21.164.75:5000/v2.0}

 1 row in set (0.00 sec)



 mysql select * from service where id ='9e40d355b49342f8ac6947c497df76d2'\G

 *** 1. row ***

id: 9e40d355b49342f8ac6947c497df76d2

  type: identity

 extra: {description: OpenStack Identity, name: keystone}

 1 row in set (0.00 sec)



 Please please please help me.  My boss is giving my project the ax on Monday
 if I can't get this to work.



 --
 \*..+.-
 --Greg Chavez
 +//..;};


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon Keystone Nova miscommunication

2013-02-17 Thread Gabriel Hurley
That particular endpoint not found log message is a red herring. It's been 
removed in keystoneclient trunk because it was logging an *expected* error. 
There isn't supposed to be a service catalog available at the point at which it 
logged that message, and it lead to confusion just like this.

However, as for your actual problem, I've got a couple broad ideas:

Since you're able to log in that means Keystone is working. And since you're 
not seeing any error messages indicating that the data couldn't be retrieved 
from Nova, that means Nova is working and is truly believes that the tenant 
you're requesting data for has no instances, etc.

What that sounds like to me is that you're creating things in Nova with one 
tenant, and then looking for them in Horizon with a different tenant. The 
easiest way to check for that would be to log into horizon with a user who has 
the admin role on a project, navigate to the Instances panel in the Admin 
dashboard, and see if you can see the missing instances there. The admin 
instances panel shows *all* running instances across all tenants, so if the 
instances exist and Nova is returning data then they'll show up there.

The other (much less likely) possibility is that you somehow have two Nova 
services running which are unaware of each other, and you're managing to talk 
to different ones via the client vs. Horizon. I have to think you'd know if you 
were running two Nova's, however.

The last option would be that Keystone's service catalog is misconfigured and 
you're not actually communicating with Nova, but if that were the case you 
should be seeing errors all over the place, so I find that highly unlikely.

Hope something there helps.


-  Gabriel

From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of Greg Chavez
Sent: Saturday, February 16, 2013 11:54 PM
To: openstack@lists.launchpad.net
Subject: [Openstack] Horizon  Keystone  Nova miscommunication


It seems that nova and horizon are not communicating on my controller node.  
Acces and security objects created with nova are not seen by Horizon and vice 
versa.  This includes key pairs and secgroup rules.  For example, if I create a 
keypair with the nova client, it isn't visible in horizon, and if I create one 
in horizon it is not visible via the nova client.

Possibly related: VMs that I create, whether via the nova client or Horizon, 
are not shown with I run nova list.  The nova-api.log shows a successful 
servers-detail query, but it comes back empty.

Also possibly related: Although I have all my services and endpoints configured 
correctly, I can't get individual endpoint detail with endpoint-get.  What's 
more, I see this error in Horizon's error log:

[Sun Feb 17 07:02:50 2013] [error] EndpointNotFound: Endpoint not found.
[Sun Feb 17 07:06:55 2013] [error] unable to retrieve service catalog with token

This matches what I get when I run:

$ keystone endpoint-get --service nova
Endpoint not found.

But that can't be because endpoint-list shows all six endpoints I created and 
all the information seems correct in the database:


mysql select * from endpoint where service_id 
='9e40d355b49342f8ac6947c497df76d2'\G
*** 1. row ***
id: 922baafde75f4cffa7dbe7f57cddb951
region: RegionOne
service_id: 9e40d355b49342f8ac6947c497df76d2
 extra: {adminurl: http://192.168.241.100:35357/v2.0;, internalurl: 
http://192.168.241.100:5000/v2.0;, publicurl: 
http://10.21.164.75:5000/v2.0}
1 row in set (0.00 sec)

mysql select * from service where id ='9e40d355b49342f8ac6947c497df76d2'\G
*** 1. row ***
   id: 9e40d355b49342f8ac6947c497df76d2
 type: identity
extra: {description: OpenStack Identity, name: keystone}
1 row in set (0.00 sec)

Please please please help me.  My boss is giving my project the ax on Monday if 
I can't get this to work.

--
\*..+.-
--Greg Chavez
+//..;};
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon Keystone Nova miscommunication

2013-02-16 Thread Greg Chavez
It seems that nova and horizon are not communicating on my controller node.
 Acces and security objects created with nova are not seen by Horizon and
vice versa.  This includes key pairs and secgroup rules.  For example, if I
create a keypair with the nova client, it isn't visible in horizon, and if
I create one in horizon it is not visible via the nova client.

Possibly related: VMs that I create, whether via the nova client or
Horizon, are not shown with I run nova list.  The nova-api.log shows a
successful servers-detail query, but it comes back empty.

Also possibly related: Although I have all my services and endpoints
configured correctly, I can't get individual endpoint detail with
endpoint-get.  What's more, I see this error in Horizon's error log:

[Sun Feb 17 07:02:50 2013] [error] EndpointNotFound: Endpoint not found.
[Sun Feb 17 07:06:55 2013] [error] unable to retrieve service catalog with
token

This matches what I get when I run:

$ keystone endpoint-get --service nova
Endpoint not found.

But that can't be because endpoint-list shows all six endpoints I created
and all the information seems correct in the database:


mysql select * from endpoint where service_id
='9e40d355b49342f8ac6947c497df76d2'\G
*** 1. row ***
id: 922baafde75f4cffa7dbe7f57cddb951
region: RegionOne
service_id: 9e40d355b49342f8ac6947c497df76d2
 extra: {adminurl: http://192.168.241.100:35357/v2.0;,
internalurl: http://192.168.241.100:5000/v2.0;, publicurl: 
http://10.21.164.75:5000/v2.0}
1 row in set (0.00 sec)

mysql select * from service where id ='9e40d355b49342f8ac6947c497df76d2'\G
*** 1. row ***
   id: 9e40d355b49342f8ac6947c497df76d2
 type: identity
extra: {description: OpenStack Identity, name: keystone}
1 row in set (0.00 sec)

Please please please help me.  My boss is giving my project the ax on
Monday if I can't get this to work.

-- 
\*..+.-
--Greg Chavez
+//..;};
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon Keystone Endpoint Issue

2013-02-12 Thread Trinath Somanchi
Hi Stackers-

I have successfully installed folsom in my test setup.
But when I browse Horison, with admin/password as credentials, I get this
error.

[Tue Feb 12 10:03:16 2013] [error] unable to retrieve service catalog with
token
[Tue Feb 12 10:03:16 2013] [error] Traceback (most recent call last):
[Tue Feb 12 10:03:16 2013] [error]   File
/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132,
in _extract_service_catalog
[Tue Feb 12 10:03:16 2013] [error] endpoint_type='adminURL')
[Tue Feb 12 10:03:16 2013] [error]   File
/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line
62, in url_for
[Tue Feb 12 10:03:16 2013] [error] raise
exceptions.EndpointNotFound('Endpoint not found.')
[Tue Feb 12 10:03:16 2013] [error] EndpointNotFound: Endpoint not found.
[Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP
401)\x1b[0m
[Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last):
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in
summarize
[Tue Feb 12 10:03:17 2013] [error] self.usage_list =
self.get_usage_list(start, end)
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 128, in
get_usage_list
[Tue Feb 12 10:03:17 2013] [error] return api.usage_list(self.request,
start, end)
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/horizon/api/nova.py, line 418, in
usage_list
[Tue Feb 12 10:03:17 2013] [error] return [Usage(u) for u in
novaclient(request).usage.list(start, end, True)]
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py, line 35, in
list
[Tue Feb 12 10:03:17 2013] [error] tenant_usages)
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/novaclient/base.py, line 62, in _list
[Tue Feb 12 10:03:17 2013] [error] _resp, body =
self.api.client.get(url)
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/novaclient/client.py, line 239, in get
[Tue Feb 12 10:03:17 2013] [error] return self._cs_request(url, 'GET',
**kwargs)
[Tue Feb 12 10:03:17 2013] [error]   File
/usr/lib/python2.7/dist-packages/novaclient/client.py, line 236, in
_cs_request
[Tue Feb 12 10:03:17 2013] [error] raise ex
[Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401)

It says , I missed some End point Configuration.

But then, I have configured it correctly.

Can any one guide me resolving this issue.

Thanks in advance.

-- 
Regards,
--
Trinath Somanchi,
+91 9866 235 130
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-12 Thread Logan McNaughton
I've had this problem before, in my experience it's not a problem with
keystone, it's a problem with nova (by the looks of the traceback). I
believe it's a bug in Horizon because you'll find a lot of people with this
issue if you Google it. I don't have an answer on how to fix it, other than
don't fixate on the EndpointNotFound, look to your nova configs for a
solution.


On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi 
trinath.soman...@gmail.com wrote:

 Hi Stackers-

 I have successfully installed folsom in my test setup.
 But when I browse Horison, with admin/password as credentials, I get this
 error.

 [Tue Feb 12 10:03:16 2013] [error] unable to retrieve service catalog with
 token
 [Tue Feb 12 10:03:16 2013] [error] Traceback (most recent call last):
 [Tue Feb 12 10:03:16 2013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132,
 in _extract_service_catalog
 [Tue Feb 12 10:03:16 2013] [error] endpoint_type='adminURL')
 [Tue Feb 12 10:03:16 2013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line
 62, in url_for
 [Tue Feb 12 10:03:16 2013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Tue Feb 12 10:03:16 2013] [error] EndpointNotFound: Endpoint not found.
 [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP
 401)\x1b[0m
 [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last):
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in
 summarize
 [Tue Feb 12 10:03:17 2013] [error] self.usage_list =
 self.get_usage_list(start, end)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 128, in
 get_usage_list
 [Tue Feb 12 10:03:17 2013] [error] return api.usage_list(self.request,
 start, end)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/api/nova.py, line 418, in
 usage_list
 [Tue Feb 12 10:03:17 2013] [error] return [Usage(u) for u in
 novaclient(request).usage.list(start, end, True)]
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py, line 35, in
 list
 [Tue Feb 12 10:03:17 2013] [error] tenant_usages)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/base.py, line 62, in _list
 [Tue Feb 12 10:03:17 2013] [error] _resp, body =
 self.api.client.get(url)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/client.py, line 239, in get
 [Tue Feb 12 10:03:17 2013] [error] return self._cs_request(url, 'GET',
 **kwargs)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/client.py, line 236, in
 _cs_request
 [Tue Feb 12 10:03:17 2013] [error] raise ex
 [Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401)

 It says , I missed some End point Configuration.

 But then, I have configured it correctly.

 Can any one guide me resolving this issue.

 Thanks in advance.

 --
 Regards,
 --
 Trinath Somanchi,
 +91 9866 235 130

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon

2013-02-07 Thread Viktor Viking
Hi Emilien,

I had edited keystone-data.sh and changed the password to secret. But
your pointers helped me. I had also changed the value SERVICE_TENANT_NAME
to MY_TENANT as you can see in the mysql table. Apparently that was not a
good idea. I dropped the tables, changed it back to service, run the
script again and… voilá.

I can login now.

Thank you for your help,
Viktor




On Wed, Feb 6, 2013 at 7:06 PM, Emilien Macchi emil...@enovance.com wrote:

 Hi Viktor,


- If you have used keystone-data.sh script, the password should be
password.
- Horizon does not use novarc neither MySQL. It only uses OpenStack
APIs.
- Django log files can by found on /var/log/apache2/error.log 
access.log


 Cheers,

 Emilien Macchi
 
 // eNovance Inc.  http://enovance.com
 // ✉ emil...@enovance.com ☎ +33 (0)1 49 70 99 80
 // 10 rue de la Victoire 75009 Paris


 --
 *From: *Viktor Viking viktor.viking...@gmail.com
 *To: *openstack@lists.launchpad.net
 *Sent: *Wednesday, February 6, 2013 1:47:02 PM
 *Subject: *[Openstack] Horizon


 Hi,

 After a successful installation of Folsom, I'm trying to use Dashboard.
 I've had no success login in.

 If I just type a random user/passwd string, I get a message: Invalid
 username or password.

 If I type admin:secret (a correct user:password combination), the login
 page reloads and nothing happens.

 Some info on my setup:

 I followed this guide for Folsom installation:


 http://docs.openstack.org/folsom/basic-install/content/basic-install-folsom.pdf

 My novarc file:

 export OS_TENANT_NAME=admin
 export OS_USERNAME=admin
 export OS_PASSWORD=secret
 export OS_AUTH_URL=http://localhost:5000/v2.0/;
 export SERVICE_ENDPOINT=http://localhost:35357/v2.0;
 export SERVICE_TOKEN=secret

 Keystone.log doesn't show anything out of the ordinary.

 mysql select id,name from user;
 +--+-+
 | id   | name|
 +--+-+
 | 6294f0f5e16d49b9992c211e9cac6855 | admin   |
 | 88f6d25dec6f40f1a9cddf2b20aad4b2 | cinder  |
 | 4c0f5a439a3d44368e8d4af395049ff2 | demo|
 | c7ee8554321d4fe2bba341a99ee98dc9 | glance  |
 | 520ddc424a30447aa47992400382a167 | nova|
 | 6e44c5aa1edc4fe5919286ecdda196a0 | quantum |
 | f4a54be5b3154f85bc4df89a61c5360d | swift   |
 | 6dfec4512b7f4eaa9dc214d7232244fd | viktor  |
 +--+-+

 mysql select * from tenant;

 +--+++
 | id   | name   | extra
|

 +--+++
 | 779c87a9c37f4f63b0fc0aab236a5e1e | demo   | {enabled:
 true, description: null} |
 | 8d4286a5249e43e9aa56864357737884 | invisible_to_admin | {enabled:
 true, description: null} |
 | cf03bbe4daaf4579bd005a4e64da3334 | MYTENANT   | {enabled:
 true, description: null} |
 | f822dc409d684062b003ba99efa12672 | admin  | {enabled:
 true, description: null} |

 +--+++

 I realize dashboard doesn't use a database anymore as it did in Essex. Is
 that right? BTW, where can I find django log files?

 Any tips about what is going wrong?

 Thank you,
 Viktor

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon

2013-02-06 Thread Viktor Viking
Hi,

After a successful installation of Folsom, I'm trying to use Dashboard.
I've had no success login in.

If I just type a random user/passwd string, I get a message: Invalid
username or password.

If I type admin:secret (a correct user:password combination), the login
page reloads and nothing happens.

Some info on my setup:

I followed this guide for Folsom installation:

http://docs.openstack.org/folsom/basic-install/content/basic-install-folsom.pdf

My novarc file:

export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=secret
export OS_AUTH_URL=http://localhost:5000/v2.0/;
export SERVICE_ENDPOINT=http://localhost:35357/v2.0;
export SERVICE_TOKEN=secret

Keystone.log doesn't show anything out of the ordinary.

mysql select id,name from user;
+--+-+
| id   | name|
+--+-+
| 6294f0f5e16d49b9992c211e9cac6855 | admin   |
| 88f6d25dec6f40f1a9cddf2b20aad4b2 | cinder  |
| 4c0f5a439a3d44368e8d4af395049ff2 | demo|
| c7ee8554321d4fe2bba341a99ee98dc9 | glance  |
| 520ddc424a30447aa47992400382a167 | nova|
| 6e44c5aa1edc4fe5919286ecdda196a0 | quantum |
| f4a54be5b3154f85bc4df89a61c5360d | swift   |
| 6dfec4512b7f4eaa9dc214d7232244fd | viktor  |
+--+-+

mysql select * from tenant;
+--+++
| id   | name   | extra
 |
+--+++
| 779c87a9c37f4f63b0fc0aab236a5e1e | demo   | {enabled: true,
description: null} |
| 8d4286a5249e43e9aa56864357737884 | invisible_to_admin | {enabled: true,
description: null} |
| cf03bbe4daaf4579bd005a4e64da3334 | MYTENANT   | {enabled:
true, description: null} |
| f822dc409d684062b003ba99efa12672 | admin  | {enabled: true,
description: null} |
+--+++

I realize dashboard doesn't use a database anymore as it did in Essex. Is
that right? BTW, where can I find django log files?

Any tips about what is going wrong?

Thank you,
Viktor
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon

2013-02-06 Thread Emilien Macchi
Hi Viktor,


* If you have used keystone-data.sh script, the password should be 
password.
* Horizon does not use novarc neither MySQL. It only uses OpenStack APIs.
* Django log files can by found on /var/log/apache2/error.log  access.log


Cheers,


Emilien Macchi

// eNovance Inc. http://enovance.com
// ✉ emil...@enovance.com ☎ +33 (0)1 49 70 99 80
// 10 rue de la Victoire 75009 Paris


- Original Message -

From: Viktor Viking viktor.viking...@gmail.com
To: openstack@lists.launchpad.net
Sent: Wednesday, February 6, 2013 1:47:02 PM
Subject: [Openstack] Horizon



Hi,


After a successful installation of Folsom, I'm trying to use Dashboard. I've 
had no success login in.


If I just type a random user/passwd string, I get a message: Invalid username 
or password.


If I type admin:secret (a correct user:password combination), the login page 
reloads and nothing happens.


Some info on my setup:


I followed this guide for Folsom installation:


http://docs.openstack.org/folsom/basic-install/content/basic-install-folsom.pdf



My novarc file:



export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=secret
export OS_AUTH_URL= http://localhost:5000/v2.0/ 
export SERVICE_ENDPOINT= http://localhost:35357/v2.0 
export SERVICE_TOKEN=secret


Keystone.log doesn't show anything out of the ordinary.



mysql select id,name from user;
+--+-+
| id | name |
+--+-+
| 6294f0f5e16d49b9992c211e9cac6855 | admin |
| 88f6d25dec6f40f1a9cddf2b20aad4b2 | cinder |
| 4c0f5a439a3d44368e8d4af395049ff2 | demo |
| c7ee8554321d4fe2bba341a99ee98dc9 | glance |
| 520ddc424a30447aa47992400382a167 | nova |
| 6e44c5aa1edc4fe5919286ecdda196a0 | quantum |
| f4a54be5b3154f85bc4df89a61c5360d | swift |
| 6dfec4512b7f4eaa9dc214d7232244fd | viktor |
+--+-+



mysql select * from tenant;
+--+++
| id | name | extra |
+--+++
| 779c87a9c37f4f63b0fc0aab236a5e1e | demo | {enabled: true, description: 
null} |
| 8d4286a5249e43e9aa56864357737884 | invisible_to_admin | {enabled: true, 
description: null} |
| cf03bbe4daaf4579bd005a4e64da3334 | MYTENANT | {enabled: true, 
description: null} |
| f822dc409d684062b003ba99efa12672 | admin | {enabled: true, description: 
null} |
+--+++


I realize dashboard doesn't use a database anymore as it did in Essex. Is that 
right? BTW, where can I find django log files?


Any tips about what is going wrong?


Thank you,
Viktor
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon and open connections

2013-01-31 Thread Gabriel Hurley
Even though I don't experience this problem (and prefer nginx to apache), I can 
help diagnose:

Connections ending up in CLOSE_WAIT means that the socket isn't being fully 
closed, which is controlled by the client lib (in this case 
python-keystoneclient) which uses httplib2 under the hood.  When requests 
complete successfully httplib2 *does* close the connections just fine, so I'm 
wondering if you're actually triggering some kind of unhandled exception in 
keystoneclient. Are you seeing any errors in your logs anywhere? It's also 
worth noting that httplib2 has some very peculiar retry behaviors and other 
vagaries that come into play when the remote endpoint is unresponsive, etc.

Another potential problem is if you're running a proxy layer (such as haproxy) 
in the middle there are various configuration options which can cause the 
connection to remain open even after the backend has sent a complete response 
(adding inappropriate keep-alive headers, stripping connection: close, 
filtering packets, etc.). The same is true of any other middleware you might be 
running that could get between the python process opening the socket and the 
remote end returning a response.

Hope something in there helps,

- Gabriel

 -Original Message-
 From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net
 [mailto:openstack-
 bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of Sam
 Morrison
 Sent: Wednesday, January 30, 2013 7:36 PM
 To: openstack@lists.launchpad.net list
 Subject: [Openstack] Horizon and open connections
 
 We have horizon running based on the Ubuntu Folsom Cloud Archive
 packages.
 
 What I notice is that after a while we have thousands of connections in the
 CLOSE_WAIT state to keystone and our nova api servers.
 The host also uses up all it's available memory (2GB)
 
 After a restart of apache all the connections are cleaned up and the memory
 used drops down to about 200MB
 
 Just wondering if this is supposed to happen or is there a bug. It seems to me
 that horizon isn't closing connections or something.
 
 Anyone have a similar issue/solution?
 
 Cheers,
 Sam
 
 
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon and open connections

2013-01-31 Thread Rick Jones

On 01/31/2013 11:59 AM, Gabriel Hurley wrote:

Even though I don't experience this problem (and prefer nginx to
apache), I can help diagnose:

Connections ending up in CLOSE_WAIT means that the socket isn't being
fully closed, which is controlled by the client lib (in this case
python-keystoneclient) which uses httplib2 under the hood.


Expanding on that a bit. CLOSE_WAIT is the state a TCP endpoint will 
enter upon receiving a FINished segment from the remote TCP.  When the 
FIN arrives, the local application will receive notification of this via 
the classic read return of zero on a receive/read call against the 
socket.  The FIN segment means I will be sending you no more data.


Meanwhile, the local TCP will have ACKed the FIN segment, and the remote 
TCP will transition to FIN_WAIT_2 upon receipt of that ACK (until then 
it will be in FIN_WAIT_1).


Depending on how the remote application triggered the sending of the 
FIN, the TCP connection is now in a perfectly valid simplex state 
wherein the side in CLOSE_WAIT can continue sending data to the side 
which will now be in FIN_WAIT_2.  It is exceedingly rare for 
applications to want a simplex TCP connection


If such a unidirectional TCP connection is not of any use to an 
application, (the common case)then that application should/must also 
close the connection upon the read return of zero.


Thus, seeing lots of connections stuck in CLOSE_WAIT is an indication 
of an application-level (relative to TCP) bug wherein the application on 
the CLOSE_WAIT side is ignoring the read return of zero.


Such bugs in applications may be masked by a few things:

1) If the remote side called close() rather than shutdown(SHUT_WR) then 
an attempt on the CLOSE_WAIT side to send data to the remote will cause 
the remote TCP to return a RST segment (reset) because there is no 
longer anything above TCP to receive the data.  This will then cause the 
local TCP to terminate the connection.  This may also happen if the 
local application set SO_KEEPALIVE to enable TCP keepalives.


*) If the local side doesn't send anything, and doesn't have TCP 
keepalives set, if the remote TCP has a FIN_WAIT_2 timer of some sort 
going (long story involving a hole in the TCP specification and 
implementation workarounds, email if you want to hear it) then when that 
FIN_WAIT_2 timer expires the remote TCP may sent a RST segment.


RST segments are best effort in sending - they don't get retransmitted 
explicitly.  In case 1 if the RST segment doesn't make it back, the 
local TCP will retransmit the data it was sending (because it will not 
have received an ACKnowledgement either).  It will then either receive 
the RST triggered by that retransmission, or if no RSTs ever make it 
back, the local TCP will at some point reach its retransmission limit 
and terminate the connection.  In case 2, if that one RST is lost, 
that's it, and the CLOSE_WAIT may remain forever.


Again though, given the rarity of actual application use of a simplex 
TCP connection, 99 times out of 10, seeing lots of CLOSE_WAIT 
connections building-up implies a buggy application or the libraries 
doing work on its behalf.


rick jones

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon and open connections

2013-01-30 Thread Sam Morrison
We have horizon running based on the Ubuntu Folsom Cloud Archive packages.

What I notice is that after a while we have thousands of connections in the 
CLOSE_WAIT state to keystone and our nova api servers. 
The host also uses up all it's available memory (2GB)

After a restart of apache all the connections are cleaned up and the memory 
used drops down to about 200MB

Just wondering if this is supposed to happen or is there a bug. It seems to me 
that horizon isn't closing connections or something.

Anyone have a similar issue/solution?

Cheers,
Sam



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2013-01-29 Thread JuanFra Rodriguez Cardoso
Hi all:

After multiple attempts, thanks to Matthias Runge's suggestions, I got
Horizon works fine.
It needs nova-* services like nova-volume are running. I chose to not use
volume service, so that I had to create a virtual vg 'nova-volumes' to get
Horizon works. Here I attach code for creation and deletion of a volume
group (100M) over an loop device:

-- Create --
if [ $(vgscan | grep -i nova-volumes) ==  ]
then
   [ -f PATH/nova-volumes.disk ] || touch PATH/nova-volumes.disk
   dd if=/dev/zero of=PATH/nova-volumes.disk bs=4k count=25600
   losetup /dev/loop0 PATH/nova-volumes.disk
   mke2fs /dev/loop0
   pvcreate /dev/loop0
   vgcreate nova-volumes /dev/loop0
fi

-- Delete --
[ -f PATH/nova-volumes.disk ]  losetup -d /dev/loop0
rm -rf PATH/nova-volumes.disk



Hope it's useful!

Best,
JuanFra





2012/12/13 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com

 Hi all:

 I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
 error related to css/js compression:

 File /usr/lib/python2.6/site-packages/django/template/base.py, line 837,
 in render_node
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 node.render(context)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 147, in render
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 self.render_compressed(context, self.kind, self.mode, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 88, in render_compressed
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] cached_offline
 = self.render_offline(context, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 72, in render_offline
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may need
 to run python manage.py compress.' % key)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 OfflineGenerationError: You have offline compression enabled but key
 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
 may need to run python manage.py compress.
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
 exist: /var/www/html/favicon.ico

 any idea for solving it?

 Thanks,
 JuanFra.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon Dashboard Demo video released with FOLSOM

2012-12-21 Thread Narayanan, Krishnaprasad
Hallo all,

I was looking through the OpenStack Horizon start page for sample videos on the 
enhancements in Horizon Web Interface but unfortunately couldn't find any. If I 
remember, there was a sample demo video of Horizon when ESSEX was released.  
Can I get to know any URIs on the web where I can find a demo video of the 
Horizon that was released with FOLSOM?

Thanks
Krishnaprasad
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon Dashboard Demo video released with FOLSOM

2012-12-21 Thread Mathilde Barr
Hi Krishnaprasad,

Here are a few:

http://www.youtube.com/watch?v=WiwOc5-gYLU
http://www.youtube.com/watch?v=JtZ1XwdqDSk
http://www.youtube.com/watch?v=JpVd1Tm8Sjc

Cheers,
Mathilde

On Fri, Dec 21, 2012 at 10:44 AM, Narayanan, Krishnaprasad 
naray...@uni-mainz.de wrote:

  Hallo all,

 ** **

 I was looking through the OpenStack Horizon start page for sample videos
 on the enhancements in Horizon Web Interface but unfortunately couldn’t
 find any. If I remember, there was a sample demo video of Horizon when
 ESSEX was released.  Can I get to know any URIs on the web where I can find
 a demo video of the Horizon that was released with FOLSOM?

 ** **

 Thanks

 Krishnaprasad

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-18 Thread JuanFra Rodriguez Cardoso
Hi guys!
I'm not migrating from Essex to Folsom. I've just done a clear installation
of Folsom 2012.2 from EPEL 6.7.
Then, it could be a problem related to migration.
I requested catalog from keystone-cli and it worked. Hence, exception seems
to be around this extraction:

File /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py,
line 135, in _extract_service_catalog (endpoint_type='adminURL')
File /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line
73, in url_for raiseexceptions.EndpointNotFound('Endpoint not
found.') EndpointNotFound: Endpoint

Thanks for your interest!
JuanFra.


2012/12/18 Matthias Runge mru...@redhat.com

 On 12/18/2012 01:32 AM, andi abes wrote:
  I've hit a similar issue when I updated from essex to folsom.
  That advice to check the migration guide is wise ;).
 
  Specifically for me, the local_settings.py file in folsom is
  considerably different that it was in Essex. I'm not sure how rpm
  behaves when it needs to overwrite a file.
  You might want to check how /etc/openstack-dashboard/local_settings.py
  looks in a clean install, and compare it to your updated one.

 local_settings is marked as config file and thus, won't be overwritten
 by a newer version. You should find a
 /etc/openstack-dashboard/local_settings.rpmnew

 Matthias

 
 
  On Mon, Dec 17, 2012 at 7:02 PM, JuanFra Rodriguez Cardoso
  juanfra.rodriguez.card...@gmail.com
  mailto:juanfra.rodriguez.card...@gmail.com wrote:
 
  Hi Andrew:
 
  I got this error by accessing web dashboard, i.e. I introduce
  correctly user/password and then I get a Internal error server in
  my screen (related to traceback from my previous post).
 
  I'm planning to use another previous version (2012.2 or 2012.1.3).
  Now, I'm using 2012.2.1.
 
  I guess this error could be related to nova daemon. It's not
  running. Is it mandatory to have running nova daemons so that
  dashboard works fine?
 
  Thanks!
  JuanFra
 
  2012/12/17 Andrew Holway a.hol...@syseleven.de
  mailto:a.hol...@syseleven.de
 
  Hi,
 
  I got this error too but I cannot remember what did it.
 
  Do you get this when you try and use the web interface?
 
  Thanks,
 
  Andrew
 
 
  On Dec 17, 2012, at 6:05 PM, JuanFra Rodriguez Cardoso wrote:
 
   Hi guys:
  
   I've re-installed and re-configured again my deployment
  according to suggested guide
  github.com/beloglazov/openstack-centos-kvm-glusterfs/
  http://github.com/beloglazov/openstack-centos-kvm-glusterfs/.
  Excepcion raised:
  
   [Mon Dec 17 18:02:42 2012] [error]
  /usr/lib/python2.6/site-packages/django/conf/__init__.py:75:
  DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been
  removed; use STATIC_URL instead.
   [Mon Dec 17 18:02:42 2012] [error]   use STATIC_URL
  instead., DeprecationWarning)
   [Mon Dec 17 18:02:42 2012] [error]
  /usr/lib/python2.6/site-packages/django/conf/__init__.py:110:
  DeprecationWarning: The SECRET_KEY setting must not be empty.
   [Mon Dec 17 18:02:42 2012] [error]   warnings.warn(The
  SECRET_KEY setting must not be empty., DeprecationWarning)
   [Mon Dec 17 18:02:42 2012] [error]
 
 /usr/lib/python2.6/site-packages/django/core/cache/__init__.py:82:
  DeprecationWarning: settings.CACHE_* is deprecated; use
  settings.CACHES instead.
   [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning
   [Mon Dec 17 18:02:42 2012] [error]
 
 /usr/lib/python2.6/site-packages/django/utils/translation/__init__.py:63:
  DeprecationWarning: Translations in the project directory aren't
  supported anymore. Use the LOCALE_PATHS setting instead.
   [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning)
   [Mon Dec 17 18:02:42 2012] [error]
 
 /usr/lib/python2.6/site-packages/django/template/defaulttags.py:1235:
  DeprecationWarning: The syntax for the url template tag is
  changing. Load the `url` tag from the `future` tag library to
  start using the new behavior.
   [Mon Dec 17 18:02:42 2012] [error]
 category=DeprecationWarning)
   [Mon Dec 17 17:02:59 2012] [error]
 
 /usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py:26:
  DeprecationWarning: Authentication backends without a
  `supports_inactive_user` attribute are deprecated. Please define
  it in class 'openstack_auth.backend.KeystoneBackend'.
   [Mon Dec 17 17:02:59 2012] [error]   DeprecationWarning)
   [Mon Dec 17 17:02:59 2012] [error] unable to retrieve service
  catalog with token
   [Mon Dec 17 17:02:59 2012] [error] Traceback (most recent call
  last):
   [Mon Dec 17 17:02:59 2012] [error]   File
 
 

Re: [Openstack] Horizon - OfflineGenerationError

2012-12-18 Thread Matthias Runge
On 12/18/2012 09:35 AM, JuanFra Rodriguez Cardoso wrote:
 Hi guys!
 I'm not migrating from Essex to Folsom. I've just done a clear
 installation of Folsom 2012.2 from EPEL 6.7.
 Then, it could be a problem related to migration.
 I requested catalog from keystone-cli and it worked. Hence, exception
 seems to be around this extraction:
 
 File /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py,
 line 135, in _extract_service_catalog (endpoint_type='adminURL')
 File /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, 
 line
 73, in url_for raiseexceptions.EndpointNotFound('Endpoint not
 found.') EndpointNotFound: Endpoint
 
 Thanks for your interest!
 JuanFra.
 
Earlier in this thread, it looked like you're migrating (even if you
were not aware of that fact).

That message is known and harmless.

Matthias



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-18 Thread JuanFra Rodriguez Cardoso
Ok, Matthias. Sorry for confusion, I decided to re-install Folsom 2012.2 in
a parallel testbed. In this way, I avoided any incompatibility with
migration from Essex.
I continue researching and I will report us, ok?

Thanks! ;)

2012/12/18 Matthias Runge mru...@redhat.com

 On 12/18/2012 09:35 AM, JuanFra Rodriguez Cardoso wrote:
  Hi guys!
  I'm not migrating from Essex to Folsom. I've just done a clear
  installation of Folsom 2012.2 from EPEL 6.7.
  Then, it could be a problem related to migration.
  I requested catalog from keystone-cli and it worked. Hence, exception
  seems to be around this extraction:
 
  File /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py,
  line 135, in _extract_service_catalog (endpoint_type='adminURL')
  File
 /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line
  73, in url_for raiseexceptions.EndpointNotFound('Endpoint not
  found.') EndpointNotFound: Endpoint
 
  Thanks for your interest!
  JuanFra.
 
 Earlier in this thread, it looked like you're migrating (even if you
 were not aware of that fact).

 That message is known and harmless.

 Matthias



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-17 Thread Andrew Holway
Hi,

I got this error too but I cannot remember what did it.

Do you get this when you try and use the web interface?

Thanks,

Andrew


On Dec 17, 2012, at 6:05 PM, JuanFra Rodriguez Cardoso wrote:

 Hi guys:
 
 I've re-installed and re-configured again my deployment according to 
 suggested guide github.com/beloglazov/openstack-centos-kvm-glusterfs/. 
 Excepcion raised:
 
 [Mon Dec 17 18:02:42 2012] [error] 
 /usr/lib/python2.6/site-packages/django/conf/__init__.py:75: 
 DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use 
 STATIC_URL instead.
 [Mon Dec 17 18:02:42 2012] [error]   use STATIC_URL instead., 
 DeprecationWarning)
 [Mon Dec 17 18:02:42 2012] [error] 
 /usr/lib/python2.6/site-packages/django/conf/__init__.py:110: 
 DeprecationWarning: The SECRET_KEY setting must not be empty.
 [Mon Dec 17 18:02:42 2012] [error]   warnings.warn(The SECRET_KEY setting 
 must not be empty., DeprecationWarning)
 [Mon Dec 17 18:02:42 2012] [error] 
 /usr/lib/python2.6/site-packages/django/core/cache/__init__.py:82: 
 DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES 
 instead.
 [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning
 [Mon Dec 17 18:02:42 2012] [error] 
 /usr/lib/python2.6/site-packages/django/utils/translation/__init__.py:63: 
 DeprecationWarning: Translations in the project directory aren't supported 
 anymore. Use the LOCALE_PATHS setting instead.
 [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning)
 [Mon Dec 17 18:02:42 2012] [error] 
 /usr/lib/python2.6/site-packages/django/template/defaulttags.py:1235: 
 DeprecationWarning: The syntax for the url template tag is changing. Load the 
 `url` tag from the `future` tag library to start using the new behavior.
 [Mon Dec 17 18:02:42 2012] [error]   category=DeprecationWarning)
 [Mon Dec 17 17:02:59 2012] [error] 
 /usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py:26: 
 DeprecationWarning: Authentication backends without a 
 `supports_inactive_user` attribute are deprecated. Please define it in class 
 'openstack_auth.backend.KeystoneBackend'.
 [Mon Dec 17 17:02:59 2012] [error]   DeprecationWarning)
 [Mon Dec 17 17:02:59 2012] [error] unable to retrieve service catalog with 
 token
 [Mon Dec 17 17:02:59 2012] [error] Traceback (most recent call last):
 [Mon Dec 17 17:02:59 2012] [error]   File 
 /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 135, 
 in _extract_service_catalog
 [Mon Dec 17 17:02:59 2012] [error] endpoint_type='adminURL')
 [Mon Dec 17 17:02:59 2012] [error]   File 
 /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line 
 73, in url_for
 [Mon Dec 17 17:02:59 2012] [error] raise 
 exceptions.EndpointNotFound('Endpoint not found.')
 [Mon Dec 17 17:02:59 2012] [error] EndpointNotFound: Endpoint not found.
 
 any idea?
 
 2012/12/14 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com
 Ok. I will continue trying to solve these errors with your suggestions.
 I'll tell you any result.
 
 Thanks @Matthias @Andres for you support.
 
 Regards!
 JuanFra
 
 
 2012/12/14 Andrew Holway a.hol...@syseleven.de
 
 On Dec 14, 2012, at 12:45 PM, JuanFra Rodriguez Cardoso wrote:
 
  @Andrew: Yes, I knew theses great guides. I had Essex 2012.1.3 (EPEL 6.7) 
  working ok on Centos 6.3, but with 2012.2 (EPEL 6.7) I'm getting errors 
  with Django/Horizon.
 
 Mine is working alright. I expect you have some silly misconfiguration 
 somewhere. It took me 4 times to make a working install and it worked only 
 when I followed the install guide letter by letter.
 
 
 
  What release are your running? Essex or Folsom?
  Do you know if it's possible to install previous Openstack RPM packages 
  from EPL 6.7 (i.e. openstack-nova-2012.1.3-...)
 
 Folsom. Why would you want to install previous Openstack packages? I think 
 you might have to use a different EPEL repo for earlier versions.   
 openstack-nova-2012.2-2 seems to be the only available version.
 
 Ta
 
 Andrew
 
 
 
  Thanks for your support!
  JuanFa
 
  2012/12/14 Andrew Holway a.hol...@syseleven.de
  Hi,
 
  This worked perfectly on Centos 6.3.
 
  github.com/beloglazov/openstack-centos-kvm-glusterfs/
 
  The hostname stuff can trip you up however. Watch out for the scripts 
  creating user@controller users in the database for keystone, nova, glance 
  et al. It seems user@localhost would be more sensible.
 
  Take care,
 
  Andrew
 
 
 
  On Dec 13, 2012, at 12:24 PM, JuanFra Rodriguez Cardoso wrote:
 
   Hi all:
  
   I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next 
   error related to css/js compression:
  
   File /usr/lib/python2.6/site-packages/django/template/base.py, line 
   837, in render_node
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return 
   node.render(context)
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File 
   /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, 
   line 147, in render
   

Re: [Openstack] Horizon - OfflineGenerationError

2012-12-17 Thread JuanFra Rodriguez Cardoso
Hi Andrew:

I got this error by accessing web dashboard, i.e. I introduce correctly
user/password and then I get a Internal error server in my screen
(related to traceback from my previous post).

I'm planning to use another previous version (2012.2 or 2012.1.3). Now, I'm
using 2012.2.1.

I guess this error could be related to nova daemon. It's not running. Is it
mandatory to have running nova daemons so that dashboard works fine?

Thanks!
JuanFra

2012/12/17 Andrew Holway a.hol...@syseleven.de

 Hi,

 I got this error too but I cannot remember what did it.

 Do you get this when you try and use the web interface?

 Thanks,

 Andrew


 On Dec 17, 2012, at 6:05 PM, JuanFra Rodriguez Cardoso wrote:

  Hi guys:
 
  I've re-installed and re-configured again my deployment according to
 suggested guide github.com/beloglazov/openstack-centos-kvm-glusterfs/.
 Excepcion raised:
 
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/conf/__init__.py:75:
 DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use
 STATIC_URL instead.
  [Mon Dec 17 18:02:42 2012] [error]   use STATIC_URL instead.,
 DeprecationWarning)
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/conf/__init__.py:110:
 DeprecationWarning: The SECRET_KEY setting must not be empty.
  [Mon Dec 17 18:02:42 2012] [error]   warnings.warn(The SECRET_KEY
 setting must not be empty., DeprecationWarning)
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/core/cache/__init__.py:82:
 DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES
 instead.
  [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/utils/translation/__init__.py:63:
 DeprecationWarning: Translations in the project directory aren't supported
 anymore. Use the LOCALE_PATHS setting instead.
  [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning)
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/template/defaulttags.py:1235:
 DeprecationWarning: The syntax for the url template tag is changing. Load
 the `url` tag from the `future` tag library to start using the new behavior.
  [Mon Dec 17 18:02:42 2012] [error]   category=DeprecationWarning)
  [Mon Dec 17 17:02:59 2012] [error]
 /usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py:26:
 DeprecationWarning: Authentication backends without a
 `supports_inactive_user` attribute are deprecated. Please define it in
 class 'openstack_auth.backend.KeystoneBackend'.
  [Mon Dec 17 17:02:59 2012] [error]   DeprecationWarning)
  [Mon Dec 17 17:02:59 2012] [error] unable to retrieve service catalog
 with token
  [Mon Dec 17 17:02:59 2012] [error] Traceback (most recent call last):
  [Mon Dec 17 17:02:59 2012] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 135,
 in _extract_service_catalog
  [Mon Dec 17 17:02:59 2012] [error] endpoint_type='adminURL')
  [Mon Dec 17 17:02:59 2012] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line
 73, in url_for
  [Mon Dec 17 17:02:59 2012] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
  [Mon Dec 17 17:02:59 2012] [error] EndpointNotFound: Endpoint not found.
 
  any idea?
 
  2012/12/14 JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com
  Ok. I will continue trying to solve these errors with your suggestions.
  I'll tell you any result.
 
  Thanks @Matthias @Andres for you support.
 
  Regards!
  JuanFra
 
 
  2012/12/14 Andrew Holway a.hol...@syseleven.de
 
  On Dec 14, 2012, at 12:45 PM, JuanFra Rodriguez Cardoso wrote:
 
   @Andrew: Yes, I knew theses great guides. I had Essex 2012.1.3 (EPEL
 6.7) working ok on Centos 6.3, but with 2012.2 (EPEL 6.7) I'm getting
 errors with Django/Horizon.
 
  Mine is working alright. I expect you have some silly misconfiguration
 somewhere. It took me 4 times to make a working install and it worked only
 when I followed the install guide letter by letter.
 
 
  
   What release are your running? Essex or Folsom?
   Do you know if it's possible to install previous Openstack RPM
 packages from EPL 6.7 (i.e. openstack-nova-2012.1.3-...)
 
  Folsom. Why would you want to install previous Openstack packages? I
 think you might have to use a different EPEL repo for earlier versions.
 openstack-nova-2012.2-2 seems to be the only available version.
 
  Ta
 
  Andrew
 
 
  
   Thanks for your support!
   JuanFa
  
   2012/12/14 Andrew Holway a.hol...@syseleven.de
   Hi,
  
   This worked perfectly on Centos 6.3.
  
   github.com/beloglazov/openstack-centos-kvm-glusterfs/
  
   The hostname stuff can trip you up however. Watch out for the scripts
 creating user@controller users in the database for keystone, nova, glance
 et al. It seems user@localhost would be more sensible.
  
   Take care,
  
   Andrew
  
  
  
   On Dec 13, 2012, at 12:24 PM, 

Re: [Openstack] Horizon - OfflineGenerationError

2012-12-17 Thread Matthias Runge
On 12/18/2012 01:32 AM, andi abes wrote:
 I've hit a similar issue when I updated from essex to folsom.
 That advice to check the migration guide is wise ;).
 
 Specifically for me, the local_settings.py file in folsom is
 considerably different that it was in Essex. I'm not sure how rpm
 behaves when it needs to overwrite a file.
 You might want to check how /etc/openstack-dashboard/local_settings.py
 looks in a clean install, and compare it to your updated one.

local_settings is marked as config file and thus, won't be overwritten
by a newer version. You should find a
/etc/openstack-dashboard/local_settings.rpmnew

Matthias

 
 
 On Mon, Dec 17, 2012 at 7:02 PM, JuanFra Rodriguez Cardoso
 juanfra.rodriguez.card...@gmail.com
 mailto:juanfra.rodriguez.card...@gmail.com wrote:
 
 Hi Andrew:
 
 I got this error by accessing web dashboard, i.e. I introduce
 correctly user/password and then I get a Internal error server in
 my screen (related to traceback from my previous post).
 
 I'm planning to use another previous version (2012.2 or 2012.1.3).
 Now, I'm using 2012.2.1.
 
 I guess this error could be related to nova daemon. It's not
 running. Is it mandatory to have running nova daemons so that
 dashboard works fine?
 
 Thanks!
 JuanFra
 
 2012/12/17 Andrew Holway a.hol...@syseleven.de
 mailto:a.hol...@syseleven.de
 
 Hi,
 
 I got this error too but I cannot remember what did it.
 
 Do you get this when you try and use the web interface?
 
 Thanks,
 
 Andrew
 
 
 On Dec 17, 2012, at 6:05 PM, JuanFra Rodriguez Cardoso wrote:
 
  Hi guys:
 
  I've re-installed and re-configured again my deployment
 according to suggested guide
 github.com/beloglazov/openstack-centos-kvm-glusterfs/
 http://github.com/beloglazov/openstack-centos-kvm-glusterfs/.
 Excepcion raised:
 
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/conf/__init__.py:75:
 DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been
 removed; use STATIC_URL instead.
  [Mon Dec 17 18:02:42 2012] [error]   use STATIC_URL
 instead., DeprecationWarning)
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/conf/__init__.py:110:
 DeprecationWarning: The SECRET_KEY setting must not be empty.
  [Mon Dec 17 18:02:42 2012] [error]   warnings.warn(The
 SECRET_KEY setting must not be empty., DeprecationWarning)
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/core/cache/__init__.py:82:
 DeprecationWarning: settings.CACHE_* is deprecated; use
 settings.CACHES instead.
  [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning
  [Mon Dec 17 18:02:42 2012] [error]
 
 /usr/lib/python2.6/site-packages/django/utils/translation/__init__.py:63:
 DeprecationWarning: Translations in the project directory aren't
 supported anymore. Use the LOCALE_PATHS setting instead.
  [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning)
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/template/defaulttags.py:1235:
 DeprecationWarning: The syntax for the url template tag is
 changing. Load the `url` tag from the `future` tag library to
 start using the new behavior.
  [Mon Dec 17 18:02:42 2012] [error]   category=DeprecationWarning)
  [Mon Dec 17 17:02:59 2012] [error]
 /usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py:26:
 DeprecationWarning: Authentication backends without a
 `supports_inactive_user` attribute are deprecated. Please define
 it in class 'openstack_auth.backend.KeystoneBackend'.
  [Mon Dec 17 17:02:59 2012] [error]   DeprecationWarning)
  [Mon Dec 17 17:02:59 2012] [error] unable to retrieve service
 catalog with token
  [Mon Dec 17 17:02:59 2012] [error] Traceback (most recent call
 last):
  [Mon Dec 17 17:02:59 2012] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line
 135, in _extract_service_catalog
  [Mon Dec 17 17:02:59 2012] [error] endpoint_type='adminURL')
  [Mon Dec 17 17:02:59 2012] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py,
 line 73, in url_for
  [Mon Dec 17 17:02:59 2012] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
  [Mon Dec 17 17:02:59 2012] [error] EndpointNotFound: Endpoint
 not found.
 
  any idea?
 
  2012/12/14 JuanFra Rodriguez Cardoso
 juanfra.rodriguez.card...@gmail.com
 mailto:juanfra.rodriguez.card...@gmail.com
  Ok. I 

Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread Matthias Runge
On 12/13/2012 08:19 PM, Gabriel Hurley wrote:
 Have you tried doing what it said and running “manage.py compress”?
 (make sure you’re in the proper Python environment/venv when running
 that command)
 
  
 
 That error indicates one of two things:
 
  
 
 1.   You have your settings set with COMPRESS_ENABLED = True and
 COMPRESS_OFFLINE = True but you haven’t run “manage.py compress”, or…
 
 2.   There was an error while trying to compress the files such as
 not being able to find a particular file or a permissions problem on an
 input file or output directory.
 
  
 
 -  Gabriel
 
  
 
 *From:*openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net
 [mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net]
 *On Behalf Of *JuanFra Rodriguez Cardoso
 *Sent:* Thursday, December 13, 2012 4:37 AM
 *To:* Matthias Runge
 *Cc:* openstack@lists.launchpad.net
 *Subject:* Re: [Openstack] Horizon - OfflineGenerationError
 
  
 
 Hi Matthias:
 
  
 
 Thanks for replying. Rest of openstack services are working ok.
 
 Theses are versions installed of Horizon and Django (from EPEL 6.7)
   - openstack-dashboard-2012.2-4.el6.noarch.
 
   - Django14-1.4.2-2.el6.noarch
 
 Do you recommend I install Horizon from github repository?


No, but I recommend to update openstack-dashboard from EPEL.
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-13628/python-django-horizon-2012.2.1-1.el6

What you can do is:
vi /usr/share/openstack-dashboard/openstack_dashboard/settings.py
and change
COMPRESS_ENABLED = True
to
COMPRESS_ENABLED = False

restart httpd:
service httpd restart


It may look ugly, but it should work for you. Please report errors back.



@Gabriel: your suggestions 1 and 2 have been done for the package at a
central location.

The problem is, if an error occurs and COMPRESS_ENABLED = True,
COMPRESS_OFFLINE = True are set (as in EPELs packages), horizon falls
flat on it's nose. But, as long as node.js and also less.js are not
available for RedHat/EPEL/Scientific Linux, the situation will stay that
way.



Matthias


 
 Thanks!
 
 2012/12/13 Matthias Runge mru...@redhat.com mailto:mru...@redhat.com
 
 On 12/13/2012 12:24 PM, JuanFra Rodriguez Cardoso wrote:
 Hi all:

 I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
 error related to css/js compression:

 
 Yes, I bet, it's not related with Dashboard, although the error message
 tells you so.
 
 Which version are you installing from where? Do you see other issues
 with your openstack-installation? Please note, the minimum required set
 of OpenStack services running includes the following:
 
  +   Nova (compute, api, scheduler, network, and volume services)
  +   Glance
  +   Keystone
 
 Instead of nova volume, you could also use cinder volume.
 
 Did you install there and are they working ok?
 
 
 Matthias
 
 
 
 File /usr/lib/python2.6/site-packages/django/template/base.py, line
 837, in render_node
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 node.render(context)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 147, in render
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 self.render_compressed(context, self.kind, self.mode, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 88, in render_compressed
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 cached_offline = self.render_offline(context, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 72, in render_offline
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may
 need to run python manage.py compress.' % key)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 OfflineGenerationError: You have offline compression enabled but key
 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
 may need to run python manage.py compress.
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
 exist: /var/www/html/favicon.ico

 any idea for solving it?

 Thanks,
 JuanFra.


 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

 
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp
 
  
 


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack

Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread Andrew Holway
Hi,

This worked perfectly on Centos 6.3. 

github.com/beloglazov/openstack-centos-kvm-glusterfs/

The hostname stuff can trip you up however. Watch out for the scripts creating 
user@controller users in the database for keystone, nova, glance et al. It 
seems user@localhost would be more sensible.

Take care,

Andrew



On Dec 13, 2012, at 12:24 PM, JuanFra Rodriguez Cardoso wrote:

 Hi all:
 
 I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next error 
 related to css/js compression:
 
 File /usr/lib/python2.6/site-packages/django/template/base.py, line 837, in 
 render_node
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return 
 node.render(context)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File 
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 
 147, in render
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return 
 self.render_compressed(context, self.kind, self.mode, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File 
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 
 88, in render_compressed
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] cached_offline = 
 self.render_offline(context, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File 
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, line 
 72, in render_offline
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may need to 
 run python manage.py compress.' % key)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 
 OfflineGenerationError: You have offline compression enabled but key 
 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You may 
 need to run python manage.py compress.
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not exist: 
 /var/www/html/favicon.ico
 
 any idea for solving it?
 
 Thanks,
 JuanFra.
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread JuanFra Rodriguez Cardoso
@Matthias: This is the current error traceback (after your suggestions)

[Fri Dec 14 12:34:49 2012] [error] Exception KeyError:
KeyError(140230402213856,) in module 'threading' from
'/usr/lib64/python2.6/threading.pyc' ignored
[Fri Dec 14 12:34:49 2012] [error] Exception KeyError:
KeyError(140230402213856,) in module 'threading' from
'/usr/lib64/python2.6/threading.pyc' ignored
[Fri Dec 14 12:34:49 2012] [notice] caught SIGTERM, shutting down
[Fri Dec 14 12:34:49 2012] [notice] SELinux policy enabled; httpd running
as context unconfined_u:system_r:httpd_t:s0
[Fri Dec 14 12:34:49 2012] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Fri Dec 14 12:34:49 2012] [notice] Digest: generating secret for digest
authentication ...
[Fri Dec 14 12:34:49 2012] [notice] Digest: done
[Fri Dec 14 12:34:49 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Fri Dec 14 12:34:49 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Fri Dec 14 12:34:49 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.2
Python/2.6.6 configured -- resuming normal operations
[Fri Dec 14 12:35:09 2012] [error]
/usr/lib/python2.6/site-packages/django/conf/__init__.py:75:
DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use
STATIC_URL instead.
[Fri Dec 14 12:35:09 2012] [error]   use STATIC_URL instead.,
DeprecationWarning)
[Fri Dec 14 12:35:09 2012] [error]
/usr/lib/python2.6/site-packages/django/conf/__init__.py:110:
DeprecationWarning: The SECRET_KEY setting must not be empty.
[Fri Dec 14 12:35:09 2012] [error]   warnings.warn(The SECRET_KEY setting
must not be empty., DeprecationWarning)
[Fri Dec 14 12:35:09 2012] [error]
/usr/lib/python2.6/site-packages/django/utils/translation/__init__.py:63:
DeprecationWarning: Translations in the project directory aren't supported
anymore. Use the LOCALE_PATHS setting instead.
[Fri Dec 14 12:35:09 2012] [error]   DeprecationWarning)
[Fri Dec 14 12:35:10 2012] [error]
/usr/lib/python2.6/site-packages/django/template/defaulttags.py:1235:
DeprecationWarning: The syntax for the url template tag is changing. Load
the `url` tag from the `future` tag library to start using the new behavior.
[Fri Dec 14 12:35:10 2012] [error]   category=DeprecationWarning)
[Fri Dec 14 12:35:15 2012] [error]
/usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py:26:
DeprecationWarning: Authentication backends without a
`supports_inactive_user` attribute are deprecated. Please define it in
class 'openstack_auth.backend.KeystoneBackend'.
[Fri Dec 14 12:35:15 2012] [error]   DeprecationWarning)
[Fri Dec 14 12:35:15 2012] [error] Authorization Failed.
[Fri Dec 14 12:35:15 2012] [error] Traceback (most recent call last):
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 105,
in authenticate
[Fri Dec 14 12:35:15 2012] [error] return_raw=True)
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/v2_0/tokens.py, line 37,
in authenticate
[Fri Dec 14 12:35:15 2012] [error] return self._create('/tokens',
params, access, return_raw=return_raw)
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/base.py, line 82, in
_create
[Fri Dec 14 12:35:15 2012] [error] resp, body = self.api.post(url,
body=body)
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/client.py, line 179, in
post
[Fri Dec 14 12:35:15 2012] [error] return self._cs_request(url, 'POST',
**kwargs)
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/client.py, line 160, in
_cs_request
[Fri Dec 14 12:35:15 2012] [error] **kwargs)
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/client.py, line 140, in
request
[Fri Dec 14 12:35:15 2012] [error] raise exceptions.from_response(resp,
body)
[Fri Dec 14 12:35:15 2012] [error] BadRequest: Unable to communicate with
identity service: [Errno 13] Permission denied. (HTTP 400)
[Fri Dec 14 12:35:25 2012] [error] Authorization Failed.


JuanFra
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread JuanFra Rodriguez Cardoso
@Andrew: Yes, I knew theses great guides. I had Essex 2012.1.3 (EPEL 6.7)
working ok on Centos 6.3, but with 2012.2 (EPEL 6.7) I'm getting errors
with Django/Horizon.

What release are your running? Essex or Folsom?
Do you know if it's possible to install previous Openstack RPM packages
from EPL 6.7 (i.e. openstack-nova-2012.1.3-...)

Thanks for your support!
JuanFa

2012/12/14 Andrew Holway a.hol...@syseleven.de

 Hi,

 This worked perfectly on Centos 6.3.

 github.com/beloglazov/openstack-centos-kvm-glusterfs/

 The hostname stuff can trip you up however. Watch out for the scripts
 creating user@controller users in the database for keystone, nova, glance
 et al. It seems user@localhost would be more sensible.

 Take care,

 Andrew



 On Dec 13, 2012, at 12:24 PM, JuanFra Rodriguez Cardoso wrote:

  Hi all:
 
  I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
 error related to css/js compression:
 
  File /usr/lib/python2.6/site-packages/django/template/base.py, line
 837, in render_node
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 node.render(context)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 147, in render
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 self.render_compressed(context, self.kind, self.mode, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 88, in render_compressed
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 cached_offline = self.render_offline(context, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 72, in render_offline
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may
 need to run python manage.py compress.' % key)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 OfflineGenerationError: You have offline compression enabled but key
 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
 may need to run python manage.py compress.
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
 exist: /var/www/html/favicon.ico
 
  any idea for solving it?
 
  Thanks,
  JuanFra.
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread Matthias Runge
On 12/14/2012 12:40 PM, JuanFra Rodriguez Cardoso wrote:
 @Matthias: This is the current error traceback (after your suggestions)

 [Fri Dec 14 12:35:15 2012] [error] raise
 exceptions.from_response(resp, body)
 [Fri Dec 14 12:35:15 2012] [error] BadRequest: Unable to communicate
 with identity service: [Errno 13] Permission denied. (HTTP 400)
 [Fri Dec 14 12:35:25 2012] [error] Authorization Failed.
 
 
 JuanFra
Interesting. Is your keystone working? SELinux? Enabled? If yes, please
switch that to permissive. If that works, you should investigate
/var/log/audit/audit.log

Matthias

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread Matthias Runge
On 12/14/2012 12:45 PM, JuanFra Rodriguez Cardoso wrote:
 @Andrew: Yes, I knew theses great guides. I had Essex 2012.1.3 (EPEL
 6.7) working ok on Centos 6.3, but with 2012.2 (EPEL 6.7) I'm getting
 errors with Django/Horizon.
 
 What release are your running? Essex or Folsom?
 Do you know if it's possible to install previous Openstack RPM packages
 from EPL 6.7 (i.e. openstack-nova-2012.1.3-...)
 
 Thanks for your support!
 JuanFa

Ah, did you follow the migration guides? There is a migration required
between Essex and Folsom. There is a preliminary guide:
https://fedoraproject.org/wiki/Talk:Getting_started_with_OpenStack_EPEL

Matthias

 
 2012/12/14 Andrew Holway a.hol...@syseleven.de
 mailto:a.hol...@syseleven.de
 
 Hi,
 
 This worked perfectly on Centos 6.3.
 
 github.com/beloglazov/openstack-centos-kvm-glusterfs/
 http://github.com/beloglazov/openstack-centos-kvm-glusterfs/
 
 The hostname stuff can trip you up however. Watch out for the
 scripts creating user@controller users in the database for keystone,
 nova, glance et al. It seems user@localhost would be more sensible.
 
 Take care,
 
 Andrew
 
 
 
 On Dec 13, 2012, at 12:24 PM, JuanFra Rodriguez Cardoso wrote:
 
  Hi all:
 
  I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got
 next error related to css/js compression:
 
  File /usr/lib/python2.6/site-packages/django/template/base.py,
 line 837, in render_node
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 node.render(context)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 147, in render
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 self.render_compressed(context, self.kind, self.mode, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 88, in render_compressed
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 cached_offline = self.render_offline(context, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 72, in render_offline
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You
 may need to run python manage.py compress.' % key)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 OfflineGenerationError: You have offline compression enabled but key
 1056718f92f8d4204721bac759b3871a is missing from offline manifest.
 You may need to run python manage.py compress.
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does
 not exist: /var/www/html/favicon.ico
 
  any idea for solving it?
 
  Thanks,
  JuanFra.
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
 mailto:openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
 
 


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread Andrew Holway

On Dec 14, 2012, at 12:45 PM, JuanFra Rodriguez Cardoso wrote:

 @Andrew: Yes, I knew theses great guides. I had Essex 2012.1.3 (EPEL 6.7) 
 working ok on Centos 6.3, but with 2012.2 (EPEL 6.7) I'm getting errors with 
 Django/Horizon.

Mine is working alright. I expect you have some silly misconfiguration 
somewhere. It took me 4 times to make a working install and it worked only when 
I followed the install guide letter by letter.


 
 What release are your running? Essex or Folsom?
 Do you know if it's possible to install previous Openstack RPM packages from 
 EPL 6.7 (i.e. openstack-nova-2012.1.3-...)

Folsom. Why would you want to install previous Openstack packages? I think you 
might have to use a different EPEL repo for earlier versions.   
openstack-nova-2012.2-2 seems to be the only available version.

Ta

Andrew


 
 Thanks for your support!
 JuanFa
 
 2012/12/14 Andrew Holway a.hol...@syseleven.de
 Hi,
 
 This worked perfectly on Centos 6.3.
 
 github.com/beloglazov/openstack-centos-kvm-glusterfs/
 
 The hostname stuff can trip you up however. Watch out for the scripts 
 creating user@controller users in the database for keystone, nova, glance et 
 al. It seems user@localhost would be more sensible.
 
 Take care,
 
 Andrew
 
 
 
 On Dec 13, 2012, at 12:24 PM, JuanFra Rodriguez Cardoso wrote:
 
  Hi all:
 
  I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next 
  error related to css/js compression:
 
  File /usr/lib/python2.6/site-packages/django/template/base.py, line 837, 
  in render_node
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return 
  node.render(context)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File 
  /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, 
  line 147, in render
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return 
  self.render_compressed(context, self.kind, self.mode, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File 
  /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, 
  line 88, in render_compressed
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] cached_offline 
  = self.render_offline(context, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File 
  /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py, 
  line 72, in render_offline
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may need 
  to run python manage.py compress.' % key)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 
  OfflineGenerationError: You have offline compression enabled but key 
  1056718f92f8d4204721bac759b3871a is missing from offline manifest. You 
  may need to run python manage.py compress.
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not 
  exist: /var/www/html/favicon.ico
 
  any idea for solving it?
 
  Thanks,
  JuanFra.
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
 
 



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread JuanFra Rodriguez Cardoso
Ok. I will continue trying to solve these errors with your suggestions.
I'll tell you any result.

Thanks @Matthias @Andres for you support.

Regards!
JuanFra


2012/12/14 Andrew Holway a.hol...@syseleven.de


 On Dec 14, 2012, at 12:45 PM, JuanFra Rodriguez Cardoso wrote:

  @Andrew: Yes, I knew theses great guides. I had Essex 2012.1.3 (EPEL
 6.7) working ok on Centos 6.3, but with 2012.2 (EPEL 6.7) I'm getting
 errors with Django/Horizon.

 Mine is working alright. I expect you have some silly misconfiguration
 somewhere. It took me 4 times to make a working install and it worked only
 when I followed the install guide letter by letter.


 
  What release are your running? Essex or Folsom?
  Do you know if it's possible to install previous Openstack RPM packages
 from EPL 6.7 (i.e. openstack-nova-2012.1.3-...)

 Folsom. Why would you want to install previous Openstack packages? I think
 you might have to use a different EPEL repo for earlier versions.
 openstack-nova-2012.2-2 seems to be the only available version.

 Ta

 Andrew


 
  Thanks for your support!
  JuanFa
 
  2012/12/14 Andrew Holway a.hol...@syseleven.de
  Hi,
 
  This worked perfectly on Centos 6.3.
 
  github.com/beloglazov/openstack-centos-kvm-glusterfs/
 
  The hostname stuff can trip you up however. Watch out for the scripts
 creating user@controller users in the database for keystone, nova, glance
 et al. It seems user@localhost would be more sensible.
 
  Take care,
 
  Andrew
 
 
 
  On Dec 13, 2012, at 12:24 PM, JuanFra Rodriguez Cardoso wrote:
 
   Hi all:
  
   I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
 error related to css/js compression:
  
   File /usr/lib/python2.6/site-packages/django/template/base.py, line
 837, in render_node
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 node.render(context)
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 147, in render
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 self.render_compressed(context, self.kind, self.mode, forced=forced)
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 88, in render_compressed
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 cached_offline = self.render_offline(context, forced=forced)
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 72, in render_offline
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may
 need to run python manage.py compress.' % key)
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 OfflineGenerationError: You have offline compression enabled but key
 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
 may need to run python manage.py compress.
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
 exist: /var/www/html/favicon.ico
  
   any idea for solving it?
  
   Thanks,
   JuanFra.
   ___
   Mailing list: https://launchpad.net/~openstack
   Post to : openstack@lists.launchpad.net
   Unsubscribe : https://launchpad.net/~openstack
   More help   : https://help.launchpad.net/ListHelp
 
 
 



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon - OfflineGenerationError

2012-12-13 Thread JuanFra Rodriguez Cardoso
Hi all:

I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
error related to css/js compression:

File /usr/lib/python2.6/site-packages/django/template/base.py, line 837,
in render_node
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
node.render(context)
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
line 147, in render
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
self.render_compressed(context, self.kind, self.mode, forced=forced)
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
line 88, in render_compressed
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] cached_offline
= self.render_offline(context, forced=forced)
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
line 72, in render_offline
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may need
to run python manage.py compress.' % key)
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
OfflineGenerationError: You have offline compression enabled but key
1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
may need to run python manage.py compress.
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
exist: /var/www/html/favicon.ico

any idea for solving it?

Thanks,
JuanFra.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-13 Thread Matthias Runge
On 12/13/2012 12:24 PM, JuanFra Rodriguez Cardoso wrote:
 Hi all:
 
 I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
 error related to css/js compression:
 

Yes, I bet, it's not related with Dashboard, although the error message
tells you so.

Which version are you installing from where? Do you see other issues
with your openstack-installation? Please note, the minimum required set
of OpenStack services running includes the following:

 +   Nova (compute, api, scheduler, network, and volume services)
 +   Glance
 +   Keystone

Instead of nova volume, you could also use cinder volume.

Did you install there and are they working ok?


Matthias


 File /usr/lib/python2.6/site-packages/django/template/base.py, line
 837, in render_node
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 node.render(context)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 147, in render
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 self.render_compressed(context, self.kind, self.mode, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 88, in render_compressed
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 cached_offline = self.render_offline(context, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 72, in render_offline
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may
 need to run python manage.py compress.' % key)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 OfflineGenerationError: You have offline compression enabled but key
 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
 may need to run python manage.py compress.
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
 exist: /var/www/html/favicon.ico
 
 any idea for solving it?
 
 Thanks,
 JuanFra.
 
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp
 


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-13 Thread JuanFra Rodriguez Cardoso
Hi Matthias:

Thanks for replying. Rest of openstack services are working ok.

Theses are versions installed of Horizon and Django (from EPEL 6.7)
  - openstack-dashboard-2012.2-4.el6.noarch.
  - Django14-1.4.2-2.el6.noarch

Do you recommend I install Horizon from github repository?

Thanks!

2012/12/13 Matthias Runge mru...@redhat.com

 On 12/13/2012 12:24 PM, JuanFra Rodriguez Cardoso wrote:
  Hi all:
 
  I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
  error related to css/js compression:
 

 Yes, I bet, it's not related with Dashboard, although the error message
 tells you so.

 Which version are you installing from where? Do you see other issues
 with your openstack-installation? Please note, the minimum required set
 of OpenStack services running includes the following:

  +   Nova (compute, api, scheduler, network, and volume services)
  +   Glance
  +   Keystone

 Instead of nova volume, you could also use cinder volume.

 Did you install there and are they working ok?


 Matthias


  File /usr/lib/python2.6/site-packages/django/template/base.py, line
  837, in render_node
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
  node.render(context)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
  /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
  line 147, in render
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
  self.render_compressed(context, self.kind, self.mode, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
  /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
  line 88, in render_compressed
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
  cached_offline = self.render_offline(context, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
  /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
  line 72, in render_offline
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may
  need to run python manage.py compress.' % key)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
  OfflineGenerationError: You have offline compression enabled but key
  1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
  may need to run python manage.py compress.
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
  exist: /var/www/html/favicon.ico
 
  any idea for solving it?
 
  Thanks,
  JuanFra.
 
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-13 Thread Gabriel Hurley
Have you tried doing what it said and running manage.py compress? (make sure 
you're in the proper Python environment/venv when running that command)

That error indicates one of two things:


1.   You have your settings set with COMPRESS_ENABLED = True and 
COMPRESS_OFFLINE = True but you haven't run manage.py compress, or...

2.   There was an error while trying to compress the files such as not 
being able to find a particular file or a permissions problem on an input file 
or output directory.


-  Gabriel

From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of JuanFra Rodriguez Cardoso
Sent: Thursday, December 13, 2012 4:37 AM
To: Matthias Runge
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] Horizon - OfflineGenerationError

Hi Matthias:

Thanks for replying. Rest of openstack services are working ok.

Theses are versions installed of Horizon and Django (from EPEL 6.7)
  - openstack-dashboard-2012.2-4.el6.noarch.
  - Django14-1.4.2-2.el6.noarch

Do you recommend I install Horizon from github repository?

Thanks!
2012/12/13 Matthias Runge mru...@redhat.commailto:mru...@redhat.com
On 12/13/2012 12:24 PM, JuanFra Rodriguez Cardoso wrote:
 Hi all:

 I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
 error related to css/js compression:

Yes, I bet, it's not related with Dashboard, although the error message
tells you so.

Which version are you installing from where? Do you see other issues
with your openstack-installation? Please note, the minimum required set
of OpenStack services running includes the following:

 +   Nova (compute, api, scheduler, network, and volume services)
 +   Glance
 +   Keystone

Instead of nova volume, you could also use cinder volume.

Did you install there and are they working ok?


Matthias


 File /usr/lib/python2.6/site-packages/django/template/base.py, line
 837, in render_node
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 node.render(context)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 147, in render
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 self.render_compressed(context, self.kind, self.mode, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 88, in render_compressed
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 cached_offline = self.render_offline(context, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 72, in render_offline
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may
 need to run python manage.py compress.' % key)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 OfflineGenerationError: You have offline compression enabled but key
 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
 may need to run python manage.py compress.
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
 exist: /var/www/html/favicon.ico

 any idea for solving it?

 Thanks,
 JuanFra.


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : 
 openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : 
openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] [horizon] Select a key pair by default in launch instance?

2012-12-03 Thread Kieran Spear

Hi all,

I've had a few requests from users who forget to select a key pair when 
launching an instance through the dashboard. I do this myself quite often.


Can we select the first available key pair by default, much like what is 
done with security groups? Most of our users only have a single key pair 
anyway.


Cheers,
Kieran

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [horizon] Select a key pair by default in launch instance?

2012-12-03 Thread Gabriel Hurley
Agreed. I've been thinking that for a while. I've been thinking keypair should 
be promoted to the main tab of the Launch workflow, even.

Patches welcome. :-)

- Gabriel

 -Original Message-
 From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net
 [mailto:openstack-
 bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of
 Kieran Spear
 Sent: Monday, December 03, 2012 4:18 PM
 To: openstack@lists.launchpad.net
 Subject: [Openstack] [horizon] Select a key pair by default in launch
 instance?
 
 Hi all,
 
 I've had a few requests from users who forget to select a key pair when
 launching an instance through the dashboard. I do this myself quite often.
 
 Can we select the first available key pair by default, much like what is done
 with security groups? Most of our users only have a single key pair anyway.
 
 Cheers,
 Kieran
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] [Horizon] Error in /var/log/apache2/error.log

2012-11-12 Thread Srikanth Kumar Lingala
Hi,
I created a custom page in horizon. Most of the new page is working fine.
But, when I wanted to load some custom 'quantum' DB table data in horizon,
I am getting the following error in '*/var/log/apache2/error.log*':

*Traceback (most recent call last):
[Mon Nov 12 15:52:58 2012] [error]   File
/usr/lib/python2.7/dist-packages/horizon/dashboards/nova/services/configs/tabs.py,
line 42, in get_context_data
[Mon Nov 12 15:52:58 2012] [error] config =
api.quantum.dhcp_config_get(self.request, config_id)
[Mon Nov 12 15:52:58 2012] [error]   File
/usr/lib/python2.7/dist-packages/horizon/api/quantum.py, line 247, in
dhcp_config_get
[Mon Nov 12 15:52:58 2012] [error] **params).get('config')
[Mon Nov 12 15:52:58 2012] [error]   File
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 102,
in with_params
[Mon Nov 12 15:52:58 2012] [error] ret = self.function(instance, *args,
**kwargs)
[Mon Nov 12 15:52:58 2012] [error]   File
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 330,
in show_config
[Mon Nov 12 15:52:58 2012] [error] return self.get(self.config_path %
(config), params=_params)
[Mon Nov 12 15:52:58 2012] [error]   File
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 620,
in get
[Mon Nov 12 15:52:58 2012] [error] headers=headers, params=params)
[Mon Nov 12 15:52:58 2012] [error]   File
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 605,
in retry_request
[Mon Nov 12 15:52:58 2012] [error] headers=headers, params=params)
[Mon Nov 12 15:52:58 2012] [error]   File
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 550,
in do_request
[Mon Nov 12 15:52:58 2012] [error]
self._handle_fault_response(status_code, replybody)
[Mon Nov 12 15:52:58 2012] [error]   File
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 523,
in _handle_fault_response
[Mon Nov 12 15:52:58 2012] [error] exception_handler_v20(status_code,
des_error_body)
[Mon Nov 12 15:52:58 2012] [error]   File
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 82,
in exception_handler_v20
[Mon Nov 12 15:52:58 2012] [error] message=message)
[Mon Nov 12 15:52:58 2012] [error] QuantumClientException: 404 Not Found
[Mon Nov 12 15:52:58 2012] [error]
[Mon Nov 12 15:52:58 2012] [error] The resource could not be found.*

Can anybody, please suggest me, what is the error and the fix?

Thanks in advance.
-- 

Srikanth.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] Error in /var/log/apache2/error.log

2012-11-12 Thread Gabriel Hurley
Your Quantum API route is returning a 404. Whether this is because you have 
your route wrong or Quantum is misconfigured or [something else] I could tell 
you. I would recommend narrowing down your possibilities by trying to make the 
call directly with quantumclient or using curl to make the request directly and 
to look at your Quantum logs to see if there's something evidently amiss.

All the best,


-  Gabriel

From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of Srikanth Kumar Lingala
Sent: Monday, November 12, 2012 8:00 AM
To: openstack@lists.launchpad.net; openstack-...@lists.openstack.org
Subject: [Openstack] [Horizon] Error in /var/log/apache2/error.log

Hi,
I created a custom page in horizon. Most of the new page is working fine.
But, when I wanted to load some custom 'quantum' DB table data in horizon, I am 
getting the following error in '/var/log/apache2/error.log':

Traceback (most recent call last):
[Mon Nov 12 15:52:58 2012] [error]   File 
/usr/lib/python2.7/dist-packages/horizon/dashboards/nova/services/configs/tabs.py,
 line 42, in get_context_data
[Mon Nov 12 15:52:58 2012] [error] config = 
api.quantum.dhcp_config_get(self.request, config_id)
[Mon Nov 12 15:52:58 2012] [error]   File 
/usr/lib/python2.7/dist-packages/horizon/api/quantum.py, line 247, in 
dhcp_config_get
[Mon Nov 12 15:52:58 2012] [error] **params).get('config')
[Mon Nov 12 15:52:58 2012] [error]   File 
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 102, in 
with_params
[Mon Nov 12 15:52:58 2012] [error] ret = self.function(instance, *args, 
**kwargs)
[Mon Nov 12 15:52:58 2012] [error]   File 
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 330, in 
show_config
[Mon Nov 12 15:52:58 2012] [error] return self.get(self.config_path % 
(config), params=_params)
[Mon Nov 12 15:52:58 2012] [error]   File 
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 620, in 
get
[Mon Nov 12 15:52:58 2012] [error] headers=headers, params=params)
[Mon Nov 12 15:52:58 2012] [error]   File 
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 605, in 
retry_request
[Mon Nov 12 15:52:58 2012] [error] headers=headers, params=params)
[Mon Nov 12 15:52:58 2012] [error]   File 
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 550, in 
do_request
[Mon Nov 12 15:52:58 2012] [error] self._handle_fault_response(status_code, 
replybody)
[Mon Nov 12 15:52:58 2012] [error]   File 
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 523, in 
_handle_fault_response
[Mon Nov 12 15:52:58 2012] [error] exception_handler_v20(status_code, 
des_error_body)
[Mon Nov 12 15:52:58 2012] [error]   File 
/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py, line 82, in 
exception_handler_v20
[Mon Nov 12 15:52:58 2012] [error] message=message)
[Mon Nov 12 15:52:58 2012] [error] QuantumClientException: 404 Not Found
[Mon Nov 12 15:52:58 2012] [error]
[Mon Nov 12 15:52:58 2012] [error] The resource could not be found.

Can anybody, please suggest me, what is the error and the fix?

Thanks in advance.
--

Srikanth.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] [Horizon] tables.DeleteAction not working

2012-11-12 Thread Srikanth Kumar Lingala
Hi,
I created a custom table in Quantum DB, and getting rows from that, and
show as Table in Horizon.
For each row, I put only action 'Delete', and called subsequent class for
eg. 'DeleteRow(tables.DeleteAction)'. In this, I wrote 'delete' function,
in which I am calling quantum API to delete the row from DB.
But, however, If I click DeleteRow button in horizon,  'delete()' function
in the class is not triggering. And, as a result, row is not deleting from
DB. I am not getting any kind of error logs in nova-api.log, apache error
logs ..etc.
Can anyone suggest, what went wrong?

Thanks in advance.

-- 

Srikanth.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Horizon] Different URLs (hyperlinks) in a table view.

2012-11-08 Thread Gabriel Hurley
If you're trying to override a link in the actions column you can override 
get_link_url on any subclass of LinkAction as demonstrated here:

https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/containers/tables.py#L67

If you're trying to alter the link wrapped around the text in one of the 
columns, you can pass a callable to the link argument for that Column as here:

https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/containers/tables.py#L113

Hope that helps,


-  Gabriel

From: Srikanth Kumar Lingala [mailto:srikanthkumar.ling...@gmail.com]
Sent: Tuesday, November 06, 2012 5:49 AM
To: Gabriel Hurley
Cc: openstack@lists.launchpad.net; openstack-...@lists.openstack.org
Subject: [Horizon] Different URLs (hyperlinks) in a table view.

Hi Gabriel,
I want to go to different URL for each row in a table view.
For example, in the below table, based on some criteria, first row URL needs to 
go to 'networks/[NETWORKID]/detail' and second URL needs to go to 
'networks/[NETWORKID]/other_detail'.

Networks
Create Networkhttp://10.232.91.33/horizon/nova/networks/create Delete Networks

[ ]

Name

Subnets Associated

Shared

Status

Admin State

Actions

[ ]

dsdhttp://10.232.91.33/horizon/nova/networks/c15a3917-d7fa-4059-9e5c-38a2124995ef/detail

* 1.1.1.1/24http://1.1.1.1/24

No

ACTIVE

UP

Edit 
Networkhttp://10.232.91.33/horizon/nova/networks/c15a3917-d7fa-4059-9e5c-38a2124995ef/update

[ ]

vdvxchttp://10.232.91.33/horizon/nova/networks/f0d4201d-ddb8-4365-bd83-ef2bf0d0431c/detail

* 10.10.0.0/24http://10.10.0.0/24

No

ACTIVE

UP

Edit 
Networkhttp://10.232.91.33/horizon/nova/networks/f0d4201d-ddb8-4365-bd83-ef2bf0d0431c/update

Displaying 2 items


I saw the script 'dashboard/networks/url.py', but it is directing to only one 
page 'networks/[NETWORKID]/detail' every time.
Can I give different URL's dynamically to each network in networks table view, 
based on some criteria (Eg. based on its name).
Please help me.
Thanks in advance.

--

Srikanth.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon limitations

2012-11-02 Thread Skible OpenStack

Hello Stackers,

 i am reading this 
http://docs.openstack.org/developer/horizon/releases/2012_2.html when i 
got to the limitations part !


Does anyone have anyidea when the fixes will be submitted ? i really 
need to provide my users with an easy way to associate floating IPs :)



Cheers !
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Horizon developers guide

2012-10-30 Thread Srikanth Kumar Lingala
Hi,
To customize Openstack dashboard, any developer's guide available?

-- 

Srikanth.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] horizon: problems with upgrading to folsom

2012-10-22 Thread Wolfgang Hennerbichler
dear openstack enthusiasts,

I've done it, I've upgraded to folsom. After a ton of troubles I've gone
through and struggling to find documentation on how to UPDATE to folsom
instead of installing from scratch I'm in a state where horizon is
working again - well, almost.
Before anybody asks: yes, I've issued *nova-manage db sync*.

The instances list in horizon shows all the instances of a tenant
including private and public ip addresses. But when I click on 'Access 
Security' I don't see any floating ip's. Clicking 'allocate ip to
project' brings up: 'no floating ip pools available.

doing the same on the command-line:
nova-manage floating list | head
7edc3284f53f4e02b92d498db41b842d19x.x.x.129
49c9d4e0-8f38-49e8-863c-17a8d5cb77c6novabridge_130
36f376d27f5b47e4b234d4f23bd0d66919x.x.x.130
87b7707e-9623-46d7-bd51-bbde6bfc13dfnovabridge_130
835e8fcba1334fb6b9421e51638ec10619x.x.x.131  Nonenova
bridge_130

seems to bring up the latest and greatest results. Hm. What's wrong?
Help would be appreciated!

Wolfgang

-- 
DI (FH) Wolfgang Hennerbichler
Software Development
Unit Advanced Computing Technologies
RISC Software GmbH
A company of the Johannes Kepler University Linz

IT-Center
Softwarepark 35
4232 Hagenberg
Austria

Phone: +43 7236 3343 245
Fax: +43 7236 3343 250
wolfgang.hennerbich...@risc-software.at
http://www.risc-software.at

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon: problems with upgrading to folsom

2012-10-22 Thread Vishvananda Ishaya
Can you check the floating_ips table in your database and check the project_id 
of the floating ips and make sure they are set to  either None or the id (from 
keystone) of your project. It looks like they are allocated to a different 
project so they are not showing up for you. Also you might as well makle sure 
that you have only those three floating ips listed, that they are all deleted=0 
and they all have a value for pool.

Vish

On Oct 22, 2012, at 6:44 AM, Wolfgang Hennerbichler 
wolfgang.hennerbich...@risc-software.at wrote:

 dear openstack enthusiasts,
 
 I've done it, I've upgraded to folsom. After a ton of troubles I've gone
 through and struggling to find documentation on how to UPDATE to folsom
 instead of installing from scratch I'm in a state where horizon is
 working again - well, almost.
 Before anybody asks: yes, I've issued *nova-manage db sync*.
 
 The instances list in horizon shows all the instances of a tenant
 including private and public ip addresses. But when I click on 'Access 
 Security' I don't see any floating ip's. Clicking 'allocate ip to
 project' brings up: 'no floating ip pools available.
 
 doing the same on the command-line:
 nova-manage floating list | head
 7edc3284f53f4e02b92d498db41b842d19x.x.x.129
 49c9d4e0-8f38-49e8-863c-17a8d5cb77c6novabridge_130
 36f376d27f5b47e4b234d4f23bd0d66919x.x.x.130
 87b7707e-9623-46d7-bd51-bbde6bfc13dfnovabridge_130
 835e8fcba1334fb6b9421e51638ec10619x.x.x.131  Nonenova
 bridge_130
 
 seems to bring up the latest and greatest results. Hm. What's wrong?
 Help would be appreciated!
 
 Wolfgang
 
 -- 
 DI (FH) Wolfgang Hennerbichler
 Software Development
 Unit Advanced Computing Technologies
 RISC Software GmbH
 A company of the Johannes Kepler University Linz
 
 IT-Center
 Softwarepark 35
 4232 Hagenberg
 Austria
 
 Phone: +43 7236 3343 245
 Fax: +43 7236 3343 250
 wolfgang.hennerbich...@risc-software.at
 http://www.risc-software.at
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


  1   2   >