Re: [Openstack] nova-compute on Controller Node

2012-10-04 Thread Ritesh Nanda
Ahmed,

 You would not need to install nova-compute on the controller node ,
nova-compute is just used to provide you computational power for vm's , so
on that node where you want to host your virtual machines install
nova-compute on that node.On controller there would be only
nova-api,nova-scheduler,keystone.
nova-scheduler there on the controller would decide on which compute node
will your vm gets provisioned.
Hope this answers your question.

On Thu, Oct 4, 2012 at 4:53 AM, Ahmed Al-Mehdi  wrote:

> Hello,
>
> I am following the steps in "OpenStack Install and Deploy – Red Hat
> Ubuntu" document to setup setup the controller node (
> http://docs.openstack.org/trunk/openstack-compute/install/apt/content/installing-the-cloud-controller.html
> ).  Do I need to install nova-compute on the controller node?  Maybe there
> is no harm, but my understanding is nova-volume needs to be installed on
> all Compute Nodes.  Is that right?   If so, in that case can I skip
> installing nova-compute on the Controller Node without any side effects.
>
> Thank you,
> Ahmed.
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

* With Regards
*

* Ritesh Nanda
*

***
*

___
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] Cells Status

2012-10-04 Thread Joshua Harlow
Sure understood, I just want to make sure that we are doing it for the
right reasons.

I just hope it isn't masquerading some other problem that is best solved
another way.

- Like is it performance problems that people need it so badly for, is it
for network limitations, is it for HA, is it for ...

I guess there is always version N+1 and u have to start N sometime, but
lets just not have to take it out in N+2 (and the pain that that causes).
That¹s all.

On 10/4/12 7:33 PM, "Tom Fifield"  wrote:

>On 05/10/12 03:40, Joshua Harlow wrote:
>> Along this type of line, I know we've talked about it before.
>>
>> But is cells the right way that we want to go? Not that it isn't, but
>> possibly at the summit we can talk about it in detail before pushing it
>> into trunk.
>
>Given the overflowing room of people who turned up to the last summit to
>talk about Cells, the enormous amount of positive feedback there, the
>fact it's been so delayed and that the code is already ~done and being
>used in production in some instances, waiting to get it into trunk
>(which is already becoming more and more difficult to do) seems like a
>suboptimal idea.
>
>By all means, discuss the methodology, propose an excellent new idea,
>code it up and rip cells out then. However, knocking back something
>that's this far advanced just seems a little cruel for both those who
>worked so hard, and the deployers who have been screaming for it :)
>
>In NeCTAR's case (perhaps in Rackspace and HP's case before us?), we
>can't wait, we're happy with Cells and we're going live with it whether
>it's in trunk or not. However, it would really, really, really, really
>make it easier to make an awesome OpenStack-based cloud if it was in
>trunk :)
>
>Regards,
>
>Tom
>
>>
>> From: Chris Behrens >>
>> Date: Wednesday, October 3, 2012 4:57 AM
>> To: Sam Morrison mailto:sorri...@gmail.com>>
>> Cc: "openstack@lists.launchpad.net
>> " > >, Chris Behrens
>> mailto:cbehr...@codestud.com>>
>> Subject: Re: [Openstack] Cells Status
>>
>> Ok.  This took a lot longer to resolve than I expected, but here we go:
>>
>> https://github.com/comstud/nova/tree/cells_service
>>
>> This is rebased against trunk and contains a bunch of new things since
>> the last branch:
>>
>> Random fixes for things that trunk broke with cells (deleting instances
>> for one)
>> RPC versioning (Thanks to Brian Elliott!)
>> Split Replies and Bandwidth Updates into their own queues to better deal
>> with them
>> A number of admin API extensions modified to support cells (Thanks to
>> Dragon, Alex Meade, Brian Lamar, Matt Sherborne, et al)
>> Snapshots/backups query glance in API cell (Thanks to Iccha)
>> Handle quotas in API cell  (Thanks to Johannes for fixes!)
>>
>> Things are rapidly getting more kludgy because of changes in trunk that
>> don't have any consideration for cells (because cells is not in trunk!).
>>   I'm hoping we can get this into an acceptable shape such that we can
>> get it merged ASAP.
>>
>> - Chris
>>
>>
>> On Oct 2, 2012, at 10:13 PM, Sam Morrison > > wrote:
>>
>>> OK great, will be good to get this into master. I have some stuff
>>> relating to key pairs, security groups that I'd like to contribute.
>>>
>>> Also we are looking at the ability for you to specify the cell when
>>> booting an instance.
>>>
>>> Cheers,
>>> Sam
>>>
>>>
>>> On 02/10/2012, at 1:06 PM, Chris Behrens >> > wrote:
>>>
 Yup, it's done.  I just have to deal with some conflicts with our
 internal branch and my public one..


 On Oct 1, 2012, at 7:47 PM, Sam Morrison >>> > wrote:

> On 02/10/2012, at 12:33 PM, Chris Behrens  > wrote:
>
>> Thanks, Tom!  I have changes to push up that add rpc versioning,
>> etc.  Maybe I can get those up tomorrow.
>
> Great! I was going to start looking into it but will hold off if
> you've already done it.
>
> 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] Enabling logging in keystone.

2012-10-04 Thread Lorin Hochstein

On Oct 3, 2012, at 7:33 PM, Alan Pevec  wrote:

> On Wed, Oct 3, 2012 at 8:31 AM, Dolph Mathews  wrote:
>> At the very least, I'd like to move this approach to the end of the page;
>> and ideally, the script would be managed by openstack.
> 
> There's a sample script in Keystone
> https://github.com/openstack/keystone/blob/master/tools/sample_data.sh
> although I must say that yaml is much more readable.
> While at the it, there's one more in Devstack
> https://github.com/openstack-dev/devstack/blob/master/files/keystone_data.sh
> so maybe replacing both with keystone-init.py + yaml, maintained in
> Keystone git makes sense?
> 

Alan:

The doc fix landed at https://review.openstack.org/#/c/13984/ and the 
documentation now references 
https://github.com/openstack/keystone/blob/master/tools/sample_data.sh for a 
scripted install.

However, if somebody finds my keystone-init.py script useful and wants to move 
it into an official OpenStack repository like the keystone repo, I would be 
supportive of that.

Take care,

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


> Cheers,
> Alan
> 
> ___
> 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] Cells Status

2012-10-04 Thread Tom Fifield

On 05/10/12 03:40, Joshua Harlow wrote:

Along this type of line, I know we've talked about it before.

But is cells the right way that we want to go? Not that it isn't, but
possibly at the summit we can talk about it in detail before pushing it
into trunk.


Given the overflowing room of people who turned up to the last summit to 
talk about Cells, the enormous amount of positive feedback there, the 
fact it's been so delayed and that the code is already ~done and being 
used in production in some instances, waiting to get it into trunk 
(which is already becoming more and more difficult to do) seems like a 
suboptimal idea.


By all means, discuss the methodology, propose an excellent new idea, 
code it up and rip cells out then. However, knocking back something 
that's this far advanced just seems a little cruel for both those who 
worked so hard, and the deployers who have been screaming for it :)


In NeCTAR's case (perhaps in Rackspace and HP's case before us?), we 
can't wait, we're happy with Cells and we're going live with it whether 
it's in trunk or not. However, it would really, really, really, really 
make it easier to make an awesome OpenStack-based cloud if it was in 
trunk :)


Regards,

Tom



From: Chris Behrens mailto:cbehr...@codestud.com>>
Date: Wednesday, October 3, 2012 4:57 AM
To: Sam Morrison mailto:sorri...@gmail.com>>
Cc: "openstack@lists.launchpad.net
" mailto:openstack@lists.launchpad.net>>, Chris Behrens
mailto:cbehr...@codestud.com>>
Subject: Re: [Openstack] Cells Status

Ok.  This took a lot longer to resolve than I expected, but here we go:

https://github.com/comstud/nova/tree/cells_service

This is rebased against trunk and contains a bunch of new things since
the last branch:

Random fixes for things that trunk broke with cells (deleting instances
for one)
RPC versioning (Thanks to Brian Elliott!)
Split Replies and Bandwidth Updates into their own queues to better deal
with them
A number of admin API extensions modified to support cells (Thanks to
Dragon, Alex Meade, Brian Lamar, Matt Sherborne, et al)
Snapshots/backups query glance in API cell (Thanks to Iccha)
Handle quotas in API cell  (Thanks to Johannes for fixes!)

Things are rapidly getting more kludgy because of changes in trunk that
don't have any consideration for cells (because cells is not in trunk!).
  I'm hoping we can get this into an acceptable shape such that we can
get it merged ASAP.

- Chris


On Oct 2, 2012, at 10:13 PM, Sam Morrison mailto:sorri...@gmail.com>> wrote:


OK great, will be good to get this into master. I have some stuff
relating to key pairs, security groups that I'd like to contribute.

Also we are looking at the ability for you to specify the cell when
booting an instance.

Cheers,
Sam


On 02/10/2012, at 1:06 PM, Chris Behrens mailto:cbehr...@codestud.com>> wrote:


Yup, it's done.  I just have to deal with some conflicts with our
internal branch and my public one..


On Oct 1, 2012, at 7:47 PM, Sam Morrison mailto:sorri...@gmail.com>> wrote:


On 02/10/2012, at 12:33 PM, Chris Behrens mailto:cbehr...@codestud.com>> wrote:


Thanks, Tom!  I have changes to push up that add rpc versioning,
etc.  Maybe I can get those up tomorrow.


Great! I was going to start looking into it but will hold off if
you've already done it.

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] nova-compute on Controller Node

2012-10-04 Thread Ahmed Al-Mehdi
Hello,

Sorry for the re-post, but I was wondering if anyone had any thoughts on the 
following question.

Thank you,
Ahmed.


From: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Date: Wednesday, October 3, 2012 4:23 PM
To: "openstack@lists.launchpad.net" 
mailto:openstack@lists.launchpad.net>>
Subject: [Openstack] nova-compute on Controller Node

Hello,

I am following the steps in "OpenStack Install and Deploy – Red Hat Ubuntu" 
document to setup setup the controller node ( 
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/installing-the-cloud-controller.html
  ).  Do I need to install nova-compute on the controller node?  Maybe there is 
