Re: [Openstack] Please stop the devstack non-sense!

2012-03-21 Thread Ghe Rivero
Hi,
we are facing two differents problems here. We have developers and
final users, and both of them with different expectations about what to get
from OpenStack. Developers wants an easy way to test untested code, new
cool-probably-broken features and be able to change immediately - devstack
is the perfect tool for this . On the other hand, final users just want a
working easy to deploy system, without care if the latest
cool-probably-broken feature is included (I bet they prefer it to not be).
But the truth is that OpenStack can't ignore any of them. Nobody will use a
program which is hard to install, deploy, test or develop on it. Some
consensus will be necessary in the user side (I think we all agree that
development is ok with devstack) As Justin pointed before,
http://summit.openstack.org/sessions/view/26, can be a good starting point,
defining a common set of minimums that every package should comply with
(file/dir locations and perms, minimal contents of config files, users
created, python external modules requiriments/ minimal versions, ...), so
when someone complaint about something, we know that the installation has
some minimal standards that it follows (just a quick idea that just came to
my mind to help debugging users installations,  a simple script, that use
paste.openstack.org, and post there the config files, daemons runnings,
last lines of some logs, version of pkgs installed...)

Ghe Rivero

On Wed, Mar 21, 2012 at 5:20 AM, Joshua Harlow harlo...@yahoo-inc.comwrote:

  Another idea:

 *http://meego.gitorious.org/meego-developer-tools/spectacle
 *
 That python code seems to be able to take a yaml defintion and generate
 either rpm specfiles or debian pkg files.

 It might be forked or extended (or both) and used to generate the initial
 set of package definitions for openstack in a non-pkg specific format...


 On 3/20/12 11:01 AM, Justin Santa Barbara jus...@fathomdb.com wrote:

 Hi Thomas,

 I think devstack has done a lot for the developer's use-case, but I
 believe we should also have a official / semi-official project that does
 some sort of packaging to help the production use-case.  I've proposed a
 summit discussion: http://summit.openstack.org/sessions/view/26

 The background: I want a semi-production deployment, but as a developer I
 still want to be able to edit the code (which makes packages inconvenient).
  devstack is orientated towards e.g. wiping the databases.

 I'm hoping that all the various OS packagers can work together, or at
 least tell us what sucks.  As a community, we should solve these problems
 once, and the OpenStack project shouldn't treat them as externalities.
  I've been doing some initial coding here:
 https://github.com/justinsb/openstack-simple-config

 The first use case I'm trying to solve is single node installation of
 OpenStack that is as easy as possible, but also isn't painting the user
 into the corner.  Think apt-get openstack, then the user finds they like
 it and grows to a 4 node cluster, all the way up to a 100 node cluster.  So
 it uses KVM, FlatManager, config drive injection, Postgresql, etc. - I'm
 afraid it is still quite opinionated!  I have Keystone, Glance  Nova
 installing.  I'm using supervisord to avoid any OS dependencies/flamewars,
 but I would imagine that any OS packager could move it to their preferred
 init.d flavor easily.  Swift is next on my list - I was facing the problem
 that the number of replicas isn't changeable, though I have a patch for
 that now.

 If you'd like to work together, I'd love to collaborate (and that holds
 for anyone doing packaging).  I'm hanging out in #openstack-packaging

 Justin




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




-- 
Ghe Rivero
*OpenStack  Distribution Engineer
**www.stackops.com | * ghe.riv...@stackops.com diego.parri...@stackops.com
** | +34 625 63 45 23 | skype:ghe.rivero*
* http://www.stackops.com/
*

*

 ADVERTENCIA LEGAL 
Le informamos, como destinatario de este mensaje, que el correo electrónico
y las comunicaciones por medio de Internet no permiten asegurar ni
garantizar la confidencialidad de los mensajes transmitidos, así como
tampoco su integridad o su correcta recepción, por lo que STACKOPS
TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias.
Si no consintiese en la utilización del correo electrónico o de las
comunicaciones vía Internet le rogamos nos lo comunique y ponga en nuestro
conocimiento de manera inmediata. Este mensaje va dirigido, de manera
exclusiva, a su destinatario y contiene información confidencial y sujeta
al secreto profesional, cuya divulgación no está permitida por la ley. En
caso de haber recibido este mensaje por error, le rogamos que, de forma
inmediata, nos lo comunique mediante 

Re: [Openstack] [Xen-API] nova-xcp-network plugin searching for a xapi0 interface

2012-03-21 Thread Salvatore Orlando
The lease file for dnsmasq is constantly updated by nova-network, thus 
ensuring VMs get the IP address specified by the layer3 network driver (nova 
IPAM or Melange).

Sorry about that :)

 -Original Message-
 From: todd.deshane@gmail.com [mailto:todd.deshane@gmail.com]
 On Behalf Of Todd Deshane
 Sent: 21 March 2012 03:36
 To: Salvatore Orlando
 Cc: John Garbutt; Thomas Goirand; xen-api; PKG OpenStack; Dave Scott;
 openstack@lists.launchpad.net
 Subject: Re: [Openstack] [Xen-API] nova-xcp-network plugin searching for a
 xapi0 interface
 
 On Tue, Mar 20, 2012 at 8:51 PM, Salvatore Orlando
 salvatore.orla...@eu.citrix.com wrote:
 snip
 updated by nova-network, thus ensuring VMs get the IP address specified
 by the
 
 Looks like the end of this thought got cut off. Was there more?

___
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] Glance 2012.1 RC1 available

2012-03-21 Thread Thierry Carrez
Hello everyone,

The tarball for the first release candidate for OpenStack Image Service
(Glance) 2012.1 is now available at:

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

Unless release-critical issues are found that warrant a release
candidate respin, this RC1 will be formally released as the 2012.1
(Essex) final version. You are therefore strongly encouraged to test
and validate it.

You should test the tarballs above, but you also can directly use the
milestone-proposed branch at:

https://github.com/openstack/glance/tree/milestone-proposed

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

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

and tag it essex-rc-potential to bring it to Jay's attention.

Note that the master branch of Glance is now open for Folsom
development, feature freeze restrictions no longer apply.

-- 
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


Re: [Openstack] Glance 2012.1 RC1 available

2012-03-21 Thread Thierry Carrez
Thierry Carrez wrote:
 The tarball for the first release candidate for OpenStack Image Service
 (Glance) 2012.1 is now available at:
 
 https://launchpad.net/horizon/essex/essex-rc1

Copy-paste error, should obviously read:
https://launchpad.net/glance/essex/essex-rc1

-- 
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 RC1 on Ubuntu 12.04 B1 - can't get it working

2012-03-21 Thread Kevin Jackson
Dear all,
I could do with some help.
I raised the following bugs in Horizon, specifically to do with Ubuntu.

On a fresh install of Precise I do the following:

apt-get update
apt-get dist-upgrade
reboot
apt-get... nova, etc.
configure keystone etc
upload an image

all is good at this point

I then try and install OpenStack Dashboard:

apt-get update
apt-get install openstack-dashboard

I get the usual install of dependencies - see
http://paste.openstack.org/show/11649/
I don't do any configuration - but point my browser at this host.
I get a log in screen up, so I log in with an admin user I set up in
keystone

I then hit this bug:
https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/959262

You can see the code trying to make a directory /var/www/.novaclient.
 Given that Apache runs as www-data under Ubuntu  and that /var/www is
