Re: [Openstack] Glance question

2013-04-22 Thread JuanFra Rodriguez Cardoso
Hi:

From openstack docs:

"The Nova API code has been written as a Web Server Gateway Interface
(WSGI), is basically a specification for running Python code from web
or application servers. Nova/Glance/Keystone make use of the paste
deploy system in Python. Paste Deployment is a system for finding and
configuring WSGI applications and servers. For WSGI application
consumers it provides a single, simple function (loadapp) for loading
a WSGI application from a configuration file or a Python Egg. For WSGI
application providers it only asks for a single, simple entry point to
your application, so that application users don’t need to be exposed
to the implementation details of your application."

Regards,
---
JuanFra


2013/4/20 marcio assis :
> Hellow, First, sorry my bad english. I litle confuse about the glance config
> files. Whats the diference between glance-api.conf and glance-api-past.conf?
> Tks Regards
>
>
> ___
> 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] Documentations for installing Grizzly release on CentOS/RedHat

2013-04-22 Thread Ashutosh Narayan
Hi Folks,

I want to install Grizzly release of OpenStack on CentOS 6.3
I am unable to source out any documentations pertaining to it.
The OpenStack documentation home page has the one for Folsom release.
Can someone point me to a step by step documentation for the same ?

Thank you,
-- 
Ashutosh Narayan

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


Re: [Openstack] Documentations for installing Grizzly release on CentOS/RedHat

2013-04-22 Thread Shake Chen
http://openstack.redhat.com/Quickstart


On Mon, Apr 22, 2013 at 4:49 PM, Ashutosh Narayan <
aashutoshnara...@gmail.com> wrote:

> Hi Folks,
>
> I want to install Grizzly release of OpenStack on CentOS 6.3
> I am unable to source out any documentations pertaining to it.
> The OpenStack documentation home page has the one for Folsom release.
> Can someone point me to a step by step documentation for the same ?
>
> Thank you,
> --
> Ashutosh Narayan
>
> http://ashutoshn.wordpress.com/
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Shake Chen
___
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] [quantum][folsom] error with dhcp agent

2013-04-22 Thread Syed Armani
Hi Gary,

> # cat openvswitch-agent.log
> 2013-04-11 12:53:22 INFO [quantum.common.config] Logging enabled!
> 2013-04-11 12:53:22 INFO
> [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Bridge mappings: {}
> 2013-04-11 12:53:22ERROR [quantum.agent.linux.ovs_lib] Unable to
> execute ['ovs-vsctl', '--timeout=2', '--', '--if-exists', 'del-port',
> 'br-int', 'patch-tun']. Exception:
> Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf',
> 'ovs-vsctl', '--timeout=2', '--', '--if-exists', 'del-port', 'br-int',
> 'patch-tun']
> Exit code: 1
> Stdout: ''
>
>
> Are you using the Grizzly packages? This issue was fixed a few days ago.
>
>
I am facing this issue, Could you please point out where this issue was
reported and how it was fixed.

Best regards,
Syed
___
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] Documentations for installing Grizzly release on CentOS/RedHat

2013-04-22 Thread Matthias Runge
On 04/22/2013 10:49 AM, Ashutosh Narayan wrote:
> Hi Folks,
> 
> I want to install Grizzly release of OpenStack on CentOS 6.3
> I am unable to source out any documentations pertaining to it.
> The OpenStack documentation home page has the one for Folsom release.
> Can someone point me to a step by step documentation for the same ?
> 

You might want to look at
http://openstack.redhat.com/Quickstart

It's all there, packages, docs, a forum,...

Matthias

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


Re: [Openstack] Documentations for installing Grizzly release on CentOS/RedHat

2013-04-22 Thread Ashutosh Narayan
Yes, I am following the same link.

Thank you,

On Mon, Apr 22, 2013 at 2:31 PM, Matthias Runge  wrote:

> On 04/22/2013 10:49 AM, Ashutosh Narayan wrote:
> > Hi Folks,
> >
> > I want to install Grizzly release of OpenStack on CentOS 6.3
> > I am unable to source out any documentations pertaining to it.
> > The OpenStack documentation home page has the one for Folsom release.
> > Can someone point me to a step by step documentation for the same ?
> >
>
> You might want to look at
> http://openstack.redhat.com/Quickstart
>
> It's all there, packages, docs, a forum,...
>
> Matthias
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Ashutosh Narayan

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


[Openstack] Does OpenStack Folsom support OCCI ?

2013-04-22 Thread Giuseppe La Rocca

Dear All,

I've successfully installed OpenStack for CentOS 6.3 (Folsom) and now I 
was trying
to add the OCCI support since we want to implement some APIs for testing 
the interoperability

with other cloud solutions.

I was following the instructions reported in this link: 
https://github.com/tmetsch/occi-os and
suggested by Florian Feldhaus. Unfortunately the distribution i was 
looking for (occi-os-folsom)

seems not be available in the repo.