no harm, but my understanding is nova-volume needs to be installed on all 
Compute Nodes.  Is that right?   If so, in that case can I skip installing 
nova-compute on the Controller Node without any side effects.

Thank you,
Ahmed.

___
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] REMINDER: Re: Providing a Unified View of OpenStack Projects

2012-10-04 Thread Stefano Maffulli

Hello folks,

the webinar is tomorrow:

*  Webinar, Friday, October 5, 9am PDT / Noon EDT / 6pm CEST: we will
present the pilot and gather feedback: Register here
http://openstack.enterthemeeting.com/m/1GQI39PC


Blog post with more details:

http://www.openstack.org/blog/2012/09/providing-a-unified-view-of-openstack-projects/

talk to you soon,
stef

On 09/27/2012 03:45 PM, Stefano Maffulli wrote:

Hi all,

You are invited to learn about and provide feedback regarding an
integration project we are undertaking to achieve interoperability of
content within and between OpenStack projects with dashboards, reports,
traceability, and faceted search. We have embarked on a pilot project
with zAgile, using their open source Wikidsmart platform, which is an
integration platform for software engineering tools as well as other
applications like Help Desk and CRM.

I'm excited to share with you the results of the pilot and solicit your
feedback in the following ways:

  * Blog post with more details:

http://www.openstack.org/blog/2012/09/providing-a-unified-view-of-openstack-projects/

  *  Webinar, Friday, October 5, 9am PDT / Noon EDT / 6pm CEST: we will
present the pilot and gather feedback: Register here
http://openstack.enterthemeeting.com/m/1GQI39PC

  * OpenStack Summit: Wednesday, October 17 in San Diego. Confirm the
time slot and full agenda at the website
http://openstacksummitfall2012.sched.org/event/a5194145c6d2667d3e9d83a5d012bf83

  * Survey: tell us what you think by answering four short questions. You
can respond either before or after attending the webinar or Summit slot.
  Fill out the survey here https://www.surveymonkey.com/s/78JXGLC

I hope that you may participate in the discussion, and I forward to your
feedback.

Best regards,
Stefano Maffulli
OpenStack Community Manager

___
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] Just a newbie getting some error messages

2012-10-04 Thread Jon Thomas
On Thu, 2012-10-04 at 11:41 -0500, Ahmed Al-Mehdi wrote:
> Hi Janis,
> 
> 
> Just fyi, in the Folsom release the lines with the "%…%" in
> glance-api.conf  and glance-api-paste.ini are not present.  Document
> instructs user to add the three relevant lines to [filter.authtoken]
> section.
> 
It looked to me that there were some config file changes in folsom.

glance index works fine for me and I have in glance-api-paste.ini

[filter:authtoken]
paste.filter_factory = keystone.middleware.auth_token:filter_factory
delay_auth_decision = true
admin_tenant_name = service
admin_user = glance
admin_password = servicepass

and in glance-api.conf there is no [filter:authtoken]. However there is
[keystone_authtoken], but it's unchanged

[keystone_authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%

Another possiblity for the 500 error might be that the
python-glanceclient package is essex, not folsom. I had a 500 error with
nova that was due to the python-novaclient package being essex, while
nova packages were folsom.

> 
> Regards,
> Ahmed.
>
> 
> 
> From: J?nis ?e??eris 
> Date: Thursday, October 4, 2012 7:24 AM
> To: Daniel Oliveira 
> Cc: "openstack@lists.launchpad.net" 
> Subject: Re: [Openstack] Just a newbie getting some error messages
> 
> 
> 
> When you have fresh install you will usually have something like this
> in glance-api.conf
> 
> 
> [filter:authtoken]
> auth_host = 127.0.0.1
> auth_port = 35357
> auth_protocol = http
> admin_tenant_name = %SERVICE_TENANT_NAME%
> admin_user = %SERVICE_USER%
> admin_password = %SERVICE_PASSWORD%
> 
> 
> and something similar inside glance-api-paste.ini
> 
> 
> So if you have these lines with %SERVICE_USER%, %SERVICE_PASSWORD%, %
> SERVICE_TENANT_NAME%, you need to replace them all with real user
> credentials that have been configured in Keystone.
> 
> 
> Here you can see sample config files with the sections configured:
> http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-paste-file.html
> http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-conf-file.html
> 
> On Thu, Oct 4, 2012 at 4:36 PM, Daniel Oliveira 
> wrote:
> Hello Janis,
> 
> 
> I'm not sure if I understood what I should replace. Do you
> mean replacing, for example:
> 
> 
> the line
> admin_user = glance
> in the [filter:authtoken] section
> 
> 
> for the line
> admin_user = %glance?
> 
> 
> and so on for the other credentials?
> 
> 2012/10/4 J?nis ?e??eris 
> Hi Daniel,
> 
> 
> Do you have set up [filter:authtoken] section in
> glance-api-paste.ini? You need to replace the strings
> with percent signs with correct auth credentials.
> 
> 
> To get more precise output use, 'glance -d index',
> that will show additional debug information.
> 
> On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira
>  wrote:
> 
> Hello,
> 
> 
> I've been trying to install OpenStack on a
> server by following the manual installation
> tutorial on openstack.org for Ubuntu Server
> 12.04 (and that's the OS I'm using,
> obviously). But when it comes to test whether
> Glance was installed successfully
> 
> (http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html),
>  I get the following error message:
> 
> 
> Failed to show index. Got error:
> Unexpected responde: 500
> 
> 
> The same happens when I try to do glance
> index, which I guess should produce no output
> instead. I really need some help on this,
> since I'm not that experient with linux. Sorry
> for any grammar errors, english is not my
> native language ^_^. Thanks in advance,
> 
> 
> -- 
> My best regards,
> 
> 
> Daniel Oliveira.
> 
> 
> 
> 
> ___

Re: [Openstack] File Injection through Horizon

2012-10-04 Thread Joshua Harlow
Yes, it is much better in the latest 0.7.0.

Instead of the stripped down fedora version (which was the 0.6.3 one)
there is now 'true' multi-distro support in cloud-init. And its coded in a
way that other distros can be easily added (freebsd for example).

This allows more modules (a cloud-init concept) to be useful (in 0.6.3 not
many worked across distributions) and applicable for rhel6+ (we've got it
at yahoo working on rhel5.6 also) and ubuntu (the main ones we have been
testing on, fedora/centos should also work fine).

At the summit I think scott and I will do some talks about what is this
userdata/metadata thingy and how cloud-init uses it (and what cloud-init
can do with it, and how it does it - time dependent). So get ready for
that (there isn't an official session so keep checking what the
unannounced/lighting/unconference sessions are).

On 10/4/12 4:41 AM, "Scott Moser"  wrote:

>On Wed, 3 Oct 2012, Kiall Mac Innes wrote:
>
>> Ah - I had meant the RHEL version :)
>
>Josh Harlow has done no small amount of work, and also had some aid from
>Garret Holstrom.  Josh is using cloud-init 0.7.0 on RHEL/Fedora.
>
>He can certainly provide more details.
>
>___
>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] Network IP address setting in nova.conf file

2012-10-04 Thread Jānis Ģeņģeris
On Thu, Oct 4, 2012 at 8:23 PM, Ahmed Al-Mehdi  wrote:

>
> Hi Janis,
>
> Thank you very much for your response.  I have some questions to your
> response which are inlined below.
>
> Regards,
> Ahmed.
>
> From: Jānis Ģeņģeris 
> Date: Thursday, October 4, 2012 12:37 AM
> To: Ahmed Al-Mehdi 
> Cc: Anne Gentle , "openstack@lists.launchpad.net" <
> openstack@lists.launchpad.net>
> Subject: Re: [Openstack] Network IP address setting in nova.conf file
>
> Hello Ahmed,
>
> On Thu, Oct 4, 2012 at 9:08 AM, Ahmed Al-Mehdi  wrote:
>
>> Hi Anne,
>>
>> Thank you for the explanation.  A few follow-up question:
>>
>> 1. Is the set of IP address mentioned by fixed_range distributed over all
>> the Compute Nodes. E.g., a VM on Compute Node1 would get an IP address
>> from this range.  Another VM instance on Compute Node2 would get an IP
>> address from this same range.  Is that right?
>>
> I think it depends on configuration, but with standard setup as described
> in docs, it's done exactly as you think.
>
> 2. Pardon my ignorance, what does POC stand for?
>>
> It might be Proof Of Concept , depends on context.
>
>
>> 3. br100 interface can be created on a Native Ubuntu server also, not
>> necessarily on VM in VirtualBox, right?
>
>
>> 4. The br100 interface is only applicable to the Computer Node, not the
>> Controller Node, right?
>>
>
> http://docs.openstack.org/essex/openstack-compute/admin/content/libvirt-flat-dhcp-networking.html
> This image gives good illustration about the responsibilities assigned to
> br100.
>
> As I understand then br100 is interface where the VM network will be
> plugged in. It makes sens of having it only on compute nodes. But you can
> assign addresses from different subnets to the bridge, and make the
> instances accessible from the controller node as well.
>
>
>>
>> 5. The command to create the network for compute VMs - "nova-manage
>> network create Š." is executed on the Compute Node, right?
>
> nova-manage works with the configured database and uses your nova.conf for
> getting the db dsn. It is independent from compute nodes. It depends on
> network configuration what happens later and where it's executed. I think
> nova-network service is working with all the network stuff if you are not
> using quantum. But I might be wrong here.
>
>
> The reason I posed the question is because in the "Install and Deploy.."
> document, it seem  the command "nova-manage" will create the br100
> interface (on the Compute Node).  How does it do that if it is executed on
> the Controller Node.
>

I might be wrong, but I guess, that when you try to create a new instance,
the RPC call is made, and if the bridge is not on a compute node already,
it is created. For specific details you should check the source.

>
>
>
>
>
>> 6. In my setup, one physical host will be the Controller Node, one
>> physical host is the Compute Node, and I might add another physical host
>> to be the Compute Node.  In this setup, what I the recommended setup for
>> public_interface?  Or does that depend on the number of NIC ports on the
>> physical host?
>>
> The public interface is where the floating IPs are handled. Better make it
> separate, although I have red that people have managed to make compute
> nodes with single interface, it might be more painful to setup.
>
>
> Are you recommending the Compute Node have two interfaces (eth0 and eth1,
> eth0 is the public interface connected to the outside world).  The br100
> interface on the Compute Node is connected to which physical interface,
> eth0 or eth1?
>
> I would recommend 3 if you are experimenting alot. One is for floating IP
net, one is for service & VM net, and one is the address that you use to
ssh into server.