owned by root - this is that problem.  A secure fix is required here.
To overcome this I tried setting write permissions to www-data.  I then get
the first screen up, but on clicking on links takes me back to the log in
screen again saying I'm unauthorized for that URI.  I enter my details
again and then I get presented with the screen I asked for.
On clicking another link, I am taken back to the log in screen again.  This
is bug
https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/960070

Tested on Chrome 17.0.963.79 and Firefox 11.0

What am I doing wrong?

Cheers,
Kev
-- 
Kevin Jackson
@itarchitectkev
___
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 OpenStack Dashboard RC1 on Ubuntu 12.04 B1 - can't get it working

2012-03-21 Thread Chuck Short
On Wed, 21 Mar 2012 11:24:00 +
Kevin Jackson ke...@linuxservices.co.uk wrote:

 Dear all,
 I could do with some help.
 I raised the following bugs in Horizon, specifically to do with
 Ubuntu.
 
 On a fresh install of Precise I do the following:
 
 apt-get update
 apt-get dist-upgrade
 reboot
 apt-get... nova, etc.
 configure keystone etc
 upload an image
 
 all is good at this point
 
 I then try and install OpenStack Dashboard:
 
 apt-get update
 apt-get install openstack-dashboard
 
 I get the usual install of dependencies - see
 http://paste.openstack.org/show/11649/
 I don't do any configuration - but point my browser at this host.
 I get a log in screen up, so I log in with an admin user I set up in
 keystone
 
 I then hit this bug:
 https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/959262
 
 You can see the code trying to make a directory /var/www/.novaclient.
  Given that Apache runs as www-data under Ubuntu  and that /var/www is
 owned by root - this is that problem.  A secure fix is required here.
 To overcome this I tried setting write permissions to www-data.  I
 then get the first screen up, but on clicking on links takes me back
 to the log in screen again saying I'm unauthorized for that URI.  I
 enter my details again and then I get presented with the screen I
 asked for. On clicking another link, I am taken back to the log in
 screen again.  This is bug
 https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/960070
 
 Tested on Chrome 17.0.963.79 and Firefox 11.0
 
 What am I doing wrong?
 
 Cheers,
 Kev

Hi Kev,

Thanks for the bug report we will have a look at this today.

Regards
chuck

___
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 OpenStack Dashboard RC1 on Ubuntu 12.04 B1 - can't get it working

2012-03-21 Thread Kiall Mac Innes
This should fix the issue - https://review.openstack.org/5608

It duplicates the fix from 5-10 lines below now that the dot files have
been moved into a directory.

Thanks,
Kiall


On Wed, Mar 21, 2012 at 12:05 PM, Chuck Short chuck.sh...@canonical.comwrote:

 On Wed, 21 Mar 2012 11:24:00 +
 Kevin Jackson ke...@linuxservices.co.uk wrote:

  Dear all,
  I could do with some help.
  I raised the following bugs in Horizon, specifically to do with
  Ubuntu.
 
  On a fresh install of Precise I do the following:
 
  apt-get update
  apt-get dist-upgrade
  reboot
  apt-get... nova, etc.
  configure keystone etc
  upload an image
 
  all is good at this point
 
  I then try and install OpenStack Dashboard:
 
  apt-get update
  apt-get install openstack-dashboard
 
  I get the usual install of dependencies - see
  http://paste.openstack.org/show/11649/
  I don't do any configuration - but point my browser at this host.
  I get a log in screen up, so I log in with an admin user I set up in
  keystone
 
  I then hit this bug:
 
 https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/959262
 
  You can see the code trying to make a directory /var/www/.novaclient.
   Given that Apache runs as www-data under Ubuntu  and that /var/www is
  owned by root - this is that problem.  A secure fix is required here.
  To overcome this I tried setting write permissions to www-data.  I
  then get the first screen up, but on clicking on links takes me back
  to the log in screen again saying I'm unauthorized for that URI.  I
  enter my details again and then I get presented with the screen I
  asked for. On clicking another link, I am taken back to the log in
  screen again.  This is bug
 
 https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/960070
 
  Tested on Chrome 17.0.963.79 and Firefox 11.0
 
  What am I doing wrong?
 
  Cheers,
  Kev

 Hi Kev,

 Thanks for the bug report we will have a look at this today.

 Regards
 chuck

 ___
 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] Please stop the devstack non-sense!

2012-03-21 Thread Narayan Desai
Ghe, while you're right that these two workloads are different, deployers
need developers to use a representative environment during development, or
the code doesn't work when it hits real deployments. We've now been bitten
during our initial deployment of cactus, our upgrade to diablo, and our
recent tests preparing for the essex upgrade because we can't run our
management infrastructure on a single system.

During cactus, we had issues when we tried to run multiple nova-network
servers distinctly from the api service. IIRC during the diablo release, we
had issues with keystone and horizon. This time, we had issues with
glance/keystone integration. I'm not saying that things haven't improved,
it just seems that each release has a new issue caused by the assumption
that all services will be running on the same host.

As we get more users with large deployments, these sorts of issues will
only become a bigger deal, and will hinder large scale adoption.
 -nld

On Wed, Mar 21, 2012 at 3:26 AM, Ghe Rivero ghe.riv...@stackops.com wrote:

 Hi,
 we are facing two differents problems here. We have developers and
 final users, and both of them with different expectations about what to get
 from OpenStack. Developers wants an easy way to test untested code, new
 cool-probably-broken features and be able to change immediately - devstack
 is the perfect tool for this . On the other hand, final users just want a
 working easy to deploy system, without care if the latest
 cool-probably-broken feature is included (I bet they prefer it to not be).
 But the truth is that OpenStack can't ignore any of them. Nobody will use a
 program which is hard to install, deploy, test or develop on it. Some
 consensus will be necessary in the user side (I think we all agree that
 development is ok with devstack) As Justin pointed before,
 http://summit.openstack.org/sessions/view/26, can be a good starting
 point, defining a common set of minimums that every package should comply
 with (file/dir locations and perms, minimal contents of config files, users
 created, python external modules requiriments/ minimal versions, ...), so
 when someone complaint about something, we know that the installation has
 some minimal standards that it follows (just a quick idea that just came to
 my mind to help debugging users installations,  a simple script, that use
 paste.openstack.org, and post there the config files, daemons runnings,
 last lines of some logs, version of pkgs installed...)

 Ghe Rivero

 On Wed, Mar 21, 2012 at 5:20 AM, Joshua Harlow harlo...@yahoo-inc.comwrote:

  Another idea:

 *http://meego.gitorious.org/meego-developer-tools/spectacle
 *
 That python code seems to be able to take a yaml defintion and generate
 either rpm specfiles or debian pkg files.

 It might be forked or extended (or both) and used to generate the initial
 set of package definitions for openstack in a non-pkg specific format...


 On 3/20/12 11:01 AM, Justin Santa Barbara jus...@fathomdb.com wrote:

 Hi Thomas,

 I think devstack has done a lot for the developer's use-case, but I
 believe we should also have a official / semi-official project that does
 some sort of packaging to help the production use-case.  I've proposed a
 summit discussion: http://summit.openstack.org/sessions/view/26

 The background: I want a semi-production deployment, but as a developer I
 still want to be able to edit the code (which makes packages inconvenient).
  devstack is orientated towards e.g. wiping the databases.

 I'm hoping that all the various OS packagers can work together, or at
 least tell us what sucks.  As a community, we should solve these problems
 once, and the OpenStack project shouldn't treat them as externalities.
  I've been doing some initial coding here:
 https://github.com/justinsb/openstack-simple-config

 The first use case I'm trying to solve is single node installation of
 OpenStack that is as easy as possible, but also isn't painting the user
 into the corner.  Think apt-get openstack, then the user finds they like
 it and grows to a 4 node cluster, all the way up to a 100 node cluster.  So
 it uses KVM, FlatManager, config drive injection, Postgresql, etc. - I'm
 afraid it is still quite opinionated!  I have Keystone, Glance  Nova
 installing.  I'm using supervisord to avoid any OS dependencies/flamewars,
 but I would imagine that any OS packager could move it to their preferred
 init.d flavor easily.  Swift is next on my list - I was facing the problem
 that the number of replicas isn't changeable, though I have a patch for
 that now.

 If you'd like to work together, I'd love to collaborate (and that holds
 for anyone doing packaging).  I'm hanging out in #openstack-packaging

 Justin




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




 --
 Ghe 