$ pip-python install occi-os-folsom
Downloading/unpacking occi-os-folsom
  Could not find any downloads that satisfy the requirement occi-os-folsom
*No distributions at all found for occi-os-folsom*
Storing complete log in /root/.pip/pip.log

From repo the only available distribution is the previous one ..

$ pip-python install openstackocci
Downloading/unpacking openstackocci
*Downloading openstackocci-essex-1.1.tar.gz*
  Running setup.py egg_info for package openstackocci
Requirement already satisfied (use --upgrade to upgrade): distribute in 
/usr/lib/python2.6/site-packages (from openstackocci)

Installing collected packages: openstackocci
  Running setup.py install for openstackocci
Successfully installed openstackocci
Cleaning up...

The problem is that with this previous one nova-api fails to start. See 
below the nova's api log file:


$ cat /var/log/nova/api.log
[..]
2013-04-12 10:05:05 9107 INFO keystone.middleware.auth_token [-] 
Starting keystone auth_token middleware
2013-04-12 10:05:05 9107 INFO keystone.middleware.auth_token [-] Using 
/tmp/keystone-signing-nova as cache directory for signing certificate
2013-04-12 10:05:05 9107 INFO nova.wsgi [-] osapi_volume listening on 
0.0.0.0:8776

2013-04-12 10:05:05 9107 INFO nova.service [-] Starting 1 workers
2013-04-12 10:05:05 9107 INFO nova.service [-] Started child 9329
2013-04-12 10:05:05 9107 DEBUG nova.wsgi [-] Loading app occiapi from 
/etc/nova/api-paste.ini load_app 
/usr/lib/python2.6/site-packages/nova/wsgi.py:371
2013-04-12 10:05:05 9329 INFO nova.osapi_volume.wsgi.server [-] (9329) 
wsgi starting up on http://0.0.0.0:8776/


2013-04-12 10:05:05 9107 *CRITICAL nova [-] occi-os-folsom*
2013-04-12 10:05:05 9107 TRACE nova Traceback (most recent call last):
2013-04-12 10:05:05 9107 TRACE nova   File "/usr/bin/nova-api", line 50, 
in 

2013-04-12 10:05:05 9107 TRACE nova server = service.WSGIService(api)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/nova/service.py", line 577, in __init__
2013-04-12 10:05:05 9107 TRACE nova self.app = 
self.loader.load_app(name)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/nova/wsgi.py", line 372, in load_app
2013-04-12 10:05:05 9107 TRACE nova return 
deploy.loadapp("config:%s" % self.config_path, name=name)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 247, in loadapp
2013-04-12 10:05:05 9107 TRACE nova return loadobj(APP, uri, 
name=name, **kw)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 272, in loadobj

2013-04-12 10:05:05 9107 TRACE nova return context.create()
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 710, in create

2013-04-12 10:05:05 9107 TRACE nova return self.object_type.invoke(self)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 144, in invoke

2013-04-12 10:05:05 9107 TRACE nova **context.local_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/util.py", 
line 56, in fix_call

2013-04-12 10:05:05 9107 TRACE nova val = callable(*args, **kw)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/paste/urlmap.py", line 25, in 
urlmap_factory
2013-04-12 10:05:05 9107 TRACE nova app = loader.get_app(app_name, 
global_conf=global_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 350, in get_app
2013-04-12 10:05:05 9107 TRACE nova name=name, 
global_conf=global_conf).create()
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 362, in app_context
2013-04-12 10:05:05 9107 TRACE nova APP, name=name, 
global_conf=global_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 450, in get_context

2013-04-12 10:05:05 9107 TRACE nova global_additions=global_additions)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 559, in _pipeline_ap

Re: [Openstack] Patch not applied to grizzly?

2013-04-22 Thread Thierry Carrez
Dennis Jacobfeuerborn wrote:
> I just deployed my first openstack controller using the puppet modules
> from stackforge and the grizzly packages from RDO and it seems there is
> a problem that apparently has been fixed but that fix didn't make it
> into grizzly.
> 
> Since this is a controller node there is no cinder-volumes service
> running yet. As a result when I try to create a volume openstack tries
> to create a volume which then gets stuck in the "creating" stage and
> cannot be deleted.
> 
> The issue is described here:
> https://bugs.launchpad.net/nova/+bug/1053931
> 
> While the bug has been marked as fixed I still see this with my grizzly
> setup.

That would be a regression, since the patch for that bug landed in
Cinder and is apparently still there.

Could you file a new bug, referencing the original bug, at:
https://bugs.launchpad.net/cinder/+filebug

Thanks in advance,

-- 
Thierry Carrez (ttx)
Release Manager, OpenStack

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


Re: [Openstack] [openstack-community] Q: Red Hat OpenStack Cloud Infrastructure Partner n

2013-04-22 Thread Frans Thamura
i think sponsor openstack and certification are different case

should a product that run on openstack, pass RH OS again, or vice versa?

F
--
Frans Thamura (曽志胜)
Shadow Master and Lead Investor
Meruvian.
Integrated Hypermedia Java Solution Provider.