Then br100 is connected with eth1.

I think this great blog entry from Mirantis will help you alot
http://www.mirantis.com/blog/openstack-networking-flatmanager-and-flatdhcpmanager/


>
>
>>
>> Thank you,
>> Ahmed.
>>
>>
>>
>> On 10/3/12 8:26 PM, "Anne Gentle"  wrote:
>>
>> >Hi Ahmed -
>> >
>> >I have logged a doc bug to clear up this mismatch:
>> >https://bugs.launchpad.net/openstack-manuals/+bug/1061352.
>> >
>> >Appreciate you asking!
>> >
>> >Here's some explanation for each setting.
>> >fixed_range - fixed block of IP addresses handed out to VMs as they're
>> >provisioned. So these could be a 10.0.0.0/4 block if you want, or the
>> >192... block.
>> >public_interface - some say this needs to be a physical nic, but when
>> >you're running a POC on a VM on a laptop in VirtualBox for example, it
>> >can be br100. It's what DevStack defaults to. This setting indicates
>> >the interface nova-network uses to send the floating ip traffic on the
>> >correct network. So if you have nova-network on each compute node then
>> >yes, it belongs on the compute node.
>> >
>> >The Install/deploy guide walks through Flat DHCP as the network
>> >manager. If you use --network_bridge=br100 when you run the
>> >nova-manage network command, nova will set up the bridge for you.

Re: [Openstack] Cells Status

2012-10-04 Thread Joshua Harlow
Along this type of line, I know we've talked about it before.

But is cells the right way that we want to go? Not that it isn't, but possibly 
at the summit we can talk about it in detail before pushing it into trunk.

I still really like the idea of making nova-compute nodes more 'dumb', then 
having a 'global' scheduler service which controls allocates to those compute 
nodes. Something like the current nova-scheduler but not hooked into the MQ. U 
could almost think of this 'global' scheduler service hooking into all 
'clusters' message queues and it would make the decisions about what nodes get 
scheduled where. What or how the 'global' scheduler works could be sharded, it 
could be hierarchal, but it wouldn't be tied to nova tightly. Which is what 
cells/zones (the previous attempt)/… seem to be. Perhaps a generic scheduling 
'entity' where one of the resources is compute nodes would be the best thing 
overall to solve this (since volumes also need scheduling, networks probably 
could also and so on).

I just think in the long term that might be the best approach, but other 
thoughts are welcome…

From: Chris Behrens mailto:cbehr...@codestud.com>>
Date: Wednesday, October 3, 2012 4:57 AM
To: Sam Morrison mailto:sorri...@gmail.com>>
Cc: "openstack@lists.launchpad.net" 
mailto:openstack@lists.launchpad.net>>, Chris 
Behrens mailto:cbehr...@codestud.com>>
Subject: Re: [Openstack] Cells Status

Ok.  This took a lot longer to resolve than I expected, but here we go:

https://github.com/comstud/nova/tree/cells_service

This is rebased against trunk and contains a bunch of new things since the last 
branch:

Random fixes for things that trunk broke with cells (deleting instances for one)
RPC versioning (Thanks to Brian Elliott!)
Split Replies and Bandwidth Updates into their own queues to better deal with 
them
A number of admin API extensions modified to support cells (Thanks to Dragon, 
Alex Meade, Brian Lamar, Matt Sherborne, et al)
Snapshots/backups query glance in API cell (Thanks to Iccha)
Handle quotas in API cell  (Thanks to Johannes for fixes!)

Things are rapidly getting more kludgy because of changes in trunk that don't 
have any consideration for cells (because cells is not in trunk!).  I'm hoping 
we can get this into an acceptable shape such that we can get it merged ASAP.

- Chris


On Oct 2, 2012, at 10:13 PM, Sam Morrison 
mailto:sorri...@gmail.com>> wrote:

OK great, will be good to get this into master. I have some stuff relating to 
key pairs, security groups that I'd like to contribute.

Also we are looking at the ability for you to specify the cell when booting an 
instance.

Cheers,
Sam


On 02/10/2012, at 1:06 PM, Chris Behrens 
mailto:cbehr...@codestud.com>> wrote:

Yup, it's done.  I just have to deal with some conflicts with our internal 
branch and my public one..


On Oct 1, 2012, at 7:47 PM, Sam Morrison 
mailto:sorri...@gmail.com>> wrote:

On 02/10/2012, at 12:33 PM, Chris Behrens 
mailto:cbehr...@codestud.com>> wrote:

Thanks, Tom!  I have changes to push up that add rpc versioning, etc.  Maybe I 
can get those up tomorrow.

Great! I was going to start looking into it but will hold off if
you've already done it.

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] Network IP address setting in nova.conf file

2012-10-04 Thread Ahmed Al-Mehdi

Hi Janis,

Thank you very much for your response.  I have some questions to your response 
which are inlined below.

Regards,
Ahmed.

From: Jānis Ģeņģeris mailto:janis.genge...@gmail.com>>
Date: Thursday, October 4, 2012 12:37 AM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Cc: Anne Gentle mailto:a...@openstack.org>>, 
"openstack@lists.launchpad.net" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Network IP address setting in nova.conf file

Hello Ahmed,

On Thu, Oct 4, 2012 at 9:08 AM, Ahmed Al-Mehdi 
mailto:ah...@coraid.com>> wrote:
Hi Anne,

Thank you for the explanation.  A few follow-up question:

1. Is the set of IP address mentioned by fixed_range distributed over all
the Compute Nodes. E.g., a VM on Compute Node1 would get an IP address
from this range.  Another VM instance on Compute Node2 would get an IP
address from this same range.  Is that right?
I think it depends on configuration, but with standard setup as described in 
docs, it's done exactly as you think.

2. Pardon my ignorance, what does POC stand for?
It might be Proof Of Concept , depends on context.


3. br100 interface can be created on a Native Ubuntu server also, not
necessarily on VM in VirtualBox, right?

4. The br100 interface is only applicable to the Computer Node, not the
Controller Node, right?
http://docs.openstack.org/essex/openstack-compute/admin/content/libvirt-flat-dhcp-networking.html
This image gives good illustration about the responsibilities assigned to br100.

As I understand then br100 is interface where the VM network will be plugged 
in. It makes sens of having it only on compute nodes. But you can assign 
addresses from different subnets to the bridge, and make the instances 
accessible from the controller node as well.


5. The command to create the network for compute VMs - "nova-manage
network create Š." is executed on the Compute Node, right?
nova-manage works with the configured database and uses your nova.conf for 
getting the db dsn. It is independent from compute nodes. It depends on network 
configuration what happens later and where it's executed. I think nova-network 
service is working with all the network stuff if you are not using quantum. But 
I might be wrong here.

The reason I posed the question is because in the "Install and Deploy.." 
document, it seem  the command "nova-manage" will create the br100 interface 
(on the Compute Node).  How does it do that if it is executed on the Controller 
Node.




6. In my setup, one physical host will be the Controller Node, one
physical host is the Compute Node, and I might add another physical host
to be the Compute Node.  In this setup, what I the recommended setup for
public_interface?  Or does that depend on the number of NIC ports on the
physical host?
The public interface is where the floating IPs are handled. Better make it 
separate, although I have red that people have managed to make compute nodes 
with single interface, it might be more painful to setup.

Are you recommending the Compute Node have two interfaces (eth0 and eth1, eth0 
is the public interface connected to the outside world).  The br100 interface 
on the Compute Node is connected to which physical interface, eth0 or eth1?



Thank you,
Ahmed.



On 10/3/12 8:26 PM, "Anne Gentle" 
mailto:a...@openstack.org>> wrote:

>Hi Ahmed -
>
>I have logged a doc bug to clear up this mismatch:
>https://bugs.launchpad.net/openstack-manuals/+bug/1061352.
>
>Appreciate you asking!
>
>Here's some explanation for each setting.
>fixed_range - fixed block of IP addresses handed out to VMs as they're
>provisioned. So these could be a 10.0.0.0/4 block if you 
>want, or the
>192... block.
>public_interface - some say this needs to be a physical nic, but when
>you're running a POC on a VM on a laptop in VirtualBox for example, it
>can be br100. It's what DevStack defaults to. This setting indicates
>the interface nova-network uses to send the floating ip traffic on the
>correct network. So if you have nova-network on each compute node then
>yes, it belongs on the compute node.
>
>The Install/deploy guide walks through Flat DHCP as the network
>manager. If you use --network_bridge=br100 when you run the
>nova-manage network command, nova will set up the bridge for you. This
>example command uses 192.168.100.0/24 for the fixed 
>range of IP
>addresses:
>http://docs.openstack.org/trunk/openstack-compute/install/apt/content/comp
>ute-create-network.html
>
>Hope this helps.
>
>Others on the list, feel free to correct my explanations as needed!
>Thanks,
>Anne
>
>On Wed, Oct 3, 2012 at 6:46 PM, Ahmed Al-Mehdi 
>mailto:ah...@coraid.com>> wrote:
>> Hello,
>>
>> I am following the steps in "OpenStack Install and Deploy ­ RedHat
>>Ubuntu"
>> (Folsom) to setup a Controller node.  The section "Configuring OpenStack
>> Compute" (
>>
>>http://docs.openstack.org/trunk/openstack-compute/install/apt/content/com
>>pute-m

Re: [Openstack] Just a newbie getting some error messages

2012-10-04 Thread Ahmed Al-Mehdi
Hi Janis,

Just fyi, in the Folsom release the lines with the "%…%" in glance-api.conf  
and glance-api-paste.ini are not present.  Document instructs user to add the 
three relevant lines to [filter.authtoken] section.

Regards,
Ahmed.


From: J?nis ?e??eris mailto:janis.genge...@gmail.com>>
Date: Thursday, October 4, 2012 7:24 AM
To: Daniel Oliveira mailto:dvalbr...@gmail.com>>
Cc: "openstack@lists.launchpad.net" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Just a newbie getting some error messages

When you have fresh install you will usually have something like this in 
glance-api.conf