Re: [Openstack] Horizon OpenStack Dashboard RC1 on Ubuntu 12.04 B1 - can't get it working

2012-03-21 Thread Kiall Mac Innes
It needs to create the directory in the first place to enable caching.. But
- If for whatever reason caching fails that should be no reason to blow up
and present an error.

Its probably worth highlighting this code is in python-novaclient, not
horizon. The vast majority of uses cases will be able to cache just fine.

Anyway - The point is - cache if we can, but if we cant, lets not interrupt
the user.

Thanks,
Kiall


On Wed, Mar 21, 2012 at 12:42 PM, Kevin Jackson
ke...@linuxservices.co.ukwrote:

 If the code should just ignore the fact it can't create this directory -
 what is the point of it needing to attempt to create the directory in the
 first place?  What is its purpose if its superfluous?

 try:
 os.makedirs(cache_dir, 0755)
 except OSError as e:
  # NOTE(kiall): This is typicaly either permission denied while
  #  attempting to create the directory, or the directory
  #  already exists. Either way, don't fail.
  pass

 Cheers,
 Kev

 On 21 March 2012 12:29, Kiall Mac Innes ki...@managedit.ie wrote:

 This should fix the issue - https://review.openstack.org/5608

 It duplicates the fix from 5-10 lines below now that the dot files have
 been moved into a directory.

 Thanks,
 Kiall

 --
 Kevin Jackson
 @itarchitectkev

 ___
 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 OpenStack Dashboard RC1 on Ubuntu 12.04 B1 -can't get it working

2012-03-21 Thread George Mihaiescu
Hi Kevin,

 

Change these lines in /etc/openstack-dashboard/local_settings.py and it 
should fix the issue of being kicked off from Dashboard after logging in:

 

 

#CACHE_BACKEND = 'locmem://'

CACHE_BACKEND = 'dummy://'

SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'

 

George

 



From: openstack-bounces+george.mihaiescu=q9@lists.launchpad.net 
[mailto:openstack-bounces+george.mihaiescu=q9@lists.launchpad.net] On 
Behalf Of Kevin Jackson
Sent: Wednesday, March 21, 2012 7:24 AM
To: openstack@lists.launchpad.net
Subject: [Openstack] Horizon OpenStack Dashboard RC1 on Ubuntu 12.04 B1 -can't 
get it working

 

Dear all,

I could do with some help.

I raised the following bugs in Horizon, specifically to do with Ubuntu.

 

On a fresh install of Precise I do the following:

 

apt-get update

apt-get dist-upgrade

reboot

apt-get... nova, etc.

configure keystone etc

upload an image

 

all is good at this point

 

I then try and install OpenStack Dashboard:

 

apt-get update

apt-get install openstack-dashboard

 

I get the usual install of dependencies - see 
http://paste.openstack.org/show/11649/

I don't do any configuration - but point my browser at this host.

I get a log in screen up, so I log in with an admin user I set up in keystone

 

I then hit this bug: 
https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/959262

 

You can see the code trying to make a directory /var/www/.novaclient.  Given 
that Apache runs as www-data under Ubuntu  and that /var/www is owned by root - 
this is that problem.  A secure fix is required here.

To overcome this I tried setting write permissions to www-data.  I then get the 
first screen up, but on clicking on links takes me back to the log in screen 
again saying I'm unauthorized for that URI.  I enter my details again and then 
I get presented with the screen I asked for.

On clicking another link, I am taken back to the log in screen again.  This is 
bug https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/960070

 

Tested on Chrome 17.0.963.79 and Firefox 11.0

 

What am I doing wrong?

 

Cheers,

Kev

-- 
Kevin Jackson
@itarchitectkev

___
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 OpenStack Dashboard RC1 on Ubuntu 12.04 B1 -can't get it working

2012-03-21 Thread Kevin Jackson
Ah, George - thanks!
I'll erm.. invalidate that bug I raised too on that and put it down to not
reading the # comment regarding this issue in that file (I'm starting to
suck at this ;-))

Kev

On 21 March 2012 14:08, George Mihaiescu george.mihaie...@q9.com wrote:

  Hi Kevin,

 ** **

 Change these lines in “/etc/openstack-dashboard/local_settings.py” and it
 should fix the issue of being kicked off from Dashboard after logging in:*
 ***

 ** **

 ** **

 #CACHE_BACKEND = 'locmem://'

 CACHE_BACKEND = 'dummy://'

 SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'

 ** **

 George

 ** **
  --

 *From:* openstack-bounces+george.mihaiescu=q9@lists.launchpad.net[mailto:
 openstack-bounces+george.mihaiescu=q9@lists.launchpad.net] *On Behalf
 Of *Kevin Jackson
 *Sent:* Wednesday, March 21, 2012 7:24 AM
 *To:* openstack@lists.launchpad.net
 *Subject:* [Openstack] Horizon OpenStack Dashboard RC1 on Ubuntu 12.04 B1
 -can't get it working

 ** **

 Dear all,

 I could do with some help.

 I raised the following bugs in Horizon, specifically to do with Ubuntu.***
 *

 ** **

 On a fresh install of Precise I do the following:

 ** **

 apt-get update

 apt-get dist-upgrade

 reboot

 apt-get... nova, etc.

 configure keystone etc

 upload an image

 ** **

 all is good at this point

 ** **

 I then try and install OpenStack Dashboard:

 ** **

 apt-get update

 apt-get install openstack-dashboard

 ** **

 I get the usual install of dependencies - see
 http://paste.openstack.org/show/11649/

 I don't do any configuration - but point my browser at this host.

 I get a log in screen up, so I log in with an admin user I set up in
 keystone

 ** **

 I then hit this bug:
 https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/959262*
 ***

 ** **

 You can see the code trying to make a directory /var/www/.novaclient.
  Given that Apache runs as www-data under Ubuntu  and that /var/www is
 owned by root - this is that problem.  A secure fix is required here.

 To overcome this I tried setting write permissions to www-data.  I then
 get the first screen up, but on clicking on links takes me back to the log
 in screen again saying I'm unauthorized for that URI.  I enter my details
 again and then I get presented with the screen I asked for.

 On clicking another link, I am taken back to the log in screen again.
  This is bug
 https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/960070*
 ***

 ** **

 Tested on Chrome 17.0.963.79 and Firefox 11.0

 ** **

 What am I doing wrong?

 ** **

 Cheers,

 Kev

 --
 Kevin Jackson
 @itarchitectkev