Mobile: +628557888699
Blog: http://blogs.mervpolis.com/roller/flatburger (id)

FB: http://www.facebook.com/meruvian
TW: http://www.twitter.com/meruvian / @meruvian
Website: http://www.meruvian.org

"We grow because we share the same belief."


On Mon, Apr 22, 2013 at 4:52 PM, Dave Neary  wrote:
> Hi Franz,
>
> On 04/20/2013 05:48 AM, Frans Thamura wrote:
>> what is reposition with company inside openstack.org
>> , like dell, hp.
>
> Red Hat is a founding Platinum member of the OpenStack Foundation, and
> one of the most active participants in the OpenStack project.
>
> Some of the projects where we have been most active are Oslo, Nova,
> Heat, and Ceilometer.
>
> Does that answer your question?
>
> Thanks,
> Dave.
>
> --
> Dave Neary - Community Action and Impact
> Open Source and Standards, Red Hat - http://community.redhat.com
> Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13

___
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] Renting Datacenter Space

2013-04-22 Thread Chris Bartels
Hi,

 

I'm new here- been lurking for awhile, this is my first message to the list.
I have just recently started tinkering with OpenStack after discovering it
recently. I started with virtualization using ProxmoxVE for Windows desktop
hosting back in 2009-2010. 

 

I'm interested in launching a small business venture in which I would
utilize OpenStack installed to server hardware I'd build myself & rent VPS
instances. Nothing major, just 1 server- about a $4,000 investment upfront.
Whatever money it makes would be reinvested in additional hardware to
facilitate backups & server replication for failover.

 

I'm no expert at this, and would be learning the ropes as I go along, so I'd
be starting slow, with a self-funded project as opposed to raising VC
funding or something like that.

 

Someone told me in IRC that some Datacenters are willing to rent rack space
to small businesses who need the use of redundant infrastructure to run
their operations & was wondering if anyone on the list here would be able to
point me in the right direction to learn more about such services.

 

If anyone has experience with working with such arrangements & could share
your experiences, what to look for in a datacenter, what to be careful of,
what's typical in terms of rent & what-not I'm all ears. If people could
recommend one over another I'd be interested in hearing why one's better
than another. I don't know where to begin, & I figured why not start here on
the list.

 

Basically, I just want to be able to utilize redundant power & internet
somewhere, where I'd be guaranteed a safe operating environment for my
hardware. While I do have fiber running to my apartment, it's hardly the
place to run a home based business of this nature. I couldn't imagine a
customer wanting to rent a garage/apartment based VPS when they could get a
proper colo for the same price. And I'm not in this to be the discount place
either.

 

So- any feedback is appreciated.

Thanks in advance!

 

 

Kindest Regards,

-Christopher

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


Re: [Openstack] [OpenStack Foundation] how can i

2013-04-22 Thread Stefano Maffulli
[moving the request to the General Mailing List -please subscribe to 
it; instructions on https://wiki.openstack.org/wiki/MailingLists]


On Mon 22 Apr 2013 06:55:16 AM PDT, Kabiraj Gaire wrote:

Hi there,
 I am a newbie in Cloud but once i started doing research in cloud for
my graduate diploma project I came across with OpenStack. After i read
how it was developed and how this mission is going on I am very
excited about doing some practical implementation of OpenStack. For my
initial learning process i installed OpenStack Essex on Ubuntu. Now I
am very keen on continuing OpenStack practical learning. I would like
to know how i can contribute to this OpenStack community and for the
IT student like me how OpenStack can be very useful for my career in
future. It would be great to get reply for this mail. Hoping for your
reply. Thank you.

Sincerely

Kabi Raj Gaire
Nelson,New Zealand


___
Foundation mailing list
foundat...@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/foundation


--
Ask and answer questions on https://ask.openstack.org

___
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] Renting Datacenter Space

2013-04-22 Thread Jeremy Stanley
On 2013-04-22 09:34:58 -0400 (-0400), Chris Bartels wrote:
[...]
> Someone told me in IRC that some Datacenters are willing to rent
> rack space to small businesses who need the use of redundant
> infrastructure to run their operations & was wondering if anyone
> on the list here would be able to point me in the right direction
> to learn more about such services.
[...]

You're looking for "colocation" services from a data center
management company or ISP. Web searches on that term turn up quite a
lot of hits for me.

> Basically, I just want to be able to utilize redundant power &
> internet somewhere, where I’d be guaranteed a safe operating
> environment for my hardware. While I do have fiber running to my
> apartment, it’s hardly the place to run a home based business of
> this nature. I couldn’t imagine a customer wanting to rent a
> garage/apartment based VPS when they could get a proper colo for
> the same price. And I’m not in this to be the discount place
> either.