[filter:authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%

and something similar inside glance-api-paste.ini

So if you have these lines with %SERVICE_USER%, %SERVICE_PASSWORD%, 
%SERVICE_TENANT_NAME%, you need to replace them all with real user credentials 
that have been configured in Keystone.

Here you can see sample config files with the sections configured:
http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-paste-file.html
http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-conf-file.html

On Thu, Oct 4, 2012 at 4:36 PM, Daniel Oliveira 
mailto:dvalbr...@gmail.com>> wrote:
Hello Janis,

I'm not sure if I understood what I should replace. Do you mean replacing, for 
example:

the line
admin_user = glance
in the [filter:authtoken] section

for the line
admin_user = %glance?

and so on for the other credentials?

2012/10/4 J?nis ?e??eris 
mailto:janis.genge...@gmail.com>>
Hi Daniel,

Do you have set up [filter:authtoken] section in glance-api-paste.ini? You need 
to replace the strings with percent signs with correct auth credentials.

To get more precise output use, 'glance -d index', that will show additional 
debug information.

On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira 
mailto:dvalbr...@gmail.com>> wrote:
Hello,

I've been trying to install OpenStack on a server by following the manual 
installation tutorial on openstack.org for Ubuntu Server 
12.04 (and that's the OS I'm using, obviously). But when it comes to test 
whether Glance was installed successfully 
(http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html),
 I get the following error message:

Failed to show index. Got error:
Unexpected responde: 500

The same happens when I try to do glance index, which I guess should produce no 
output instead. I really need some help on this, since I'm not that experient 
with linux. Sorry for any grammar errors, english is not my native language 
^_^. Thanks in advance,

--
My best regards,

Daniel Oliveira.


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




--
--janis



--
My best regards,

Daniel Oliveira.




--
--janis
___
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] Compute API behavior

2012-10-04 Thread Doug Davis

Agreed - the resources used to create a server should be copied into the
server's data if those resources can be deleted (or even modified
independently of the servers using them).

thanks
-Doug

STSM |  Standards Architect  |  IBM Software Group
(919) 254-6905  |  IBM 444-6905  |  d...@us.ibm.com
The more I'm around some people, the more I like my dog.



From:   Luis Gervaso 
To: openstack@lists.launchpad.net,
Date:   10/04/2012 10:10 AM
Subject:[Openstack] Compute API behavior
Sent by:openstack-bounces+dug=us.ibm@lists.launchpad.net



Hi,

I have found an use case which breaks the compute api. May be I'm not doing
the stuff in the right way. Anyway I want to share with you.

1. Supose I create a server with an image and flavor.

2. Then I delete the image or flavor.

3. Now, when I list the server the image/flavor associated with the server
is not found (actually the api returns a link to image/flavor that no
longer exists)

I think the link is not the correct way to store these info of a server.

The links (following HATEOAS) should be for actions performed on a server:
let's say reboot, pause, show console and so on ...

Cheers!

--
---
Luis Alberto Gervaso Martin
Woorea Solutions, S.L
CEO & CTO
mobile: (+34) 627983344
l...@woorea.es
___
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] Problem installing Nova 2012.2

2012-10-04 Thread Consonni, Marco
Hello,

Maybe what I'm saying doesn't help you fix your specific problem but why don't 
you try devstack (http://devstack.org/) for installing?

It's designed for developers but software installation is easy and works.
If your purpose is test driving OpenStack, I would recommend that.

Hope it helps.

Bye,
MCo.



From: openstack-bounces+marco.consonni=hp@lists.launchpad.net 
[mailto:openstack-bounces+marco.consonni=hp@lists.launchpad.net] On Behalf 
Of Bilel Msekni
Sent: Thursday, October 04, 2012 1:52 PM
To: openstack@lists.launchpad.net
Subject: [Openstack] Problem installing Nova 2012.2

Hi Stackers,

I am encountering a problem when i do this: apt-get -y install nova-common 
nova-compute nova-volume nova-vncproxy nova-api nova-ajax-console-proxy 
nova-cert nova-consoleauth nova-doc nova-scheduler nova-network

It replies back with : The following packages have unmet dependencies:
 nova-vncproxy : Depends: nova-common (= 
2012.2+git201209200431~precise-0ubuntu1) but 
2012.2+git201209250431~precise-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


Does anyone have an idea how to fix this ?
___
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] Just a newbie getting some error messages

2012-10-04 Thread Jānis Ģeņģeris
When you have fresh install you will usually have something like this in
glance-api.conf

[filter:authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%

and something similar inside glance-api-paste.ini

So if you have these lines with %SERVICE_USER%,
%SERVICE_PASSWORD%, %SERVICE_TENANT_NAME%, you need to replace them all
with real user credentials that have been configured in Keystone.

Here you can see sample config files with the sections configured:
http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-paste-file.html
http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-conf-file.html

On Thu, Oct 4, 2012 at 4:36 PM, Daniel Oliveira  wrote:

> Hello Janis,
>
> I'm not sure if I understood what I should replace. Do you mean replacing,
> for example:
>
> the line
> *admin_user = glance*
> in the [filter:authtoken] section
>
> for the line
> *admin_user = %glance*?
>
> and so on for the other credentials?
>
> 2012/10/4 Jānis Ģeņģeris 
>
>> Hi Daniel,
>>
>> Do you have set up [filter:authtoken] section in glance-api-paste.ini?
>> You need to replace the strings with percent signs with correct auth
>> credentials.
>>
>> To get more precise output use, 'glance -d index', that will show
>> additional debug information.
>>
>> On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira wrote:
>>
>>> Hello,
>>>
>>> I've been trying to install OpenStack on a server by following the
>>> manual installation tutorial on openstack.org for Ubuntu Server 12.04
>>> (and that's the OS I'm using, obviously). But when it comes to test whether
>>> Glance was installed successfully (
>>> http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html),
>>> I get the following error message:
>>>
>>> *Failed to show index. Got error:*
>>> *Unexpected responde: 500*
>>> *
>>> *
>>> The same happens when I try to do *glance index*, which I guess should
>>> produce no output instead. I really need some help on this, since I'm not
>>> that experient with linux. Sorry for any grammar errors, english is not my
>>> native language ^_^. Thanks in advance,
>>>
>>> --
>>> My best regards,
>>>
>>> Daniel Oliveira.
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> --janis
>>
>
>
>
> --
> My best regards,
>
> Daniel Oliveira.
>
>


-- 
--janis
___
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] Problem installing Nova 2012.2

2012-10-04 Thread Anne Gentle
Bug filed: https://bugs.launchpad.net/openstack-manuals/+bug/1061632
thanks for reporting!

Anne

On Thu, Oct 4, 2012 at 8:02 AM, Bilel Msekni  wrote:
> Le 04/10/2012 14:51, Daviey Walker a écrit :
>
>> On 4 October 2012 13:02, Bilel Msekni  wrote:
>>>
>>> Le 04/10/2012 13:56, Daviey Walker a écrit :
>>>
>>> On 4 October 2012 12:51, Bilel Msekni  wrote:
>>>
>>> Hi Stackers,
>>>
>>> I am encountering a problem when i do this: apt-get -y install
>>> nova-common
>>> nova-compute nova-volume nova-vncproxy nova-api nova-ajax-console-proxy
>>> nova-cert nova-consoleauth nova-doc nova-scheduler nova-network
>>>
>>> It replies back with : The following packages have unmet dependencies:
>>>   nova-vncproxy : Depends: nova-common (=
>>> 2012.2+git201209200431~precise-0ubuntu1) but
>>> 2012.2+git201209250431~precise-0ubuntu1 is to be installed
>>> E: Unable to correct problems, you have held broken packages.
>>>
>>>
>>> Does anyone have an idea how to fix this ?
>>>
>>> 
>>>
>>> Where are you trying to install this from?
>>>
>>> The following output would be helpful, please:
>>> $ apt-cache policy nova-common
>>>
>>> This is what  apt-cache policy nova-common is giving me :
>>> ==
>>> nova-common:
>>>Installed: 2012.2-0ubuntu3~cloud0
>>>Candidate: 2012.2-0ubuntu3~cloud0
>>>Version table:
>>>   *** 2012.2-0ubuntu3~cloud0 0
>>>  500 http://ubuntu-cloud.archive.canonical.com/ubuntu/
>>> precise-updates/folsom/main amd64 Packages
>>>  100 /var/lib/dpkg/status
>>>   2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 0
>>>  500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main
>>> amd64
>>> Packages
>>>   2012.1+stable~20120612-3ee026e-0ubuntu1.3 0
>>>  500 http://security.ubuntu.com/ubuntu/ precise-security/main
>>> amd64
>>> Packages
>>>   2012.1-0ubuntu2 0
>>>  500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64
>>> Packages
>>> 
>>>
>>> i am following the
>>> http://docs.openstack.org/trunk/openstack-compute/install/apt/content/
>>> install guide so i am installing using the deb
>>> http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom
>>> main
>>>
>>> I am not the only one experiencing this problem, check this :
>>> https://answers.launchpad.net/nova/+question/210171
>>
>> Hi,
>>
>> This seems to be a change introduced after Folsom milestone 3, which
>> the documentation reflects.  In your apt-get install line, can you
>> replace nova-vncproxy with nova-novncproxy.
>>
>> Therefore:
>> $ sudo apt-get -y install nova-common nova-compute nova-volume
>> nova-novncproxy nova-api nova-ajax-console-proxy nova-cert
>> nova-consoleauth nova-doc nova-scheduler nova-network
>>
>> Please let me know if this doesn't resolve the issue for you.
>>
>> Thanks.
>>
> Your solution works like a charm.
> I guess the documentation is really outdated, i will signal that.
>
>
> ___
> 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] Compute API behavior

2012-10-04 Thread Luis Gervaso
Hi,

I have found an use case which breaks the compute api. May be I'm not doing
the stuff in the right way. Anyway I want to share with you.

1. Supose I create a server with an image and flavor.

2. Then I delete the image or flavor.

3. Now, when I list the server the image/flavor associated with the server
is not found (actually the api returns a link to image/flavor that no
longer exists)

I think the link is not the correct way to store these info of a server.

The links (following HATEOAS) should be for actions performed on a server:
let's say reboot, pause, show console and so on ...

Cheers!

-- 
---
Luis Alberto Gervaso Martin
Woorea Solutions, S.L
CEO & CTO
mobile: (+34) 627983344
luis@ woorea.es
___
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] Just a newbie getting some error messages