-- 
Kevin Jackson
@itarchitectkev
___
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 OpenStack Dashboard RC1 on Ubuntu 12.04 B1 -can't get it working

2012-03-21 Thread Kevin Jackson
I've actually not invalidated
https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/960070as
I originally and intentionally raised this in the ubuntu package.
This still makes me think its still a bug with the package as provided by
Ubuntu.

1) either install memcached as a dependency - as the configs assume this
2) change the configs appropriately so sensible defaults are used

Cheers,

Kev

On 21 March 2012 14:13, Kevin Jackson ke...@linuxservices.co.uk wrote:

 Ah, George - thanks!
 I'll erm.. invalidate that bug I raised too on that and put it down to not
 reading the # comment regarding this issue in that file (I'm starting to
 suck at this ;-))

 Kev

 On 21 March 2012 14:08, George Mihaiescu george.mihaie...@q9.com wrote:

  Hi Kevin,

 ** **

 Change these lines in “/etc/openstack-dashboard/local_settings.py” and it
 should fix the issue of being kicked off from Dashboard after logging in:
 

 ** **

 ** **

 #CACHE_BACKEND = 'locmem://'

 CACHE_BACKEND = 'dummy://'

 SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'

 ** **

 George

 **


-- 
Kevin Jackson
@itarchitectkev
___
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] Have anyone integrated spice with openstack ?

2012-03-21 Thread Lorin Hochstein
Suyi:

There is some initial implementation work in this area:  
https://review.openstack.org/5319

And there's a proposed session on SPICE in the upcoming design summit: 
http://summit.openstack.org/sessions/view/4

Take care,

Lorin
--
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com





On Mar 20, 2012, at 9:48 PM, suyi wang wrote:

 Hi all:
 I want to use spice instead of vnc ,  but failed. Have anyone integrated 
 spice with openstack ?  Could you share your knowledge with me ? Thanks a lot!
 
 -- 
 Yours.
 suyi
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



smime.p7s
Description: S/MIME cryptographic signature
___
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] euca-allocate-address issue

2012-03-21 Thread Vijay
Hello,
I installed keystone (2011-3 version) and integrated with nova and glance 
openstack. (diablo).
I am able to upload images and able to launch VMs. I am also able to ping and 
ssh to private ip address of the launched VM.
However, I am trying to allocate a public/floating ip address.
euca-allocate-address
I am gettign Quota exceeded error.
However, floating ips are not allocated yet.
I have all the floating ips still available.
sudo nova-manage floating create --ip_range=16.78.118.224/27
 
Without keystone, this used to work.
 
Any lead is appreciated.
Thanks,
-VJ
 ___
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] nova-billing with Horizon

2012-03-21 Thread Mike Perez
horizon/openstack_dashboard/settings.py 

-- 
Mike Perez
DreamHost.com


On Wednesday, March 21, 2012 at 7:07 AM, Lucian Thomaz wrote:

 I'm trying use nova-billing with Horizon following the github page 
 https://github.com/griddynamics/horizon-billing , but I can't find 
 INSTALLED_APPS and HORIZON_CONFIG in local_settings.py . Anyone can help with 
 that?
 
 Lucian Thomaz
 ___
 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] Please stop the devstack non-sense!

2012-03-21 Thread Thomas Goirand
On 03/21/2012 08:48 PM, Narayan Desai wrote:
 Ghe, while you're right that these two workloads are different,
 deployers need developers to use a representative environment during
 development, or the code doesn't work when it hits real deployments.
 We've now been bitten during our initial deployment of cactus, our
 upgrade to diablo, and our recent tests preparing for the essex upgrade
 because we can't run our management infrastructure on a single system. 
 
 During cactus, we had issues when we tried to run multiple nova-network
 servers distinctly from the api service. IIRC during the diablo release,
 we had issues with keystone and horizon. This time, we had issues with
 glance/keystone integration. I'm not saying that things haven't
 improved, it just seems that each release has a new issue caused by the
 assumption that all services will be running on the same host. 
 
 As we get more users with large deployments, these sorts of issues will
 only become a bigger deal, and will hinder large scale adoption. 
  -nld

With my Debian Developer hat on, I'd like to send a reminder ...

When Wheezy will be released, we'll have Essex in (if everything goes as
planned). Then when Wheezy +1 gets out, will will also need to allow an
upgrade path for Openstack (otherwise, it's considered an RC bug in
Debian). And I believe that Ubuntu will have the issue as well (since
2012.4 will be an LTS, right?).

I just hope that Openstacker will keep in mind how much of a commitment
it is to allow upgrade from release to release + 4 (or +5) in a project
like Openstack which goes so fast. :)

Cheers,

Thomas

___
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] Please stop the devstack non-sense!

2012-03-21 Thread Ghe Rivero
Narayan, I completely agree with you. Developers are our first line of
defense, but they are not the only one. I would love to have different
environments (development, SMB deployments, large scale deployments), where
all of them have the same behavior, but i'm afraid there is already a long
road that needs time. We will work on it and try to avoid problem like the
one's you are facing from transitions from one release to another.
Ghe Rivero

On Wed, Mar 21, 2012 at 1:48 PM, Narayan Desai narayan.de...@gmail.comwrote:

 Ghe, while you're right that these two workloads are different, deployers
 need developers to use a representative environment during development, or
 the code doesn't work when it hits real deployments. We've now been bitten
 during our initial deployment of cactus, our upgrade to diablo, and our
 recent tests preparing for the essex upgrade because we can't run our
 management infrastructure on a single system.

 During cactus, we had issues when we tried to run multiple nova-network
 servers distinctly from the api service. IIRC during the diablo release, we
 had issues with keystone and horizon. This time, we had issues with
 glance/keystone integration. I'm not saying that things haven't improved,
 it just seems that each release has a new issue caused by the assumption
 that all services will be running on the same host.

 As we get more users with large deployments, these sorts of issues will
 only become a bigger deal, and will hinder large scale adoption.
  -nld


 On Wed, Mar 21, 2012 at 3:26 AM, Ghe Rivero ghe.riv...@stackops.comwrote:

 Hi,
 we are facing two differents problems here. We have developers and
 final users, and both of them with different expectations about what to get
 from OpenStack. Developers wants an easy way to test untested code, new
 cool-probably-broken features and be able to change immediately - devstack
 is the perfect tool for this . On the other hand, final users just want a
 working easy to deploy system, without care if the latest
 cool-probably-broken feature is included (I bet they prefer it to not be).
 But the truth is that OpenStack can't ignore any of them. Nobody will use a
 program which is hard to install, deploy, test or develop on it. Some
 consensus will be necessary in the user side (I think we all agree that
 development is ok with devstack) As Justin pointed before,
 http://summit.openstack.org/sessions/view/26, can be a good starting
 point, defining a common set of minimums that every package should comply
 with (file/dir locations and perms, minimal contents of config files, users
 created, python external modules requiriments/ minimal versions, ...), so
 when someone complaint about something, we know that the installation has
 some minimal standards that it follows (just a quick idea that just came to
 my mind to help debugging users installations,  a simple script, that use
 paste.openstack.org, and post there the config files, daemons runnings,
 last lines of some logs, version of pkgs installed...)

 Ghe Rivero

 On Wed, Mar 21, 2012 at 5:20 AM, Joshua Harlow harlo...@yahoo-inc.comwrote:

  Another idea:

 *http://meego.gitorious.org/meego-developer-tools/spectacle
 *
 That python code seems to be able to take a yaml defintion and generate
 either rpm specfiles or debian pkg files.

 It might be forked or extended (or both) and used to generate the
 initial set of package definitions for openstack in a non-pkg specific
 format...


 On 3/20/12 11:01 AM, Justin Santa Barbara jus...@fathomdb.com wrote:

 Hi Thomas,

 I think devstack has done a lot for the developer's use-case, but I
 believe we should also have a official / semi-official project that does
 some sort of packaging to help the production use-case.  I've proposed a
 summit discussion: http://summit.openstack.org/sessions/view/26

 The background: I want a semi-production deployment, but as a developer
 I still want to be able to edit the code (which makes packages
 inconvenient).  devstack is orientated towards e.g. wiping the databases.

 I'm hoping that all the various OS packagers can work together, or at
 least tell us what sucks.  As a community, we should solve these problems
 once, and the OpenStack project shouldn't treat them as externalities.
  I've been doing some initial coding here:
 https://github.com/justinsb/openstack-simple-config

 The first use case I'm trying to solve is single node installation of
 OpenStack that is as easy as possible, but also isn't painting the user
 into the corner.  Think apt-get openstack, then the user finds they like
 it and grows to a 4 node cluster, all the way up to a 100 node cluster.  So
 it uses KVM, FlatManager, config drive injection, Postgresql, etc. - I'm
 afraid it is still quite opinionated!  I have Keystone, Glance  Nova
 installing.  I'm using supervisord to avoid any OS dependencies/flamewars,
 but I would imagine that any OS packager could move it to their preferred
 init.d flavor easily.  Swift is 