I worked for over a decade at a company providing such services.
Generally (though this varies between providers) you will pay based
on space occupied in the rack, electricity and Internet bandwidth
consumed. Billing models vary, from pay-as-you-go to long-term
bundled commit-and-overage style contracts. Some may offer physical
access to your equipment while others will require you pay for their
rack-and-stack services (particularly if you're in a cabinet shared
by other customers, for security reasons).

It's worth noting that this is proportionally less expensive the
larger your environment gets (tiered or graduated colo pricing
models akin to a bulk-rate discount). Your per-VPS cost on a single
server will likely be orders of magnitude higher than what even a
modest-sized provider with a few cabinets full of equipment is able
to charge for equivalent services. Also these days most colocation
providers are in the managed services business as well, and will be
competing against you... but they're essentially able to cover
colocation of their own equipment at cost (zero margin) since they
own and operate their facilities.
-- 
Jeremy Stanley

___
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] Accessing object data and metadata in Swift middleware

2013-04-22 Thread David Goetz
There are examples in swift.common.middleware of doing this.  

If you want to try changing the metadata on the way out you can look at: 

https://github.com/openstack/swift/blob/master/swift/common/middleware/staticweb.py#L367-L384

it makes use of the WSGIContext class which allows you to make a call down the 
pipeline and respond to it on the way back out.

If you want to just kinda peek at the object before sending the request you can 
use make_pre_authed_request as done here for containers:

https://github.com/openstack/swift/blob/master/swift/common/middleware/staticweb.py#L198-L201

that function will take auth out of the environment so you want to be careful 
about using it. It you want to keep auth you can do something along the lines 
of:

https://github.com/openstack/swift/blob/master/swift/common/middleware/bulk.py#L250-L259

which just makes a sub request using a copy of the current environment. In your 
case, after you get that response you'd probably just want to let the request 
continue on the pipeline instead of just completely overriding it like the bulk 
middleware does.

David





On Apr 21, 2013, at 10:11 AM, Itamar O wrote:

> Hello list,
> I am new to OpenStack development, and trying to implement a simple Swift 
> middleware.
> I was able to successfully manipulate a PUT request for an object, processing 
> the data that was uploaded by the request and storing some information in the 
> object metadata.
> But now I am struggling with handling GET requests for objects.
> I would like to access the data and metadata of the requested object before 
> it is passed down the pipeline, but I have no clue how to achieve this.
> 
> In case this is not the appropriate mailing list for this question, I 
> apologize, and would appreciate if someone could refer me to the correct list.
> Otherwise, any advice will be much appreciated!
> 
> Thanks,
> - Itamar.
> ___
> 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] Grizzly: Metadata with Quantum Single Flat

2013-04-22 Thread Martinx - ジェームズ
Guys,

 I'm trying to enable the metadata but, I doesn't work...

 At first, the quantum-l3-agent wasn't installed, because I'm running
Quantum Single Flat, like this:


keystone tenant-list # To note the admin tenant id.


quantum net-create --tenant-id $ADMIN_TENTANT_ID sharednet1 --shared
--provider:network_type flat --provider:physical_network physnet1


quantum subnet-create --ip-version 4 --tenant-id $ADMIN_TENANT_ID
--gateway 10.33.14.1 sharednet1 10.33.14.0/24 --dns_nameservers
list=true 8.8.8.8 8.8.4.4


 Now, I've installed quantum-l3-agent, to see it metadata work but, it
still doesn't work.

 Any tips?!

Tks!
Thiago
___
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] Please everybody read this email !!! got a question from everybody in community?

2013-04-22 Thread beh zad
Dear OpenStack community member,

My name is Behzad and I am working on project evaluating OpenSatck for my
thesis? I Would really appreciate if you could write to me couple of lines
about your general experience with OpenStack. Feel free write about any
thing good and bad points. I would love if many people answer this email. I
thank you for replying.

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


Re: [Openstack] [OpenStack Foundation] how can i

2013-04-22 Thread Stefano Maffulli

On 04/22/2013 08:17 AM, Stefano Maffulli wrote:

[moving the request to the General Mailing List -please subscribe to it;
instructions on https://wiki.openstack.org/wiki/MailingLists]

On Mon 22 Apr 2013 06:55:16 AM PDT, Kabiraj Gaire wrote:

Hi there,
 I am a newbie in Cloud but once i started doing research in cloud for
my graduate diploma project I came across with OpenStack. After i read
how it was developed and how this mission is going on I am very
excited about doing some practical implementation of OpenStack. For my
initial learning process i installed OpenStack Essex on Ubuntu. Now I
am very keen on continuing OpenStack practical learning. I would like
to know how i can contribute to this OpenStack community and for the
IT student like me how OpenStack can be very useful for my career in
future. It would be great to get reply for this mail. Hoping for your
reply. Thank you.


thanks for reaching out, we're excited to see you helping. One way to 
give back to the community is to learn with others and you can do it 
helping others answering questions on http://ask.openstack.org and on 
IRC, freenode.net channel #openstack-101 is good to get started.


The wiki page https://wiki.openstack.org/wiki/HowToContribute has more 
suggestions.


Hope to see your contributions soon,
Stef

--
Ask and answer questions on https://ask.openstack.org

___
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] How to hot-plug network interface for a running instance

