Re: [Openstack] [openstack-dev] Unable to start Horizon after successfully installation through devstack.

2012-09-06 Thread Tihomir Trifonov
Hitesh,

In fact the error you've pasted means that there is no /horizon subdir in
/static/, which however seems like a settings misconfiguration. Would you
paste what you have for

STATIC_ROOT

in your openstack_dashboard/settings.py file?

When I delete the horizon/static/horizon dir, I get a similar error:

'horizon/js/horizon.js' could not be found in the COMPRESS_ROOT
'/opt/stack/horizon/static' or with staticfiles.


And /opt/stack/horizon/ is supposed to be the dir for horizon installation
with DevStack. What version of devstack scripts do you use? Latest from
github?



On Thu, Sep 6, 2012 at 8:26 AM, hitesh wadekar wrote:

> Hello Folks,
>
> Recently I tried with DevStack installation. It has successfully
> installed, even success message has been appeared at cmd. However, when I
> checked it in the browser I got this issue.
> "Internal Server Error"
>
> The server encountered an internal error or misconfiguration and was
> unable to complete your request."
>
> Also, when I checked it with DevStack Horizon screen. It has been stucked
> at  -> UncompressableFileError: 'horizon/js/horizon.js' isn't accessible
> via COMPRESS_URL ('/static/') and can't be compressed.
>
> Any idea about it?
>
> Cheer,
>
> Hitesh
>
>
>
>
>
>
>
> ___
> OpenStack-dev mailing list
> openstack-...@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Regards,
Tihomir Trifonov
___
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] [openstack-dev] Unable to start Horizon after successfully installation through devstack.

2012-09-06 Thread Tihomir Trifonov
Hi Hitesh,

It seems django_compressor has a bug, and shows this kind of error when
there is actually another error. Try setting

COMPRESS_ENABLED = False

And see if there is another error with the app.



On Thu, Sep 6, 2012 at 8:26 AM, hitesh wadekar wrote:

> Hello Folks,
>
> Recently I tried with DevStack installation. It has successfully
> installed, even success message has been appeared at cmd. However, when I
> checked it in the browser I got this issue.
> "Internal Server Error"
>
> The server encountered an internal error or misconfiguration and was
> unable to complete your request."
>
> Also, when I checked it with DevStack Horizon screen. It has been stucked
> at  -> UncompressableFileError: 'horizon/js/horizon.js' isn't accessible
> via COMPRESS_URL ('/static/') and can't be compressed.
>
> Any idea about it?
>
> Cheer,
>
> Hitesh
>
>
>
>
>
>
>
> ___
> OpenStack-dev mailing list
> openstack-...@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Regards,
Tihomir Trifonov
___
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] Image upload through Horizon?

2012-05-16 Thread Tihomir Trifonov
Hi Lars,

the image upload is planned for the Folsom release, but not yet started.
You can follow the task progress here:

https://blueprints.launchpad.net/horizon/+spec/image-upload




On Wed, May 16, 2012 at 1:09 AM, Lars Erik Pedersen <
pedersen.larse...@gmail.com> wrote:

> Hi!
>
> I just wondered if there are any plans on implementing image upload
> for end users trough Horizon. If it is, where can I find some
> documentation on the plans?
>
> --
> Mvh
> Lars Erik Pedersen
> 93089174
> pedersen.larse...@gmail.com
> lars.peders...@hig.no
>
>
> __**_
> Mailing list: 
> https://launchpad.net/~**openstack<https://launchpad.net/~openstack>
> Post to : openstack@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~**openstack<https://launchpad.net/~openstack>
> More help   : 
> https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>



-- 
Regards,
Tihomir Trifonov
___
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] [nova] why does notification use a "topic" exchange instead of "fanout"?