Re: [Openstack] Howto Nova setup with HA?

2012-03-21 Thread Florian Haas
Hi everyone,

apologies for the cross-post; I believe this might be interesting to
people on both the openstack and the pacemaker lists. Please see
below.

On Tue, Feb 14, 2012 at 9:07 AM, i3D.net - Tristan van Bokkem
tristanvanbok...@i3d.nl wrote:
 Hi Stackers,

 It seems running Openstack components in High Availability hasn't been
 really a focus point lately, am I right?

 The general docs don't really mention HA except for nova-network. So I did
 some resource on how to run Nova in a High Availability and have some
 questions about it:

 The docs guides you on how to setup one cloud controller (running MySQL,
 nova-api, RabbitMQ etc.) and 2+n nodes for nova compute/network. But it does
 not mention how to make the cloud controller redundant. If the cloud
 controller brakes we have a serious problem!

 So, we can run MySQL in master-master mode on multiple hosts, we can run
 nova-api on serveral hosts and load balance those and RabbitMQ has a cluster
 ha setup as well but is this the way to go? I can't find a clear answer to
 this. I am hoping one can shine some light on this!

 Best regards,

 Tristan van Bokkem
 Datacenter Operations

I've taken the liberty to put together a bit of a summary of the
discussion we've had here,[1] roll it into a design summit brainstorm
proposal, and also post it on my blog, here:

http://www.hastexo.com/blogs/florian/2012/03/21/high-availability-openstack

I hope it's not a violation of list etiquette to say that instead of
cross-posting all replies to both lists, everyone's welcome to make
comments on that blog post, too (use your Launchpad OpenID). Please
feel free to flame me to a crisp or call me an idiot; as some of you
are aware I'm quite firmly an HA guy getting into OpenStack, rather
than the other way around.

Even if the design summit proposal doesn't make it through, perhaps a
few interested people (Monty? Jay? Adam? Major?) would like to sit
down over beverages to discuss this in person.

All comments and feedback much appreciated. Thanks!

Cheers,
Florian

[1] Pacemaker subscribers, for context the full thread is at
http://www.mail-archive.com/openstack@lists.launchpad.net/msg07495.html

___
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] [Xen-API] nova-xcp-network plugin searching for a xapi0 interface

2012-03-21 Thread John Garbutt
I have tried to throw together some pictures that help describe the guest 
networking modes with XenServer:
 http://wiki.openstack.org/XenServer/NetworkingFlags

The idea is to complement the existing diagrams currently in the manuals.

It would be great if someone can review these diagrams for me.
I can then maybe look at polishing them, and getting them into the manuals.

Thanks,
John

 -Original Message-
 From: Salvatore Orlando
 Sent: 21 March 2012 00:51
 To: John Garbutt; 'Thomas Goirand'
 Cc: PKG OpenStack; Dave Scott; openstack@lists.launchpad.net; xen-api
 Subject: RE: [Xen-API] nova-xcp-network plugin searching for a xapi0
 interface
 
 Hi Thomas,
 
 I can probably help you somehow with Openstack networking on XenServer,
 as I did some work on it in the past.
 I see you are trying to use the VLAN manager, but the behaviour is not the
 expected one.
 However, since you can spin up instances, and they appear to be attached to
 the appropriate bridge, I'd dare to say you're very close!
 
 In a nutshell, when using the VLAN manager on XenServer:
 1) A PIF identified either by (A) the vlan_interface flag or (B) the
 bridge_interface column  in the networks db table will be used for creating a
 XenServer VLAN network.
  The VLAN tag is found in the vlan column, still in the networks table, 
 and
 by default the first tag is 100, if my memory does not fail me.
 2) VIF for VM instances within this network will be plugged in this VLAN
 network. As you said, you won't see the bridge until a VIF is plugged in it. 
 This
 behaviour is the same in XS, XCP, and Kronos.
 3) The 'Openstack domU', i.e. the VM running the nova network node,
 instead will not be plugged into this network; since it acts as a gateway for
 multiple VLAN networks, it has to be attached on a VLAN trunk. For this
 reason it must have an interface on the parent bridge of the VLAN bridge
 where VM instances are plugged. I realized this is quite obscure, so to cut a
 long story short, if vlan_interface is eth0 it must be plugged in xenbr0, 
 eth1 --
 xenbr1, and so on (on Kronos you might also end up with brwlan0).
 4) Within the Openstack domU, 'ip link' is then used to configure VLAN
 interfaces on the 'trunk' port. Each of this vlan interfaces is associated 
 with a
 dnsmasq instance, which will distribute IP addresses to instances. The lease
 file for dnsmasq is constantly updated by nova-network, thus ensuring VMs
 get the IP address specified by the
 
 With this configuration, VM instances should be able to get the IP address
 assigned to them from the appropriate dnsmasq instance, and should be
 able to communicate without any problem with other VMs on the same
 network and with the their gateway.
 The above point (3) probably needs some more explanations. With Open
 vSwitch, we don't really have distinct bridges for different VLANs; even if
 they appear as distinct bridges to linux and xen server, they are actually the
 same OVS instance, which runs a distinct 'fake-bridge' for each VLAN. The
 'real' bridge is the 'parent' of the fake one. You can easily navigate fake 
 and
 real bridges with ovs-vsctl.
 As you can see I am referring to Openvswitch only. This is for a specific
 reason: the fake-parent mechanism automatically imply that ports which are
 not on a fake bridge are trunk ports. This does not happen with linux bridge.
 A packet forwarded on a VLAN interfaces does not get back in the xenbrX
 bridge for ethX.
 
 So, coming back to your problem I would check that:
 1) The XenServer network whose bridge is xapi0 is configured correctly
 (check PIF, VLAN tag)
 2) The Openstack domU is connected to the appropriate bridge according to
 the value of vlan_interface (which seems wrong in your conf file)
 3) Open vSwitch is enabled
 4) Check the networks table in your database
 
 I hope I have been exhaustive enough to not become pedant... At this point
 you might wonder why this has not been documented anywhere.
 Well, my answer is that it was documented, I am very sure it was. However I
 cannot find the wiki page anymore. I have the sources on my laptop, and I
 will make sure that VLAN networking and possibly all the other network
 managers on xenapi backend are documented; including Quantum.
 
 Regards,
 Salvatore
 
 
  -Original Message-
  From: openstack-
  bounces+salvatore.orlando=eu.citrix@lists.launchpad.net
  [mailto:openstack-
  bounces+salvatore.orlando=eu.citrix@lists.launchpad.net] On Behalf
  bounces+Of
  John Garbutt
  Sent: 19 March 2012 18:01
  To: 'Thomas Goirand'
  Cc: PKG OpenStack; Dave Scott; openstack@lists.launchpad.net; xen-api
  Subject: Re: [Openstack] [Xen-API] nova-xcp-network plugin searching
  for a
  xapi0 interface
 
  Hi,
 
  Looks like the network configuration is not quite right.
 
  Have a look at this, for an example of how things could look
  networking wise (when using DevStack and XenServer with two nics):
  http://wiki.openstack.org/XenServer/XenXCPAndXenServer
 