2012-10-04 Thread Daniel Oliveira
Hello Janis,

I'm not sure if I understood what I should replace. Do you mean replacing,
for example:

the line
*admin_user = glance*
in the [filter:authtoken] section

for the line
*admin_user = %glance*?

and so on for the other credentials?

2012/10/4 Jānis Ģeņģeris 

> Hi Daniel,
>
> Do you have set up [filter:authtoken] section in glance-api-paste.ini? You
> need to replace the strings with percent signs with correct auth
> credentials.
>
> To get more precise output use, 'glance -d index', that will show
> additional debug information.
>
> On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira wrote:
>
>> Hello,
>>
>> I've been trying to install OpenStack on a server by following the manual
>> installation tutorial on openstack.org for Ubuntu Server 12.04 (and
>> that's the OS I'm using, obviously). But when it comes to test whether
>> Glance was installed successfully (
>> http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html),
>> I get the following error message:
>>
>> *Failed to show index. Got error:*
>> *Unexpected responde: 500*
>> *
>> *
>> The same happens when I try to do *glance index*, which I guess should
>> produce no output instead. I really need some help on this, since I'm not
>> that experient with linux. Sorry for any grammar errors, english is not my
>> native language ^_^. Thanks in advance,
>>
>> --
>> My best regards,
>>
>> Daniel Oliveira.
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> --janis
>



-- 
My best regards,

Daniel Oliveira.
___
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] Just a newbie getting some error messages

2012-10-04 Thread Jānis Ģeņģeris
Hi Daniel,

Do you have set up [filter:authtoken] section in glance-api-paste.ini? You
need to replace the strings with percent signs with correct auth
credentials.

To get more precise output use, 'glance -d index', that will show
additional debug information.

On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira  wrote:

> Hello,
>
> I've been trying to install OpenStack on a server by following the manual
> installation tutorial on openstack.org for Ubuntu Server 12.04 (and
> that's the OS I'm using, obviously). But when it comes to test whether
> Glance was installed successfully (
> http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html),
> I get the following error message:
>
> *Failed to show index. Got error:*
> *Unexpected responde: 500*
> *
> *
> The same happens when I try to do *glance index*, which I guess should
> produce no output instead. I really need some help on this, since I'm not
> that experient with linux. Sorry for any grammar errors, english is not my
> native language ^_^. Thanks in advance,
>
> --
> My best regards,
>
> Daniel Oliveira.
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
--janis
___
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] Just a newbie getting some error messages

2012-10-04 Thread Daniel Oliveira
Hello,

I've been trying to install OpenStack on a server by following the manual
installation tutorial on openstack.org for Ubuntu Server 12.04 (and that's
the OS I'm using, obviously). But when it comes to test whether Glance was
installed successfully (
http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html),
I get the following error message:

*Failed to show index. Got error:*
*Unexpected responde: 500*
*
*
The same happens when I try to do *glance index*, which I guess should
produce no output instead. I really need some help on this, since I'm not
that experient with linux. Sorry for any grammar errors, english is not my
native language ^_^. Thanks in advance,

-- 
My best regards,

Daniel Oliveira.
___
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] Problem installing Nova 2012.2

2012-10-04 Thread Bilel Msekni

Le 04/10/2012 14:51, Daviey Walker a écrit :

On 4 October 2012 13:02, Bilel Msekni  wrote:

Le 04/10/2012 13:56, Daviey Walker a écrit :

On 4 October 2012 12:51, Bilel Msekni  wrote:

Hi Stackers,

I am encountering a problem when i do this: apt-get -y install nova-common
nova-compute nova-volume nova-vncproxy nova-api nova-ajax-console-proxy
nova-cert nova-consoleauth nova-doc nova-scheduler nova-network

It replies back with : The following packages have unmet dependencies:
  nova-vncproxy : Depends: nova-common (=
2012.2+git201209200431~precise-0ubuntu1) but
2012.2+git201209250431~precise-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


Does anyone have an idea how to fix this ?



Where are you trying to install this from?

The following output would be helpful, please:
$ apt-cache policy nova-common

This is what  apt-cache policy nova-common is giving me :
==
nova-common:
   Installed: 2012.2-0ubuntu3~cloud0
   Candidate: 2012.2-0ubuntu3~cloud0
   Version table:
  *** 2012.2-0ubuntu3~cloud0 0
 500 http://ubuntu-cloud.archive.canonical.com/ubuntu/
precise-updates/folsom/main amd64 Packages
 100 /var/lib/dpkg/status
  2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 0
 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64
Packages
  2012.1+stable~20120612-3ee026e-0ubuntu1.3 0
 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64
Packages
  2012.1-0ubuntu2 0
 500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages


i am following the
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/
install guide so i am installing using the deb
http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom main

I am not the only one experiencing this problem, check this :
https://answers.launchpad.net/nova/+question/210171

Hi,

This seems to be a change introduced after Folsom milestone 3, which
the documentation reflects.  In your apt-get install line, can you
replace nova-vncproxy with nova-novncproxy.

Therefore:
$ sudo apt-get -y install nova-common nova-compute nova-volume
nova-novncproxy nova-api nova-ajax-console-proxy nova-cert
nova-consoleauth nova-doc nova-scheduler nova-network

Please let me know if this doesn't resolve the issue for you.

Thanks.


Your solution works like a charm.
I guess the documentation is really outdated, i will signal that.

___
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] Error in the OpenStack Folsom install guide

2012-10-04 Thread Bilel Msekni

Le 04/10/2012 14:55, Consonni, Marco a écrit :


Hello,

I would recommed to file the bug here: 
https://bugs.launchpad.net/openstack-manuals


You need to subscribe to launchpad.

Cheers,

MCo

*From:*openstack-bounces+marco.consonni=hp@lists.launchpad.net 
[mailto:openstack-bounces+marco.consonni=hp@lists.launchpad.net] 
*On Behalf Of *Bilel Msekni

*Sent:* Thursday, October 04, 2012 12:40 PM
*To:* openstack@lists.launchpad.net
*Subject:* [Openstack] Error in the OpenStack Folsom install guide

Hi all,

There is a mistake in the OpenStack Folsom install guide in this page :
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/images-verifying-install.html

First there is no glance --version command and moreover it shouldn't 
display back the Essex version :)




Okay, thanks :)
___
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] Error in the OpenStack Folsom install guide

2012-10-04 Thread Consonni, Marco
Hello,

I would recommed to file the bug here: 
https://bugs.launchpad.net/openstack-manuals

You need to subscribe to launchpad.

Cheers,
MCo



From: openstack-bounces+marco.consonni=hp@lists.launchpad.net 
[mailto:openstack-bounces+marco.consonni=hp@lists.launchpad.net] On Behalf 
Of Bilel Msekni
Sent: Thursday, October 04, 2012 12:40 PM
To: openstack@lists.launchpad.net
Subject: [Openstack] Error in the OpenStack Folsom install guide

Hi all,

There is a mistake in the OpenStack Folsom install guide in this page :
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/images-verifying-install.html

First there is no glance --version command and moreover it shouldn't display 
back the Essex version :)


___
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] Problem installing Nova 2012.2

2012-10-04 Thread Daviey Walker
On 4 October 2012 13:02, Bilel Msekni  wrote:
> Le 04/10/2012 13:56, Daviey Walker a écrit :
>
> On 4 October 2012 12:51, Bilel Msekni  wrote:
>
> Hi Stackers,
>
> I am encountering a problem when i do this: apt-get -y install nova-common
> nova-compute nova-volume nova-vncproxy nova-api nova-ajax-console-proxy
> nova-cert nova-consoleauth nova-doc nova-scheduler nova-network
>
> It replies back with : The following packages have unmet dependencies:
>  nova-vncproxy : Depends: nova-common (=
> 2012.2+git201209200431~precise-0ubuntu1) but
> 2012.2+git201209250431~precise-0ubuntu1 is to be installed
> E: Unable to correct problems, you have held broken packages.
>
>
> Does anyone have an idea how to fix this ?
>
> 
>
> Where are you trying to install this from?
>
> The following output would be helpful, please:
> $ apt-cache policy nova-common
>
> This is what  apt-cache policy nova-common is giving me :
> ==
> nova-common:
>   Installed: 2012.2-0ubuntu3~cloud0
>   Candidate: 2012.2-0ubuntu3~cloud0
>   Version table:
>  *** 2012.2-0ubuntu3~cloud0 0
> 500 http://ubuntu-cloud.archive.canonical.com/ubuntu/
> precise-updates/folsom/main amd64 Packages
> 100 /var/lib/dpkg/status
>  2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 0
> 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64
> Packages
>  2012.1+stable~20120612-3ee026e-0ubuntu1.3 0
> 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64
> Packages
>  2012.1-0ubuntu2 0
> 500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
> 
>
> i am following the
> http://docs.openstack.org/trunk/openstack-compute/install/apt/content/
> install guide so i am installing using the deb
> http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom main
>
> I am not the only one experiencing this problem, check this :
> https://answers.launchpad.net/nova/+question/210171

Hi,

This seems to be a change introduced after Folsom milestone 3, which
the documentation reflects.  In your apt-get install line, can you
replace nova-vncproxy with nova-novncproxy.

Therefore:
$ sudo apt-get -y install nova-common nova-compute nova-volume
nova-novncproxy nova-api nova-ajax-console-proxy nova-cert
nova-consoleauth nova-doc nova-scheduler nova-network

Please let me know if this doesn't resolve the issue for you.

Thanks.

-- 
Kind Regards,

Dave Walker 
Engineering Manager,
Ubuntu Server

___
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] File Injection through Horizon

2012-10-04 Thread Srikanth Kumar Lingala
Hi,
I am trying to implement File Injection through Openstack Dashboard. That
means, while creating instance from 'Launch Instance', I will give file
path of a file, which I need to inject.
For that, I modified the following file:

*/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py*
*
*
In the above file, in the function '*create*', I observed an argument '*
files*' wihch is taking 'None' by default. So, to test the primary
functionality, I gave the '*files*' argument statically in the function.
For that, the first line of that function (Line no. 472) implementation, I
defined '*files' *as below:

*fp = file('/root/inject.txt', 'r')*
*files = {'/root/inject.txt':fp}*
*
*
I followed two methods to create instance:
1. Through Openstack Dashboard
2. Through nova boot command from CLI