2013-04-22 Thread Aaron Rosen
Hi,

I tested this as well and was also able to reproduce the same issue. I
filed a bug here: https://bugs.launchpad.net/nova/+bug/1171636

Thanks,

Aaron


On Sun, Apr 21, 2013 at 11:00 PM, 陈雷  wrote:

> Hi, All
>
> I'm testing hot-plug network interface, I can successfully hot-add an
> interface to a running instance by using command 'nova interface-attach
> --net-id xx ', but the network of the interface must has
> been specified to instance when you  create it. For a new network, I can't
> attach it to the instance and got errors from nova-api.log:
>
> ==
> 2013-04-22 13:27:38.484 ERROR nova.api.openstack
> [req-73c7fcb6-5137-43c0-aa4f-c3ba3509df64 3745e52df7864de79f912d7a9479e182
> 67b78b4656cf4affa49fc75b847e8914] Caught error:
> u'e4eca07f-bf8e-435a-84e2-628f89067623' is not in list
> Traceback (most recent call last):
>
>   File
> "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line
> 430, in _process_data
> rval = self.proxy.dispatch(ctxt, version, method, **args)
>
>   File
> "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py",
> line 133, in dispatch
> return getattr(proxyobj, method)(ctxt, **kwargs)
>
>   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line
> 2969, in attach_interface
> self.conductor_api)
>
>   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 46, in
> wrapper
> res = f(self, context, *args, **kwargs)
>
>   File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py",
> line 335, in allocate_port_for_instance
> conductor_api=conductor_api)
>
>   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 46, in
> wrapper
> res = f(self, context, *args, **kwargs)
>
>   File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py",
> line 285, in allocate_for_instance
> nw_info = self._get_instance_nw_info(context, instance, networks=nets)
>
>   File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py",
> line 367, in _get_instance_nw_info
> nw_info = self._build_network_info_model(context, instance, networks)
>
>   File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py",
> line 788, in _build_network_info_model
> [n['id'] for n in networks])
>
>   File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py",
> line 945, in _ensure_requested_network_ordering
> unordered.sort(key=lambda i: preferred.index(accessor(i)))
>
>   File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py",
> line 945, in 
> unordered.sort(key=lambda i: preferred.index(accessor(i)))
>
> ValueError: u'e4eca07f-bf8e-435a-84e2-628f89067623' is not in list
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack Traceback (most
> recent call last):
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 81,
> in __call__
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack return
> req.get_response(self.application)
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack application,
> catch_exc_info=False)
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in
> call_application
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack app_iter =
> application(self.environ, start_response)
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack return
> resp(environ, start_response)
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
> line 450, in __call__
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack return
> self.app(env, start_response)
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack return
> resp(environ, start_response)
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack return
> resp(environ, start_response)
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack return
> resp(environ, start_response)
> 2013-04-22 13:27:38.484 22571 TRACE nova.api.openstack   File
> "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in
> __call__
> 2013-04-22 13:27:3

Re: [Openstack] ANNOUNCE: Ultimate OpenStack Grizzly Guide, with super easy Quantum!

2013-04-22 Thread Paras pradhan
So this is what I understand. Even if you do flat (nova-network style) , no
floating ip you still need l3 for metadata(?). I am really confused. I
could never ever make quantum work. never had any issues with nova-network.

Paras.



On Fri, Apr 19, 2013 at 8:35 PM, Daniels Cai  wrote:

> paras
>
> In my experience the answer is yes .
> In grizzly , metadata proxy works in the qrouter's name space ,no router
> means no metadata .
> I am not sure whether any other approaches .
>
> Daniels Cai
>
> http://dnscai.com
>
> 在 2013-4-20,9:28,"Martinx - ジェームズ"  写道:
>
> Daniels,
>
> There is no `Quantum L3' on this setup (at least not on my own environment
> / guide).
>
> So, this leads me to one question: Metadata depends on L3?
>
> I do not want Quantum L3 package and I want Metadata... Is that possible?
>
> Tks,
> Thiago
>
>
> On 19 April 2013 21:44, Daniels Cai  wrote:
>
>> Hi Paras
>> The log says your dhcp works fine while metadata is not
>> Check the following steps
>>
>> 1.Make sure nova API enables metadata service
>>
>> 2. A virtual router should be created for your subnet and this router is
>> binding with a l3 agent
>>
>> 3.in the l3 agent metadata proxy service should be works fine
>> Metadata service config file should contains nova API host and keystone
>> auth info
>>
>> 4.  Ovs bridge br-ex is needed in your l3 agent server even you don't
>> need floating ip
>>
>> Daniels Cai
>>
>> http://dnscai.com
>>
>> 在 2013-4-19,23:42,Paras pradhan  写道:
>>
>> Any idea why I could not hit http://169.254.169.254/20090404/instanceid? 
>> Here is what I am seeing in cirros .
>>
>> --
>> Sending discover...
>> Sending select for 192.168.122.98...
>> Lease of 192.168.122.98 obtained, lease time 120
>> deleting routers
>> route: SIOCDELRT: No such process
>> route: SIOCADDRT: No such process
>> adding dns 192.168.122.1
>> adding dns 8.8.8.8
>> cirrosds 'net' up at 4.62
>> checking http://169.254.169.254/20090404/instanceid
>> failed 1/20: up 4.79. request failed
>> failed 2/20: up 6.97. request failed
>> failed 3/20: up 9.03. request failed
>> failed 4/20: up 11.08. request fa
>>
>> ..
>> --
>>
>> Thanks
>> Paras.
>>
>>
>> On Thu, Apr 11, 2013 at 7:22 AM, Martinx - ジェームズ <
>> thiagocmarti...@gmail.com> wrote:
>>
>>> Guys!
>>>
>>>  I just update the *Ultimate OpenStack Grizzly 
>>> Guide*
>>> !
>>>
>>>  You guys will note that this environment works with "*echo 0 >
>>> /proc/sys/net/ipv4/ip_forward*", on *both* controller *AND* compute
>>> nodes! Take a look! I didn't touch the /etc/sysctl.conf file and it is
>>> working!
>>>
>>>  I'll ask for the help of this community to finish my guide.
>>>
>>>  On my `TODO list' I have: enable Metadata, Spice and Ceilometer.
>>> Volunteers?!
>>>
>>> Best!
>>> Thiago
>>>
>>> On 20 March 2013 19:51, Martinx - ジェームズ wrote:
>>>
 Hi!

  I'm working with Grizzly G3+RC1 on top of Ubuntu 12.04.2 and here is
 the guide I wrote:

  Ultimate OpenStack Grizzly 
 Guide

  It covers:

  * Ubuntu 12.04.2
  * Basic Ubuntu setup
  * KVM
  * OpenvSwitch
  * Name Resolution for OpenStack components;
  * LVM for Instances
  * Keystone
  * Glance
  * Quantum - Single Flat, Super Green!!
  * Nova
  * Cinder / tgt
  * Dashboard

  It is still a draft but, every time I deploy Ubuntu and Grizzly, I
 follow this little guide...

  I would like some help to improve this guide... If I'm doing something
 wrong, tell me! Please!

  Probably I'm doing something wrong, I don't know yet, but I'm seeing
 some errors on the logs, already reported here on this list. Like for
 example: nova-novncproxy conflicts with novnc (no VNC console for now),
 dhcp-agent.log / auth.log points to some problems with `sudo' or the
 `rootwarp' subsystem when dealing with metadata (so it isn't working)...

  But in general, it works great!!

 Best!
 Thiago

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


Re: [Openstack] Multinode setup?

2013-04-22 Thread Dmitry Makovey
Thanks for reply,

1. checked DB and have mysql:cinder:services listing both cinder hosts running 
cinder-volume, cinder-api and cinder-scheduler. I think I should be running 
cinder-volume only but that doesn't work either. I tried running :
nodeA: cinder-{api,volume,sheduler}, keystone,nova*
nodeB: cinder-volume
but that seems to be wrong.

2. do you mean I should skip "--availability-zone" flag and just overflow one 
cinder instance and to see whether second will pick up the slack?

BTW - with "--availability-zone={nova-volume,nova,cinder}:nodeB" I keep on 
getting:

WillNotSchedule: Host nodeB is not up or doesn't exist.


Quite possibly I forgot to setup something simple, but what?