Re: [Openstack] Devstack +XCP/XenServer Kernel Panic

2012-03-21 Thread Ewan Mellor
I've never seen that kernel panic before.  If you're building on an NFS share 
though, that often screws up the permissions.  You could have root-squashing 
turned on, and then every file that's supposed to be owned by root is owned by 
an unprivileged user instead.  It wouldn't surprise me that this freaks out the 
init process.

I'd try building somewhere else and see if that helps.  Or see whether you've 
got root-squashing or some other permission-modifying option turned on.

Cheers,

Ewan.

From: openstack-bounces+ewan.mellor=citrix@lists.launchpad.net 
[mailto:openstack-bounces+ewan.mellor=citrix@lists.launchpad.net] On Behalf 
Of Kieran Evans
Sent: Saturday, March 17, 2012 9:38 AM
To: openstack@lists.launchpad.net
Subject: [Openstack] Devstack +XCP/XenServer Kernel Panic

Hi all,

I'm not sure if this is the right place for this (and if not, can anyone point 
out where).

I've used the devstack scripts to try to set up Openstack on both XenServer 6.0 
and XCP 1.5 using the following guides:

http://wiki.xen.org/wiki/XCP_DevStack
https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md

Wether on XenServer or XCP, I always seem to hit the same issue. When the 
ALLINONE VM is fired up, it shuts down after a few seconds with a kernel panic 
( as seen here: http://imgur.com/i85fC). The same issue occurs with the 
domU_multi scripts too.

A note, in case it may affect the build scripts somehow, For external storage, 
rather than using a different machine, or external USB, I've mounted /root to 
an NFS share before running prepare_dom0.sh.

We've currently got a Diablo Openstack installation up and running using 
StackOps, but I'm currently trying out essex on some spare machines (both to 
get to know it, and an attempt to see if running with Xen is of any advantage 
to us).

Thanks

/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] Devstack +XCP/XenServer Kernel Panic

2012-03-21 Thread Salvatore Orlando
I recently had a (probably) similar issue, with xcp-squeezed consuming all the 
memory and then causing a reboot.
I was using a pae kernel (3.0.0-16.generic.pae), and the workaround, as 
suggested by the Kronos team, was to increase dom0 memory with a boot parameter 
to the hypervisor. I used dom0_mem=3G.

Regards,
Salvatore

From: openstack-bounces+salvatore.orlando=eu.citrix@lists.launchpad.net 
[mailto:openstack-bounces+salvatore.orlando=eu.citrix@lists.launchpad.net] 
On Behalf Of Ewan Mellor
Sent: 21 March 2012 20:11
To: Kieran Evans; openstack@lists.launchpad.net
Subject: Re: [Openstack] Devstack +XCP/XenServer Kernel Panic

I've never seen that kernel panic before.  If you're building on an NFS share 
though, that often screws up the permissions.  You could have root-squashing 
turned on, and then every file that's supposed to be owned by root is owned by 
an unprivileged user instead.  It wouldn't surprise me that this freaks out the 
init process.

I'd try building somewhere else and see if that helps.  Or see whether you've 
got root-squashing or some other permission-modifying option turned on.

Cheers,

Ewan.

From: openstack-bounces+ewan.mellor=citrix@lists.launchpad.net 
[mailto:openstack-bounces+ewan.mellor=citrix@lists.launchpad.net] On Behalf 
Of Kieran Evans
Sent: Saturday, March 17, 2012 9:38 AM
To: openstack@lists.launchpad.net
Subject: [Openstack] Devstack +XCP/XenServer Kernel Panic

Hi all,

I'm not sure if this is the right place for this (and if not, can anyone point 
out where).

I've used the devstack scripts to try to set up Openstack on both XenServer 6.0 
and XCP 1.5 using the following guides:

http://wiki.xen.org/wiki/XCP_DevStack
https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md

Wether on XenServer or XCP, I always seem to hit the same issue. When the 
ALLINONE VM is fired up, it shuts down after a few seconds with a kernel panic 
( as seen here: http://imgur.com/i85fC). The same issue occurs with the 
domU_multi scripts too.

A note, in case it may affect the build scripts somehow, For external storage, 
rather than using a different machine, or external USB, I've mounted /root to 
an NFS share before running prepare_dom0.sh.

We've currently got a Diablo Openstack installation up and running using 
StackOps, but I'm currently trying out essex on some spare machines (both to 
get to know it, and an attempt to see if running with Xen is of any advantage 
to us).

Thanks

/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] Enabling remote participation at Folsom Design Summit

2012-03-21 Thread Stefano Maffulli
I'm still loooking for *hardware* to make this happen. 

Lets try to make this more sexy and see where to cook hackers are: what
if we buy a few beaglebone boards ($89 each) and spend a weekend hacking
a streaming server on them? 

The boards are cheap enough and should have enough power to acquire
audio, convert it to mp4/h264 using their hardware and send the stream
over to a public icecast server. As with many other things, the software
is already out there, it needs hammering, put it together, testing and
praying it works at the summit.

Any volunteer?

Or any other option? Cheap desktops would work too: I wouldn't refuse
Dell or HP to ship 6 of their smallest machines either :)

let me know, please.
Cheers,
stef


On Tue, 2012-03-06 at 13:47 -0800, Stefano Maffulli wrote:
 Hello folks,
 
 since the next design summit is sold out and many people are still
 interested in participating, I believe we should really make remote
 participation possible.
 
 Imitating Ubuntu Developer Summit, I think the ideal situation is to
 have in each room:
 
  - 1 omnidirectional microphone to capture discussions and questions
  - 1 streaming client hooked to a public icecast streaming server 
  - 1 IRC channel per room
  - 1 projector showing the content of the IRC channel
  - 1 projector available for collaborative note taking via etherpad
 
 And for plenary session:
 
  - full audio/video service
  - IRC channel, not shown but monitored in case there are interesting
 questions
 
 We'll also need dedicated bandwidth from the Hyatt hotel, networking,
 firewalling and the whole shabang. Anything else?
 
 I will start investigating what Rackspace can provide but this is a big
 task and I would like to make this a shared effort. 
 
 If you have experience with this, and want to help me get the equipment,
 software, services needed to enable remote participation to the Design
 Summit please email me.
 
 Thanks,
 stef
 
 
 [1] http://uds.ubuntu.com/community/remote-participation/
 
 
 ___
 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] Enabling remote participation at Folsom Design Summit