*Method 1:*
After that, I restarted apache, and tried to create (launch) an instance
from dashboard. It threw the following AJAX error, by clicking the Launch
button:

*Error: *There was an error submitting the form. Please try again.

*Method 2:*
If I did the same from nova boot command, the instance is creating and file
injection is happening. Both methods are using the same above function '*
create*' in '/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py'.

I used the following nova boot command:
*#> nova boot --flavor=1 --image=4671e99b-1c01-42e8-94d6-2405a59bab57
testserver*

Can you please let me know, what I am doing wrong here? And also, If I want
to implement File Injection through Openstack Dashboard, what I need to
modify?
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] Problem installing Nova 2012.2

2012-10-04 Thread Bilel Msekni

Le 04/10/2012 13:56, Daviey Walker a écrit :

On 4 October 2012 12:51, Bilel Msekni  wrote:

Hi Stackers,

I am encountering a problem when i do this: apt-get -y install nova-common
nova-compute nova-volume nova-vncproxy nova-api nova-ajax-console-proxy
nova-cert nova-consoleauth nova-doc nova-scheduler nova-network

It replies back with : The following packages have unmet dependencies:
  nova-vncproxy : Depends: nova-common (=
2012.2+git201209200431~precise-0ubuntu1) but
2012.2+git201209250431~precise-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


Does anyone have an idea how to fix this ?



Where are you trying to install this from?

The following output would be helpful, please:
$ apt-cache policy nova-common


This is what  apt-cache policy nova-common is giving me :
==
nova-common:
  Installed: 2012.2-0ubuntu3~cloud0
  Candidate: 2012.2-0ubuntu3~cloud0
  Version table:
 *** 2012.2-0ubuntu3~cloud0 0
500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ 
precise-updates/folsom/main amd64 Packages

100 /var/lib/dpkg/status
 2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main 
amd64 Packages

 2012.1+stable~20120612-3ee026e-0ubuntu1.3 0
500 http://security.ubuntu.com/ubuntu/ precise-security/main 
amd64 Packages

 2012.1-0ubuntu2 0
500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 
Packages



i am following the 
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/ 
install guide so i am installing using the _*deb 
http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom 
main*__


_I am not the only one experiencing this problem, check this : 
https://answers.launchpad.net/nova/+question/210171
___
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] Problem installing Nova 2012.2

2012-10-04 Thread Daviey Walker
On 4 October 2012 12:51, Bilel Msekni  wrote:
> Hi Stackers,
>
> I am encountering a problem when i do this: apt-get -y install nova-common
> nova-compute nova-volume nova-vncproxy nova-api nova-ajax-console-proxy
> nova-cert nova-consoleauth nova-doc nova-scheduler nova-network
>
> It replies back with : The following packages have unmet dependencies:
>  nova-vncproxy : Depends: nova-common (=
> 2012.2+git201209200431~precise-0ubuntu1) but
> 2012.2+git201209250431~precise-0ubuntu1 is to be installed
> E: Unable to correct problems, you have held broken packages.
>
>
> Does anyone have an idea how to fix this ?


Where are you trying to install this from?

The following output would be helpful, please:
$ apt-cache policy nova-common

-- 
Kind Regards,

Dave Walker 
Engineering Manager,
Ubuntu Server

___
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] Problem installing Nova 2012.2

2012-10-04 Thread Bilel Msekni

Hi Stackers,

I am encountering a problem when i do this: _apt-get -y install 
nova-common nova-compute nova-volume nova-vncproxy nova-api 
nova-ajax-console-proxy nova-cert nova-consoleauth nova-doc 
nova-scheduler nova-network_


It replies back with : _The following packages have unmet dependencies:__
__ nova-vncproxy : Depends: nova-common (= 
2012.2+git201209200431~precise-0ubuntu1) but 
2012.2+git201209250431~precise-0ubuntu1 is to be installed__

__E: Unable to correct problems, you have held broken packages._


Does anyone have an idea how to fix this ?
___
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] File Injection through Horizon

2012-10-04 Thread Scott Moser
On Wed, 3 Oct 2012, Kiall Mac Innes wrote:

> Ah - I had meant the RHEL version :)

Josh Harlow has done no small amount of work, and also had some aid from
Garret Holstrom.  Josh is using cloud-init 0.7.0 on RHEL/Fedora.

He can certainly provide more details.

___
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] When will the distro (specifically Ubuntu) have package for Folsom release

2012-10-04 Thread Atul Jha

John,
I think i merged that few days back. I need to re check that.  :)


sudo apt-get install ubuntu-cloud-keyring


Cheers!!

Atul Jha



Cheers,
John

> -Original Message-
> From: openstack-bounces+john.garbutt=citrix@lists.launchpad.net
> [mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net] On
> Behalf Of John Garbutt
> Sent: Thursday, October 4, 2012 10:38 AM
> To: Atul Jha; David Kranz; openstack@lists.launchpad.net
> Subject: Re: [Openstack] When will the distro (specifically Ubuntu) have 
> package
> for Folsom release
>
> Actually, that work around isn't working for me:
>
> apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 5EDB1B62EC4926EA
> ...
> gpgkeys: HTTP fetch error 7: couldn't connect: Connection refused
> gpg: no valid OpenPGP data found.
> gpg: Total number processed: 0
>
> I am assuming this is because of the company firewall.
>
> Turns out you can get the key via the keyservers web GUI if you search for
> "cloud archive":
> http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x5EDB1B62E
> C4926EA
> Then, obviously, apt-key add to the above and you are up and running.
>
> Cheers,
> John
>
> > -Original Message-
> > From: openstack-bounces+john.garbutt=citrix@lists.launchpad.net
> > [mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net]
> > On Behalf Of Atul Jha
> > Sent: Thursday, October 4, 2012 7:31 AM
> > To: David Kranz; openstack@lists.launchpad.net
> > Subject: Re: [Openstack] When will the distro (specifically Ubuntu)
> > have package for Folsom release
> >
> > David,
> >
> > Did you had chance to check the OpenStack Documentation ?
> > We updated the ubuntu install doc next day Foslom released.
> >
> > http://docs.openstack.org/trunk/openstack-
> > compute/install/apt/content/ap_installingfolsomubuntuprecise.html
> >
> > Since Quantum has still not made to the cloud repo we have used
> > nova-network in the doc, we are testing it everyday and will update
> > the doc once we have it well tested.
> >
> > We exclusively mentioned solution of the issue you had. It gives me a
> > feeling people without visiting doc site come here and shoot there 
> > questions.
> >
> > Not good for documentation contributors i suppose. :(
> >
> > Sincere request check the doc/file bug and let us know what we are
> > missing before jumping the list with issue.
> >
> > Thanks!!
> >
> > Atul Jha
> >
> > 
> > From: openstack-bounces+atul.jha=csscorp@lists.launchpad.net
> > [openstack-bounces+atul.jha=csscorp@lists.launchpad.net] on behalf
> > of David Kranz [david.kr...@qrclab.com]
> > Sent: Thursday, October 04, 2012 12:36 AM
> > To: openstack@lists.launchpad.net
> > Subject: Re: [Openstack] When will the distro (specifically Ubuntu)
> > have package for Folsom release
> >
> > I am really confused about this. There are two pages that suggest the
> > cloud archive is ready to use:
> >
> > http://blog.canonical.com/2012/09/14/now-you-can-have-your-openstack-
> > cake-and-eat-it/
> > https://wiki.ubuntu.com/ServerTeam/CloudArchive
> >
> > What they tell you to put in /etc/apt/sources.list is different, but
> > both give errors like this after putting the lines in and doing 'apt-get 
> > update':
> >
> > Reading package lists... Done
> > W: GPG error: http://ubuntu-cloud.archive.canonical.com precise-
> > proposed/folsom Release: The following signatures couldn't be verified
> > because the public key is not available: NO_PUBKEY 5EDB1B62EC4926EA
> > W: GPG error: http://ubuntu-cloud.archive.canonical.com precise-
> > updates/folsom Release: The following signatures couldn't be verified
> > because the public key is not available: NO_PUBKEY 5EDB1B62EC4926EA u
> >
> > Can any one in the know explain what the real story about this? Or am
> > I just doing something wrong?
> >
> >  -David
> >
> >
> >
> > On 10/1/2012 1:20 PM, Nathanael Burton wrote:
> >
> > >From the release notes:
> >
> >http://wiki.openstack.org/ReleaseNotes/Folsom#Ubuntu_12.04_.2BAC8_Ubu
> > >n
> > t
> > >u_12.10
> >
> > On Oct 1, 2012 1:17 PM, "Matt Joyce"
> > mailto:matt.jo...@cloudscaling.com>>
> wrote:
> > I am not sure "indecently" was the word you were looking for there.
> > But I gather you are asking if Ubuntu is packaging folsom on their own
> > (as in it's not part of openstack).  So yes, Ubuntu is packaging
> > folsom on their own.  And I assume ubuntu will let people know when
> > they are done packaging.  They tend to be pretty good about that sort of
> thing.
> >
> > -Matt
> >
> > On Mon, Oct 1, 2012 at 10:02 AM, Ahmed Al-Mehdi
> > mailto:ah...@coraid.com>> wrote:
> > Hello,
> >
> > Does anybody know when will the distress, specifically Ubuntu, have
> > packages for the OpenStack Folsom release.  Is this effort done
> > indecently of OpenStack by Ubuntu and the release date will be mentioned on
> Ubuntu's website?
> >
> > Regards,
> > Ahmed.
> >
> >
> > ___
> > Maili

[Openstack] Error in the OpenStack Folsom install guide

2012-10-04 Thread Bilel Msekni

Hi all,

There is a mistake in the OpenStack Folsom install guide in this page :
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/images-verifying-install.html

First there is no glance --version command and moreover it shouldn't 
display back the Essex version :)




___
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] When will the distro (specifically Ubuntu) have package for Folsom release

2012-10-04 Thread John Garbutt
My bad, I missed DaveW's much easier method:

sudo apt-get install ubuntu-cloud-keyring

Cheers,
John