What is the right sequence to install 2 cinder nodes that I can use from my 
nova nodes? (I don't care about HA/redundancy at this point).



>
> From: Daniels Cai 
>To: Dmitry Makovey  
>Cc: Dmitry Mescheryakov ; 
>"openstack@lists.launchpad.net"  
>Sent: Friday, April 19, 2013 6:21 PM
>Subject: Re: [Openstack] Multinode setup?
> 
>
>
>hi Dmitry
>Cinder service is not managed by nova-manage service list 
>Mq is only needed to be installed once 
>
>
>You can do the following to check whether multi node works 
>
>
>1.check MySQL db cinder database , there should be a table named "service" 
>which record all the available cinder services. 
>If not please check your cinder config file,make sure the service record is 
>created and do step2 
>
>
>2. tail -f /var/log/cinder/cinder-volume in all of your cinder scheduler 
>service host 
>And then create as many empty cinder volume as you can 
>A log will be generated when a cinder-volume works 
>
>
>
>
>
>发自我的 iPhone
>
>在 2013-4-20,3:18,Dmitry Makovey  写道:
>
>
># cinder-manage host list
>>
>>host                            zone           
>>primary.bar.com           nova           
>>foo.bar.com          nova           
>>
>>
>>however 
>># nova-manage service list 
>>only shows nova services on primary node (since that's the only place that 
>>has it installed) 
>>
>>
>>
>>>
>>> From: Dmitry Mescheryakov 
>>>To: Dmitry Makovey  
>>>Cc: "openstack@lists.launchpad.net"  
>>>Sent: Friday, April 19, 2013 11:41 AM
>>>Subject: Re: [Openstack] Multinode setup?
>>> 
>>>
>>>
>>>Did you try running
>>>nova-manage service list
>>>?
>>>
>>>
>>>It should show services status relatively to node on which you run that 
>>>command.
>>>
>>>
>>>
>>>2013/4/19 Dmitry Makovey 
>>>
>>>played with --availability-zone, so after specifying:

# cinder  create --availability-zone nova:foo.bar.com 10


I get:

# cinder show c1e4bcc1-c8aa-4bc6-93a8-88e362028f9a
+-+--+
|       Property      |                Value                 |
+-+--+
|     attachments     |                  []                  |
|  availability_zone  |     nova:foo.bar.com               |
|      created_at     |      2013-04-19T17:06:40.00      |
| display_description |                 None                 |
|     display_name    |                 None                 |
|          id         | c1e4bcc1-c8aa-4bc6-93a8-88e362028f9a |
|       metadata      |                  {}                  |
|         size        |                  10                  |
|     snapshot_id     |                 None                 |
|        status       |                error                 |
|     volume_type     |                 None                 |
+-+--+

I can create volumes just fine without --availability-zone, however they 
are always created on "primary" cinder node that runs cinder-api, 
cinder-scheduler and cinder-volume and not on secondary that runs 
cinder-api and cinder-volume. 

I have added to /etc/cinder/cinder.conf:

iscsi_ip_prefix= 1.1.1.2

and 

iscsi_ip_prefix= 1.1.1.3


on both hosts but I get nothing. creation with availability zone specified 
fails every time. 

from /var/log/cinder/scheduler.log on primary node I get:

2013-04-19 11:06:40 13525 ERROR cinder.openstack.common.rpc.amqp [-] 
Exception during message handling
2013-04-19 11:06:40 13525 TRACE cinder.openstack.common.rpc.amqp Traceback 
(most recent call last):
2013-04-19 11:06:40 13525 TRACE cinder.openstack.common.rpc.amqp   File 
"/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/amqp.py", 
line 276, in _process_data
2013-04-19 11:06:40 13525 TRACE cinder.openstack.common.rpc.amqp     rval = 
self.proxy.dispatch(ctxt, version, method, **args)
2013-04-19 11:06:40 13525 TRACE cinder.openstack.common.rpc.amqp   File 
"/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/dispatcher.py",
 line 145, in dis

Re: [Openstack] Multinode setup?

2013-04-22 Thread Dmitry Makovey
BTW - I did add 

iscsi_ip_prefix= 1.1.1.{2,3}
iscsi_ip_address= 1.1.1.{2,3}

in /etc/cinder/cinder.conf on both nodes (nodeA:1.1.1.2, nodeB:1.1.1.3) as per 
https://lists.launchpad.net/openstack/msg21825.html . If I am to believe that 
post my setup should "just work" at this point. Could it be because some 
endpoints are defined as "localhost"? I've added non-127.0.0.0/8 entries for 
most pertinent endpoints (keystone, cinder*) but I wonder if I need something 
else as well? Does OpenStack take issue with multiple endpoints defined?



>
> From: Dmitry Makovey 
>To: Daniels Cai  
>Cc: "openstack@lists.launchpad.net"  
>Sent: Monday, April 22, 2013 4:16 PM
>Subject: Re: [Openstack] Multinode setup?
> 
>
>
>Thanks for reply,
>
>
>1. checked DB and have mysql:cinder:services listing both cinder hosts running 
>cinder-volume, cinder-api and cinder-scheduler. I think I should be running 
>cinder-volume only but that doesn't work either. I tried running :
>nodeA: cinder-{api,volume,sheduler}, keystone,nova*
>nodeB: cinder-volume
>but that seems to be wrong.
>
>
>2. do you mean I should skip "--availability-zone" flag and just overflow one 
>cinder instance and to see whether second will pick up the slack?
>
>
>BTW - with "--availability-zone={nova-volume,nova,cinder}:nodeB" I keep on 
>getting:
>
>
>WillNotSchedule: Host nodeB is not up or doesn't exist.
>
>
>
>Quite possibly I forgot to setup something simple, but what?
>
>
>What is the right sequence to install 2 cinder nodes that I can use from my 
>nova nodes? (I don't care about HA/redundancy at this point).
>
>___
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] ANNOUNCE: Ultimate OpenStack Grizzly Guide, with super easy Quantum!

2013-04-22 Thread Martinx - ジェームズ
That is precisely what I'm trying to figure out!

How to setup metadata without L3 using Quantum Single Flat. I can't find
any document about this.

Plus, to make things worse, the package quantum-metadata-agent *DOES NOT
DEPENDS* on quantum-l3-agent.

BTW, I'm sure that with my guide, I'll be able to run Quantum on its
simplest scenario!

Give it a shot!!   https://gist.github.com/tmartinx/d36536b7b62a48f859c2

My guide is perfect, have no bugs. Tested it +50 times.

Cheers!
Thiago



On 22 April 2013 19:18, Paras pradhan  wrote:

> So this is what I understand. Even if you do flat (nova-network style) ,
> no floating ip you still need l3 for metadata(?). I am really confused. I
> could never ever make quantum work. never had any issues with nova-network.
>
> Paras.
>
>
>
> On Fri, Apr 19, 2013 at 8:35 PM, Daniels Cai  wrote:
>
>> paras
>>
>> In my experience the answer is yes .
>> In grizzly , metadata proxy works in the qrouter's name space ,no router
>> means no metadata .
>> I am not sure whether any other approaches .
>>
>> Daniels Cai
>>
>> http://dnscai.com
>>
>> 在 2013-4-20,9:28,"Martinx - ジェームズ"  写道:
>>
>> Daniels,
>>
>> There is no `Quantum L3' on this setup (at least not on my own
>> environment / guide).
>>
>> So, this leads me to one question: Metadata depends on L3?
>>
>> I do not want Quantum L3 package and I want Metadata... Is that possible?
>>
>> Tks,
>> Thiago
>>
>>
>> On 19 April 2013 21:44, Daniels Cai  wrote:
>>
>>> Hi Paras
>>> The log says your dhcp works fine while metadata is not
>>> Check the following steps
>>>
>>> 1.Make sure nova API enables metadata service
>>>
>>> 2. A virtual router should be created for your subnet and this router is
>>> binding with a l3 agent
>>>
>>> 3.in the l3 agent metadata proxy service should be works fine
>>> Metadata service config file should contains nova API host and keystone
>>> auth info
>>>
>>> 4.  Ovs bridge br-ex is needed in your l3 agent server even you don't
>>> need floating ip
>>>
>>> Daniels Cai
>>>
>>> http://dnscai.com
>>>
>>> 在 2013-4-19,23:42,Paras pradhan  写道:
>>>
>>> Any idea why I could not hit http://169.254.169.254/20090404/instanceid? 
>>> Here is what I am seeing in cirros .
>>>
>>> --
>>> Sending discover...
>>> Sending select for 192.168.122.98...
>>> Lease of 192.168.122.98 obtained, lease time 120
>>> deleting routers
>>> route: SIOCDELRT: No such process
>>> route: SIOCADDRT: No such process
>>> adding dns 192.168.122.1
>>> adding dns 8.8.8.8
>>> cirrosds 'net' up at 4.62
>>> checking http://169.254.169.254/20090404/instanceid
>>> failed 1/20: up 4.79. request failed
>>> failed 2/20: up 6.97. request failed
>>> failed 3/20: up 9.03. request failed
>>> failed 4/20: up 11.08. request fa
>>>
>>> ..
>>> --
>>>
>>> Thanks
>>> Paras.
>>>
>>>
>>> On Thu, Apr 11, 2013 at 7:22 AM, Martinx - ジェームズ <
>>> thiagocmarti...@gmail.com> wrote:
>>>
 Guys!

  I just update the *Ultimate OpenStack Grizzly 
 Guide*
 !

  You guys will note that this environment works with "*echo 0 >
 /proc/sys/net/ipv4/ip_forward*", on *both* controller *AND* compute
 nodes! Take a look! I didn't touch the /etc/sysctl.conf file and it is
 working!

  I'll ask for the help of this community to finish my guide.

  On my `TODO list' I have: enable Metadata, Spice and Ceilometer.
 Volunteers?!

 Best!
 Thiago

 On 20 March 2013 19:51, Martinx - ジェームズ wrote:

> Hi!
>
>  I'm working with Grizzly G3+RC1 on top of Ubuntu 12.04.2 and here is
> the guide I wrote:
>
>  Ultimate OpenStack Grizzly 
> Guide
>
>  It covers:
>
>  * Ubuntu 12.04.2
>  * Basic Ubuntu setup
>  * KVM
>  * OpenvSwitch
>  * Name Resolution for OpenStack components;
>  * LVM for Instances
>  * Keystone
>  * Glance
>  * Quantum - Single Flat, Super Green!!
>  * Nova
>  * Cinder / tgt
>  * Dashboard
>
>  It is still a draft but, every time I deploy Ubuntu and Grizzly, I
> follow this little guide...
>
>  I would like some help to improve this guide... If I'm doing
> something wrong, tell me! Please!
>
>  Probably I'm doing something wrong, I don't know yet, but I'm seeing
> some errors on the logs, already reported here on this list. Like for
> example: nova-novncproxy conflicts with novnc (no VNC console for now),
> dhcp-agent.log / auth.log points to some problems with `sudo' or the
> `rootwarp' subsystem when dealing with metadata (so it isn't working)...
>
>  But in general, it works great!!
>
> Best!
> Thiago
>


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