2012-03-21 Thread Debo Dutta (dedutta)
SW side: Another option would be to run webex meetings or even google
hangout!  

debo

-Original Message-
From: openstack-bounces+dedutta=cisco@lists.launchpad.net
[mailto:openstack-bounces+dedutta=cisco@lists.launchpad.net] On
Behalf Of Stefano Maffulli
Sent: Wednesday, March 21, 2012 3:35 PM
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] Enabling remote participation at Folsom Design
Summit

I'm still loooking for *hardware* to make this happen. 

Lets try to make this more sexy and see where to cook hackers are: what
if we buy a few beaglebone boards ($89 each) and spend a weekend hacking
a streaming server on them? 

The boards are cheap enough and should have enough power to acquire
audio, convert it to mp4/h264 using their hardware and send the stream
over to a public icecast server. As with many other things, the software
is already out there, it needs hammering, put it together, testing and
praying it works at the summit.

Any volunteer?

Or any other option? Cheap desktops would work too: I wouldn't refuse
Dell or HP to ship 6 of their smallest machines either :)

let me know, please.
Cheers,
stef


On Tue, 2012-03-06 at 13:47 -0800, Stefano Maffulli wrote:
 Hello folks,
 
 since the next design summit is sold out and many people are still
 interested in participating, I believe we should really make remote
 participation possible.
 
 Imitating Ubuntu Developer Summit, I think the ideal situation is to
 have in each room:
 
  - 1 omnidirectional microphone to capture discussions and questions
  - 1 streaming client hooked to a public icecast streaming server 
  - 1 IRC channel per room
  - 1 projector showing the content of the IRC channel
  - 1 projector available for collaborative note taking via etherpad
 
 And for plenary session:
 
  - full audio/video service
  - IRC channel, not shown but monitored in case there are interesting
 questions
 
 We'll also need dedicated bandwidth from the Hyatt hotel, networking,
 firewalling and the whole shabang. Anything else?
 
 I will start investigating what Rackspace can provide but this is a
big
 task and I would like to make this a shared effort. 
 
 If you have experience with this, and want to help me get the
equipment,
 software, services needed to enable remote participation to the Design
 Summit please email me.
 
 Thanks,
 stef
 
 
 [1] http://uds.ubuntu.com/community/remote-participation/
 
 
 ___
 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


[Openstack] openstack nova with thousands of hosts

2012-03-21 Thread Belmiro Moreira
Hi everyone,
I want to understand the different possibilities to deploy Openstack Nova in a 
site with thousands of hosts. After reading the documentation and following the 
list for some time now I’m confused how to use the concepts: “region”, 
“availability zone”, “cell”, “host aggregate”… to have a good logical division.
 
In the list was discussed that a “cell” (1 rabbit, 1 db, …) supports between 
500-1000 hosts, so I understand that for a big site we need several “cells”.  
Cells can be nested in a tree fashion where each “child” can have several 
“parents”. Can I say that an availability zone is one of these trees of cells?
 
Because a big site has heterogeneous hardware I can use the concept “aggregate 
host” for logically group similar resources. Aggregate hosts live inside cells.
Are these assumptions correct?
 
And how to deploy openstack nova between different sites (or regions…)? I saw 
some discussions for swift but none for nova.
 
thanks,
Belmiro Moreira
___
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 keystone no route matched error

2012-03-21 Thread Dolph Mathews
Wasn't this fixed in keystoneclient (properly handling an unexpected
trailing slash)?

-Dolph

On Wed, Mar 21, 2012 at 6:56 PM, Gabriel Hurley
gabriel.hur...@nebula.comwrote:

  It looks like you’ve got an extra slash in your URL. That probably means
 you’ve got a trailing slash on your OPENSTACK_KEYSTONE_URL setting. As per
 the example settings file it should look like this:

 ** **

 OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0; % OPENSTACK_HOST

 ** **

 e.g.

 ** **

 OPENSTACK_KEYSTONE_URL = http://127.0.0.1:5000/v2.0

 ** **

 Hopefully that helps.

 ** **

 **-  **Gabriel

 ** **

 ** **

 *From:* 
 openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net[mailto:
 openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] *On
 Behalf Of *jay_s_b
 *Sent:* Wednesday, March 21, 2012 4:28 PM
 *To:* openstack@lists.launchpad.net
 *Subject:* [Openstack] horizon and keystone no route matched error

 ** **

 Hello,

 I have installed horizon dash board from git and integrating with nova.
 When I login to dashboard, I am getting error. Error: please try logging
 again.

 In dashboard log, I see  the following error:

 Request returned failure status.

 In keystone log, I see 

 2012-03-21 15:37:02DEBUG [routes.middleware] No route matched for POST
 //tokens
 2012-03-21 15:37:02DEBUG [eventlet.wsgi.server] 16.213.0.39 - -
 [21/Mar/2012 15:37:02] POST /v2.0//tokens HTTP/1.1 404 228
 0.000782routes.middleware

  

 Any clue regarding this is appreciated.

 Thanks,

 jay 

 ___
 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 keystone no route matched error

2012-03-21 Thread Gabriel Hurley
It's not a trailing slash on the URL sent to keystone. It's a trailing slash in 
the Horizon setting which leads to a double-slash in the URL sent to keystone.


-  Gabriel

From: anti...@gmail.com [mailto:anti...@gmail.com] On Behalf Of Dolph Mathews
Sent: Wednesday, March 21, 2012 5:26 PM
To: Gabriel Hurley
Cc: jay_s_b; openstack@lists.launchpad.net
Subject: Re: [Openstack] horizon and keystone no route matched error

Wasn't this fixed in keystoneclient (properly handling an unexpected trailing 
slash)?

-Dolph
On Wed, Mar 21, 2012 at 6:56 PM, Gabriel Hurley 
gabriel.hur...@nebula.commailto:gabriel.hur...@nebula.com wrote:
It looks like you've got an extra slash in your URL. That probably means you've 
got a trailing slash on your OPENSTACK_KEYSTONE_URL setting. As per the example 
settings file it should look like this:

OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0http://%25s:5000/v2.0 % 
OPENSTACK_HOST

e.g.

OPENSTACK_KEYSTONE_URL = http://127.0.0.1:5000/v2.0

Hopefully that helps.


-  Gabriel


From: 
openstack-bounces+gabriel.hurley=nebula@lists.launchpad.netmailto:nebula@lists.launchpad.net
 
[mailto:openstack-bounces+gabriel.hurleymailto:openstack-bounces%2Bgabriel.hurley=nebula@lists.launchpad.netmailto:nebula@lists.launchpad.net]
 On Behalf Of jay_s_b
Sent: Wednesday, March 21, 2012 4:28 PM
To: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Subject: [Openstack] horizon and keystone no route matched error