> -Original Message-
> From: openstack-bounces+john.garbutt=citrix@lists.launchpad.net
> [mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net] On
> Behalf Of John Garbutt
> Sent: Thursday, October 4, 2012 10:38 AM
> To: Atul Jha; David Kranz; openstack@lists.launchpad.net
> Subject: Re: [Openstack] When will the distro (specifically Ubuntu) have 
> package
> for Folsom release
> 
> Actually, that work around isn't working for me:
> 
> apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 5EDB1B62EC4926EA
> ...
> gpgkeys: HTTP fetch error 7: couldn't connect: Connection refused
> gpg: no valid OpenPGP data found.
> gpg: Total number processed: 0
> 
> I am assuming this is because of the company firewall.
> 
> Turns out you can get the key via the keyservers web GUI if you search for
> "cloud archive":
> http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x5EDB1B62E
> C4926EA
> Then, obviously, apt-key add to the above and you are up and running.
> 
> Cheers,
> John
> 
> > -Original Message-
> > From: openstack-bounces+john.garbutt=citrix@lists.launchpad.net
> > [mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net]
> > On Behalf Of Atul Jha
> > Sent: Thursday, October 4, 2012 7:31 AM
> > To: David Kranz; openstack@lists.launchpad.net
> > Subject: Re: [Openstack] When will the distro (specifically Ubuntu)
> > have package for Folsom release
> >
> > David,
> >
> > Did you had chance to check the OpenStack Documentation ?
> > We updated the ubuntu install doc next day Foslom released.
> >
> > http://docs.openstack.org/trunk/openstack-
> > compute/install/apt/content/ap_installingfolsomubuntuprecise.html
> >
> > Since Quantum has still not made to the cloud repo we have used
> > nova-network in the doc, we are testing it everyday and will update
> > the doc once we have it well tested.
> >
> > We exclusively mentioned solution of the issue you had. It gives me a
> > feeling people without visiting doc site come here and shoot there 
> > questions.
> >
> > Not good for documentation contributors i suppose. :(
> >
> > Sincere request check the doc/file bug and let us know what we are
> > missing before jumping the list with issue.
> >
> > Thanks!!
> >
> > Atul Jha
> >
> > 
> > From: openstack-bounces+atul.jha=csscorp@lists.launchpad.net
> > [openstack-bounces+atul.jha=csscorp@lists.launchpad.net] on behalf
> > of David Kranz [david.kr...@qrclab.com]
> > Sent: Thursday, October 04, 2012 12:36 AM
> > To: openstack@lists.launchpad.net
> > Subject: Re: [Openstack] When will the distro (specifically Ubuntu)
> > have package for Folsom release
> >
> > I am really confused about this. There are two pages that suggest the
> > cloud archive is ready to use:
> >
> > http://blog.canonical.com/2012/09/14/now-you-can-have-your-openstack-
> > cake-and-eat-it/
> > https://wiki.ubuntu.com/ServerTeam/CloudArchive
> >
> > What they tell you to put in /etc/apt/sources.list is different, but
> > both give errors like this after putting the lines in and doing 'apt-get 
> > update':
> >
> > Reading package lists... Done
> > W: GPG error: http://ubuntu-cloud.archive.canonical.com precise-
> > proposed/folsom Release: The following signatures couldn't be verified
> > because the public key is not available: NO_PUBKEY 5EDB1B62EC4926EA
> > W: GPG error: http://ubuntu-cloud.archive.canonical.com precise-
> > updates/folsom Release: The following signatures couldn't be verified
> > because the public key is not available: NO_PUBKEY 5EDB1B62EC4926EA u
> >
> > Can any one in the know explain what the real story about this? Or am
> > I just doing something wrong?
> >
> >  -David
> >
> >
> >
> > On 10/1/2012 1:20 PM, Nathanael Burton wrote:
> >
> > >From the release notes:
> >
> >http://wiki.openstack.org/ReleaseNotes/Folsom#Ubuntu_12.04_.2BAC8_Ubu
> > >n
> > t
> > >u_12.10
> >
> > On Oct 1, 2012 1:17 PM, "Matt Joyce"
> > mailto:matt.jo...@cloudscaling.com>>
> wrote:
> > I am not sure "indecently" was the word you were looking for there.
> > But I gather you are asking if Ubuntu is packaging folsom on their own
> > (as in it's not part of openstack).  So yes, Ubuntu is packaging
> > folsom on their own.  And I assume ubuntu will let people know when
> > they are done packaging.  They tend to be pretty good about that sort of
> thing.
> >
> > -Matt
> >
> > On Mon, Oct 1, 2012 at 10:02 AM, Ahmed Al-Mehdi
> > mailto:ah...@coraid.com>> wrote:
> > Hello,
> >
> > Does anybody know when will the distress, specifically Ubuntu, have
> > packages for the OpenStack Folsom release.  Is this effort done
> > indecently of OpenStack by Ubuntu and the release date will be mentioned on
> Ubuntu's website?
> >
> > Regards,
> > Ahmed.
> >
> >
> > ___
> > Mailing list:
> > https://launchpad.net/~openstack<

Re: [Openstack] When will the distro (specifically Ubuntu) have package for Folsom release

2012-10-04 Thread John Garbutt
Actually, that work around isn't working for me:

apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 5EDB1B62EC4926EA
...
gpgkeys: HTTP fetch error 7: couldn't connect: Connection refused
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

I am assuming this is because of the company firewall.

Turns out you can get the key via the keyservers web GUI if you search for 
"cloud archive":
http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x5EDB1B62EC4926EA
Then, obviously, apt-key add to the above and you are up and running.

Cheers,
John

> -Original Message-
> From: openstack-bounces+john.garbutt=citrix@lists.launchpad.net
> [mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net] On
> Behalf Of Atul Jha
> Sent: Thursday, October 4, 2012 7:31 AM
> To: David Kranz; openstack@lists.launchpad.net
> Subject: Re: [Openstack] When will the distro (specifically Ubuntu) have 
> package
> for Folsom release
> 
> David,
> 
> Did you had chance to check the OpenStack Documentation ?
> We updated the ubuntu install doc next day Foslom released.
> 
> http://docs.openstack.org/trunk/openstack-
> compute/install/apt/content/ap_installingfolsomubuntuprecise.html
> 
> Since Quantum has still not made to the cloud repo we have used nova-network
> in the doc, we are testing it everyday and will update the doc once we have it
> well tested.
> 
> We exclusively mentioned solution of the issue you had. It gives me a feeling
> people without visiting doc site come here and shoot there questions.
> 
> Not good for documentation contributors i suppose. :(
> 
> Sincere request check the doc/file bug and let us know what we are missing
> before jumping the list with issue.
> 
> Thanks!!
> 
> Atul Jha
> 
> 
> From: openstack-bounces+atul.jha=csscorp@lists.launchpad.net
> [openstack-bounces+atul.jha=csscorp@lists.launchpad.net] on behalf of
> David Kranz [david.kr...@qrclab.com]
> Sent: Thursday, October 04, 2012 12:36 AM
> To: openstack@lists.launchpad.net
> Subject: Re: [Openstack] When will the distro (specifically Ubuntu) have 
> package
> for Folsom release
> 
> I am really confused about this. There are two pages that suggest the cloud
> archive is ready to use:
> 
> http://blog.canonical.com/2012/09/14/now-you-can-have-your-openstack-
> cake-and-eat-it/
> https://wiki.ubuntu.com/ServerTeam/CloudArchive
> 
> What they tell you to put in /etc/apt/sources.list is different, but both give
> errors like this after putting the lines in and doing 'apt-get update':
> 
> Reading package lists... Done
> W: GPG error: http://ubuntu-cloud.archive.canonical.com precise-
> proposed/folsom Release: The following signatures couldn't be verified because
> the public key is not available: NO_PUBKEY 5EDB1B62EC4926EA
> W: GPG error: http://ubuntu-cloud.archive.canonical.com precise-
> updates/folsom Release: The following signatures couldn't be verified because
> the public key is not available: NO_PUBKEY 5EDB1B62EC4926EA u
> 
> Can any one in the know explain what the real story about this? Or am I just
> doing something wrong?
> 
>  -David
> 
> 
> 
> On 10/1/2012 1:20 PM, Nathanael Burton wrote:
> 
> >From the release notes:
> >http://wiki.openstack.org/ReleaseNotes/Folsom#Ubuntu_12.04_.2BAC8_Ubun
> t
> >u_12.10
> 
> On Oct 1, 2012 1:17 PM, "Matt Joyce"
> mailto:matt.jo...@cloudscaling.com>> wrote:
> I am not sure "indecently" was the word you were looking for there.  But I
> gather you are asking if Ubuntu is packaging folsom on their own (as in it's 
> not
> part of openstack).  So yes, Ubuntu is packaging folsom on their own.  And I
> assume ubuntu will let people know when they are done packaging.  They tend
> to be pretty good about that sort of thing.
> 
> -Matt
> 
> On Mon, Oct 1, 2012 at 10:02 AM, Ahmed Al-Mehdi
> mailto:ah...@coraid.com>> wrote:
> Hello,
> 
> Does anybody know when will the distress, specifically Ubuntu, have packages
> for the OpenStack Folsom release.  Is this effort done indecently of OpenStack
> by Ubuntu and the release date will be mentioned on Ubuntu's website?
> 
> Regards,
> Ahmed.
> 
> 
> ___
> 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/~opens

Re: [Openstack] instance + shutdown state

2012-10-04 Thread John Garbutt
I would have a look at the VM console for the image during the boot process to 
see what is happening.

What you might find is that it is failing to boot (for some reason) then 
shutting down the instance because of the boot failure.

Where did you get that Ubuntu image?

Thanks,
John

From: openstack-bounces+john.garbutt=citrix@lists.launchpad.net 
[mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net] On 
Behalf Of Afef MDHAFFAR
Sent: Wednesday, October 3, 2012 9:49 PM
To: openstack@lists.launchpad.net
Subject: [Openstack] instance + shutdown state

Hi all,

I installed openstack on ubuntu 12.04 (with XCP). I created an ubuntu image 
(Raw).
When I try to launch an instance, while using the ubuntu image, I get the state 
"shutdown" for the instance.
Rebooting the instance does not solve the problem, because the instance is 
still unavailable.
My log file shows this error:

2012-10-03 20:19:31 ERROR nova.manager [-] Error during 
ComputeManager._poll_bandwidth_usage: 'module' object has no attribute 
'fetch_bandwidth'
2012-10-03 20:19:31 TRACE nova.manager Traceback (most recent call last):
2012-10-03 20:19:31 TRACE nova.manager   File 
"/opt/stack/nova/nova/manager.py", line 175, in periodic_tasks
2012-10-03 20:19:31 TRACE nova.manager task(self, context)
2012-10-03 20:19:31 TRACE nova.manager   File 
"/opt/stack/nova/nova/compute/manager.py", line 2543, in _poll_bandwidth_usage
2012-10-03 20:19:31 TRACE nova.manager bw_counters = 
self.driver.get_all_bw_counters(instances)
2012-10-03 20:19:31 TRACE nova.manager   File 
"/opt/stack/nova/nova/virt/xenapi/driver.py", line 313, in get_all_bw_counters
2012-10-03 20:19:31 TRACE nova.manager all_counters = 
self._vmops.get_all_bw_counters()
2012-10-03 20:19:31 TRACE nova.manager   File 
"/opt/stack/nova/nova/virt/xenapi/vmops.py", line 1221, in get_all_bw_counters
2012-10-03 20:19:31 TRACE nova.manager counters = 
vm_utils.fetch_bandwidth(self._session)
2012-10-03 20:19:31 TRACE nova.manager AttributeError: 'module' object has no 
attribute 'fetch_bandwidth'
2012-10-03 20:19:31 TRACE nova.manager
---
Would you please help me to fix this problem?

Thank you,
Afef


___
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] fails to launch instance

2012-10-04 Thread John Garbutt
There are a few bugs with Raw images Mate is working though at the moment (see 
folsom release notes too):
https://bugs.launchpad.net/nova/+bug/1055413
https://bugs.launchpad.net/nova/+bug/1055431

Maybe you are hitting those bugs?
How new is the version of nova you are running?
Can you give us the glance cli output for your image showing all the metadata 
(or the horizon view)?

Thanks,
John

From: openstack-bounces+john.garbutt=citrix@lists.launchpad.net 
[mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net] On 
Behalf Of Afef MDHAFFAR
Sent: Wednesday, October 3, 2012 4:45 PM
To: openstack@lists.launchpad.net
Subject: [Openstack] fails to launch instance

Hi all,

I am running openstack on Ubuntu 12.04 (with XCP).
I create an ubuntu image (Raw). The creation of the image is successful. 
However, when I try to launch an instance using this image, I get this error:
-
2012-10-03 15:39:15 DEBUG nova.virt.xenapi.vm_utils 
[req-ad542f39-2dff-4567-ae6b-9e11b692781a admin demo] [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] Fetched VDIs of type 'os_raw' with UUID 
'5674bc5f-4649-435f-9be0-b1aeee201a17' from (pid=5918) _fetch_image 
/opt/stack/nova/nova/virt/xenapi/vm_utils.py:948
2012-10-03 15:39:15 ERROR nova.utils [req-ad542f39-2dff-4567-ae6b-9e11b692781a 
admin demo] [instance: ea4d2039-64c3-4f6f-a866-84db1f0e3693] Failed to spawn, 
rolling back
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] Traceback (most recent call last):
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]   File 
"/opt/stack/nova/nova/virt/xenapi/vmops.py", line 355, in spawn
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] vdis = create_disks_step(undo_mgr)
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]   File 
"/opt/stack/nova/nova/virt/xenapi/vmops.py", line 139, in inner
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] rv = f(*args, **kwargs)
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]   File 
"/opt/stack/nova/nova/virt/xenapi/vmops.py", line 257, in create_disks_step
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] image_meta, block_device_info)
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]   File 
"/opt/stack/nova/nova/virt/xenapi/vmops.py", line 224, in _create_disks
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] block_device_info=block_device_info)
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]   File 
"/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 427, in 
get_vdis_for_instance
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] image_type)
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]   File 
"/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 919, in _create_image
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] image_id, image_type)
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]   File 
"/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 843, in 
_create_cached_image
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] root_vdi = vdis['root']
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] KeyError: 'root'
2012-10-03 15:39:15 TRACE nova.utils [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]
2012-10-03 15:39:15 ERROR nova.compute.manager 
[req-ad542f39-2dff-4567-ae6b-9e11b692781a admin demo] [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] Instance failed to spawn
2012-10-03 15:39:15 TRACE nova.compute.manager [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] Traceback (most recent call last):
2012-10-03 15:39:15 TRACE nova.compute.manager [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]   File 
"/opt/stack/nova/nova/compute/manager.py", line 748, in _spawn
2012-10-03 15:39:15 TRACE nova.compute.manager [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] block_device_info)
2012-10-03 15:39:15 TRACE nova.compute.manager [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]   File 
"/opt/stack/nova/nova/virt/xenapi/driver.py", line 179, in spawn
2012-10-03 15:39:15 TRACE nova.compute.manager [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] admin_password, network_info, 
block_device_info)
2012-10-03 15:39:15 TRACE nova.compute.manager [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693]   File 
"/opt/stack/nova/nova/virt/xenapi/vmops.py", line 369, in spawn
2012-10-03 15:39:15 TRACE nova.compute.manager [instance: 
ea4d2039-64c3-4f6f-a866-84db1f0e3693] 
undo_mgr.rollback_and_reraise(msg=msg, instance=instance)
2012-10-03 15:39:15 TRACE nova.compute.ma

[Openstack] Multi host nova-networking and local DNS resolving

2012-10-04 Thread Doude
Hi all,

I saw this question : https://answers.launchpad.net/nova/+question/197603
Is it still true ? If yes, which workaround is possible ?

Regards,
Doude.

___
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] Network IP address setting in nova.conf file

2012-10-04 Thread Jānis Ģeņģeris
Hello Ahmed,

On Thu, Oct 4, 2012 at 9:08 AM, Ahmed Al-Mehdi  wrote:

> Hi Anne,
>
> Thank you for the explanation.  A few follow-up question:
>
> 1. Is the set of IP address mentioned by fixed_range distributed over all
> the Compute Nodes. E.g., a VM on Compute Node1 would get an IP address
> from this range.  Another VM instance on Compute Node2 would get an IP
> address from this same range.  Is that right?
>
I think it depends on configuration, but with standard setup as described
in docs, it's done exactly as you think.

2. Pardon my ignorance, what does POC stand for?
>
It might be Proof Of Concept , depends on context.


> 3. br100 interface can be created on a Native Ubuntu server also, not
> necessarily on VM in VirtualBox, right?


> 4. The br100 interface is only applicable to the Computer Node, not the
> Controller Node, right?
>
http://docs.openstack.org/essex/openstack-compute/admin/content/libvirt-flat-dhcp-networking.html
This image gives good illustration about the responsibilities assigned to
br100.

As I understand then br100 is interface where the VM network will be
plugged in. It makes sens of having it only on compute nodes. But you can
assign addresses from different subnets to the bridge, and make the
instances accessible from the controller node as well.


>
> 5. The command to create the network for compute VMs - "nova-manage
> network create Š." is executed on the Compute Node, right?

nova-manage works with the configured database and uses your nova.conf for
getting the db dsn. It is independent from compute nodes. It depends on
network configuration what happens later and where it's executed. I think
nova-network service is working with all the network stuff if you are not
using quantum. But I might be wrong here.




> 6. In my setup, one physical host will be the Controller Node, one
> physical host is the Compute Node, and I might add another physical host
> to be the Compute Node.  In this setup, what I the recommended setup for
> public_interface?  Or does that depend on the number of NIC ports on the
> physical host?
>
The public interface is where the floating IPs are handled. Better make it
separate, although I have red that people have managed to make compute
nodes with single interface, it might be more painful to setup.


>
> Thank you,
> Ahmed.
>
>
>
> On 10/3/12 8:26 PM, "Anne Gentle"  wrote:
>
> >Hi Ahmed -
> >
> >I have logged a doc bug to clear up this mismatch:
> >https://bugs.launchpad.net/openstack-manuals/+bug/1061352.
> >
> >Appreciate you asking!
> >
> >Here's some explanation for each setting.
> >fixed_range - fixed block of IP addresses handed out to VMs as they're
> >provisioned. So these could be a 10.0.0.0/4 block if you want, or the
> >192... block.
> >public_interface - some say this needs to be a physical nic, but when
> >you're running a POC on a VM on a laptop in VirtualBox for example, it
> >can be br100. It's what DevStack defaults to. This setting indicates
> >the interface nova-network uses to send the floating ip traffic on the
> >correct network. So if you have nova-network on each compute node then
> >yes, it belongs on the compute node.
> >
> >The Install/deploy guide walks through Flat DHCP as the network
> >manager. If you use --network_bridge=br100 when you run the
> >nova-manage network command, nova will set up the bridge for you. This
> >example command uses 192.168.100.0/24 for the fixed range of IP
> >addresses:
> >
> http://docs.openstack.org/trunk/openstack-compute/install/apt/content/comp
> >ute-create-network.html
> >
> >Hope this helps.
> >
> >Others on the list, feel free to correct my explanations as needed!
> >Thanks,
> >Anne
> >
> >On Wed, Oct 3, 2012 at 6:46 PM, Ahmed Al-Mehdi  wrote:
> >> Hello,
> >>
> >> I am following the steps in "OpenStack Install and Deploy ­ RedHat
> >>Ubuntu"
> >> (Folsom) to setup a Controller node.  The section "Configuring OpenStack
> >> Compute" (
> >>
> >>
> http://docs.openstack.org/trunk/openstack-compute/install/apt/content/com
> >>pute-minimum-configuration-settings.html
> >> )  gives a snippet of an example of the values of parameters in the
> >> nova.conf file.
> >>
> >> The document first lists some common settings in nova.conf file.  I am
> >> highlighting the following two which I am concerned about:
> >>
> >> fixed_range=192.168.100.0/24
> >> public_interface=eth0
> >>
> >> The Document right after gives the whole content of a sample (usable)
> >> nova.conf file for the Controller Node, in which the above settings are
> >>set
> >> as follows:
> >>
> >> fixed_range=10.0.0.0/24
> >> public_interface=br100
> >>
> >> I am assuming "fixed_range=192.168.100.0/24" is the correct setting.
> >> However, can someone please help as to the correct setting of
> >> "public_interface".   And the same setting value would be applicable
> >>for the
> >> Compute Node, is that right?
> >>
> >> Thank you very much in advance.
> >>
> >> Regards,
> >>
> >> Ahmed.
> >>
> >>
> >>
> >>