2012-05-09 Thread Tihomir Trifonov
 (the
>>> consumer) should create a new queue on the existing topic exchange.
>>>
>>>  
>>>
>>> Is that correct – and is there any worked example of doing this ?
>>>
>>>  
>>>
>>> I thought within the nova code both the exchange and topic queues were
>>> set up by the consumer (so for example all compute_managers try to create
>>> the “compute” exchange and topic queue, but its only created by the first
>>> one and the others connect to the same queue).   In that context I’m
>>> finding it hard to see how to change this model to have multiple “
>>> notify.info” topic queues into the same exchange ?
>>>
>>>  
>>>
>>> Cheers,
>>>
>>> Phil
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>> *From:* openstack-bounces+philip.day=hp@lists.launchpad.net [mailto:
>>> openstack-bounces+philip.day=hp@lists.launchpad.net] *On Behalf Of *Doug
>>> Hellmann
>>> *Sent:* 08 May 2012 23:34
>>> *To:* Russell Bryant
>>> *Cc:* openstack@lists.launchpad.net
>>> *Subject:* Re: [Openstack] [nova] why does notification use a "topic"
>>> exchange instead of "fanout"?
>>>
>>>  
>>>
>>>  
>>>
>>> On Tue, May 8, 2012 at 6:04 PM, Russell Bryant 
>>> wrote:
>>>
>>> On 05/08/2012 05:59 PM, Doug Hellmann wrote:
>>> > Here is a relevant section pulled out of the amqp 0-9-1 spec:
>>> >
>>> >3.1.3.3 The Topic Exchange Type
>>> >
>>> >The topic exchange type works as follows:
>>> >
>>> >1. A message queue binds to the exchange using a routing
>>> >   pattern, P.
>>> >2. A publisher sends the exchange a message with the routing
>>> >   key R.
>>> >3. The message is passed to the message queue if R matches
>>> P.
>>> >
>>> >The routing key used for a topic exchange MUST consist of zero
>>> or
>>> >more words delimited by dots. Each word may contain the letters
>>> A-Z
>>> >and a-z and digits 0-9.
>>> >
>>> >The routing pattern follows the same rules as the routing key
>>> with
>>> >the addition that * matches a single word, and # matches zero or
>>> >more words. Thus the routing pattern *.stock.# matches the
>>> routing
>>> >keys usd.stock and eur.stock.db but not stock.nasdaq.
>>> >
>>> > In nova, for a given topic such as 'scheduler', all of the
>>> consumers are
>>> > binding to the same queue on the topic exchange, resulting in
>>> > round-robin delivery to each of the consumers.  If instead you
>>> make a
>>> > new queue, you can get your own copy of each message.
>>> >
>>> > There is an additional benefit of using a topic exchange here.  The
>>> > topic used for notifications is 'notifications.'.  That
>>> means
>>> > that when you create your queue, you can set it up to receive all
>>> > notifications, or only notifications of a certain priority.
>>> >
>>> >
>>> > Topic exchanges make a lot of sense for messages that should only be
>>> > consumed once, such as tasks. Notifications are different. Lots of
>>> > different clients might want to know that some event happened in the
>>> > system. The way things are in Nova today, they can't. The first client
>>> > who consumes a notification message will prevent all of the other
>>> > clients from seeing that message at all.
>>>
>>> I think you missed my main point, which was that a topic exchange does
>>> not impose a limitation that only one client can consume a given
>>> notification.  That's only true if each client is consuming from the
>>> same queue bound to the exchange.
>>>
>>>  
>>>
>>> Yes, that wasn't obvious from any of the kombu documentation I've seen
>>> so far. I'll keep looking.
>>>
>>>  
>>>
>>> Thanks,
>>>
>>> Doug
>>>
>>>  
>>>
>>>
>>> > I can change Nova's notification system to use a fanout exchange (in
>>> > impl_kombu.py changing the exchange type used by NotifyPublisher), but
>>> > before I submit a patch I want to make sure the current implementation
>>> > using a topic exchange wasn't selected deliberately for some reason.**
>>> **
>>>
>>> I think using a fanout exchange would be a downgrade.  As I mentioned
>>> before, a topic exchange allows you to create a queue to get all
>>> notifications or only notifications of a specific priority.  If the
>>> exchange type is changed to fanout, it's everybody gets everything, and
>>> that's it.
>>>
>>> --
>>> Russell Bryant
>>>
>>>  
>>>
>>>
>>> ___
>>> 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
>
>


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