Hello,
I have installed horizon dash board from git and integrating with nova. When I 
login to dashboard, I am getting error. Error: please try logging again.
In dashboard log, I see  the following error:
Request returned failure status.
In keystone log, I see
2012-03-21 15:37:02DEBUG [routes.middleware] No route matched for POST 
//tokens
2012-03-21 15:37:02DEBUG [eventlet.wsgi.server] 16.213.0.39 - - 
[21/Mar/2012 15:37:02] POST /v2.0//tokens HTTP/1.1 404 228 
0.000782routes.middleware

Any clue regarding this is appreciated.
Thanks,
jay

___
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


Re: [Openstack] Can't delete instances with error status.

2012-03-21 Thread Mandar Vaze
I agree user shouldn’t have to update DB.
There needs to be some periodic cleanup task that “fixes” the 
vm_state/task_state for “stuck” instances.

-Mandar

From: openstack-bounces+mandar.vaze=vertex.co...@lists.launchpad.net 
[mailto:openstack-bounces+mandar.vaze=vertex.co...@lists.launchpad.net] On 
Behalf Of Guilherme Birk
Sent: Wednesday, March 21, 2012 6:05 PM
To: Openstack Mail List
Subject: Re: [Openstack] Can't delete instances with error status.

This is the only option? I've already done that, but it's kind strange I 
update the database row everytime the script identifies a VM with error.

Date: Wed, 21 Mar 2012 09:39:03 +0800
Subject: Re: [Openstack] Can't delete instances with error status.
From: mwjpi...@gmail.commailto:mwjpi...@gmail.com
To: guib...@hotmail.commailto:guib...@hotmail.com
update instances table in nova db, set the vm_status of  the instance which 
you want to delete active and set the task_status=NULL.
After that, try to use euca-terminate

On Wed, Mar 21, 2012 at 1:24 AM, Guilherme Birk 
guib...@hotmail.commailto:guib...@hotmail.com wrote:
I'm attempting to make a python script that controls all my virtual machines. 
Sometimes, when the script identifies that exists an instance with status of 
error, he creates a new instance and tries to delete the old one with curl 
commands, but I'm not getting any response and the VM isn't deleted. When I 
execute euca-terminate instance i-name I got nothing too. How I should delete 
instances with error status ? I didn't found any way using nova-manage too.

___
Mailing list: 
https://launchpad.net/~openstackhttps://launchpad.net/%7Eopenstack
Post to : 
openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net
Unsubscribe : 
https://launchpad.net/~openstackhttps://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


Re: [Openstack] Can't delete instances with error status.

2012-03-21 Thread Yong Sheng Gong
why not allow "nova delete" and "euca-terminate " to delete the instance with "error" status?Yong Sheng Gong-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: Guilherme Birk guib...@hotmail.com, Openstack Mail List openstack@lists.launchpad.netFrom: Mandar Vaze mandar.v...@vertex.co.inSent by: openstack-bounces+gongysh=cn.ibm@lists.launchpad.netDate: 03/22/2012 12:26PMSubject: Re: [Openstack] Can't delete instances with "error" status.I agree user shouldn���t have to update DB. There needs to be some periodic cleanup task that ���fixes��� the vm_state/task_state for ���stuck��� instances.-MandarFrom: openstack-bounces+mandar.vaze=vertex.co...@lists.launchpad.net [mailto:openstack-bounces+mandar.vaze=vertex.co...@lists.launchpad.net] On Behalf Of Guilherme BirkSent: Wednesday, March 21, 2012 6:05 PMTo: Openstack Mail ListSubject: Re: [Openstack] Can't delete instances with "error" status.This is the only option? I've already done that, but it's kind "strange" I update the database row everytime the script identifies a VM with error.Date: Wed, 21 Mar 2012 09:39:03 +0800Subject: Re: [Openstack] Can't delete instances with "error" status.From: mwjpi...@gmail.comTo: guib...@hotmail.comupdate "instances" table in "nova" db, set the vm_status of the instance which you want to delete "active" and set the task_status=NULL.After that, try to use euca-terminate On Wed, Mar 21, 2012 at 1:24 AM, Guilherme Birk guib...@hotmail.com wrote:I'm attempting to make a python script that controls all my virtual machines. Sometimes, when the script identifies that exists an instance with status of "error", he creates a new instance and tries to delete the old one with curl commands, but I'm not getting any response and the VM isn't deleted. When I execute euca-terminate instance i-name I got nothing too. How I should delete instances with error status ? I didn't found any way using nova-manage too. ___Mailing list: https://launchpad.net/~openstackPost to   : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore help  : https://help.launchpad.net/ListHelp-- ���娣¤�浠ユ��蹇�锛瀹���浠ヨ�磋��___Mailing list: https://launchpad.net/~openstackPost to   : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore 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] Enabling remote participation at Folsom Design Summit

2012-03-21 Thread Marton Kiss
Ustream broadcast as an alternative option?

Marton Kiss, CTO
Xemeti
On Mar 21, 2012 11:54 PM, Debo Dutta (dedutta) dedu...@cisco.com wrote:

 SW side: Another option would be to run webex meetings or even google
 hangout!

 debo

 -Original Message-
 From: openstack-bounces+dedutta=cisco@lists.launchpad.net
 [mailto:openstack-bounces+dedutta=cisco@lists.launchpad.net] On
 Behalf Of Stefano Maffulli
 Sent: Wednesday, March 21, 2012 3:35 PM
 To: openstack@lists.launchpad.net
 Subject: Re: [Openstack] Enabling remote participation at Folsom Design
 Summit

 I'm still loooking for *hardware* to make this happen.

 Lets try to make this more sexy and see where to cook hackers are: what
 if we buy a few beaglebone boards ($89 each) and spend a weekend hacking
 a streaming server on them?

 The boards are cheap enough and should have enough power to acquire
 audio, convert it to mp4/h264 using their hardware and send the stream
 over to a public icecast server. As with many other things, the software
 is already out there, it needs hammering, put it together, testing and
 praying it works at the summit.

 Any volunteer?

 Or any other option? Cheap desktops would work too: I wouldn't refuse
 Dell or HP to ship 6 of their smallest machines either :)

 let me know, please.
 Cheers,
 stef


 On Tue, 2012-03-06 at 13:47 -0800, Stefano Maffulli wrote:
  Hello folks,
 
  since the next design summit is sold out and many people are still
  interested in participating, I believe we should really make remote
  participation possible.
 
  Imitating Ubuntu Developer Summit, I think the ideal situation is to
  have in each room:
 
   - 1 omnidirectional microphone to capture discussions and questions
   - 1 streaming client hooked to a public icecast streaming server
   - 1 IRC channel per room
   - 1 projector showing the content of the IRC channel
   - 1 projector available for collaborative note taking via etherpad
 
  And for plenary session:
 
   - full audio/video service
   - IRC channel, not shown but monitored in case there are interesting
  questions
 
  We'll also need dedicated bandwidth from the Hyatt hotel, networking,
  firewalling and the whole shabang. Anything else?
 
  I will start investigating what Rackspace can provide but this is a
 big
  task and I would like to make this a shared effort.
 
  If you have experience with this, and want to help me get the
 equipment,
  software, services needed to enable remote participation to the Design
  Summit please email me.
 
  Thanks,
  stef
 
 
  [1] http://uds.ubuntu.com/community/remote-participation/
 
 
  ___
  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
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp