Re: [Openstack] Production grade guidelines

2015-03-30 Thread somshekar kadam
Any pointers or link to make openstack production grade/guidelines.
 
Regards
Neelu 


 On Monday, 30 March 2015 9:34 PM, somshekar kadam  
wrote:
   

 Hello All, 

Is there any guidelines documented to make openstack production grade ? thanks 
in advance

Regards
Neelu 

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to    : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


  ___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Hostname into instance via Cloud-Init

2015-03-30 Thread James Buckett

Hello OpenStack Community.
.
I would like to ask for comments on how to insert a hostname into to an
instance using cloud-init.
.
I am using a pool of assign IP addresses that have hostnames assigned in
DNS.
.
Thanks In Advance.
.
James Buckett
IBM Cloud Consultant
IBM Cloud Software Services
Mobile:  +61-434-078-044
e-Mail: james.buck...@au1.ibm.com


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [nova] Cleaning up unused images in the cache

2015-03-30 Thread Michael Still
Your request is reasonable, but not currently handled by the code. Its
a bit concerning that your cache is so disk constrained -- is it a
separate filesystem from the instance disk images?

Michael

On Tue, Mar 31, 2015 at 3:26 PM, Chris Buccella
 wrote:
> I'm running Juno. Here's my situation:
>
> 1) There are a bunch of cached images on the compute nodes
> (/var/lib/nova/instances/_base/)
> 2) I want to keep the images in the cache as long as possible (for
> performance reasons)
> 3) I want to be able to spawn instances with an uncached image
>
> What I've observed is that if the cache is full, it won't automatically be
> cleaned up when a new image tries to be cached. Instead, I get a "no valid
> host" error when trying to boot a new instance. I've found the following
> relevant config parameters:
>
> image_cache_manager_interval
> remove_unused_base_images
> remove_unused_original_minimum_age_seconds
>
> These work, but don't really help me. I don't want time-based cache
> management, but on-demand cache management. Basically, if
> removed_unused_base_images is true, the oldest image should be removed from
> the cache to make room for the new one.
>
> Has anyone else encountered this situation? Maybe there's something I'm
> missing?
>
> Thanks,
>
>
> -Chris
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>



-- 
Rackspace Australia

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] [nova] Cleaning up unused images in the cache

2015-03-30 Thread Chris Buccella
I'm running Juno. Here's my situation:

1) There are a bunch of cached images on the compute nodes
(/var/lib/nova/instances/_base/)
2) I want to keep the images in the cache as long as possible (for
performance reasons)
3) I want to be able to spawn instances with an uncached image

What I've observed is that if the cache is full, it won't automatically be
cleaned up when a new image tries to be cached. Instead, I get a "no valid
host" error when trying to boot a new instance. I've found the following
relevant config parameters:

image_cache_manager_interval
remove_unused_base_images
remove_unused_original_minimum_age_seconds

These work, but don't really help me. I don't want time-based cache
management, but on-demand cache management. Basically, if
removed_unused_base_images is true, the oldest image should be removed from
the cache to make room for the new one.

Has anyone else encountered this situation? Maybe there's something I'm
missing?

Thanks,


-Chris
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] [Swift] object-replicator errors

2015-03-30 Thread Shrinand Javadekar
Hi,

I am seeing two types of errors by the object-replicator. I am running
Swift with a replication factor of 2. Every PUT request will be
required to wait till both copies of the data are written. Therefore,
I'd expect the replicator to not be doing too much work :-).

However, I see these rsync errors which are puzzling.

1. The first type of error is "No such file or directory". Are these
temporary files?

/var/log/syslog:Mar 30 07:17:50 server-name object-replicator: rsync:
stat 
"/r2/objects/601/84a/96429b63c21b9bd7c63217f609fcb84a/.1427699869.87035.data.FQ4llw"
(in object) failed: No such file or directory (2)
/var/log/syslog:Mar 30 07:17:50 server-name object-replicator: rsync:
rename 
"/r2/objects/601/84a/96429b63c21b9bd7c63217f609fcb84a/.1427699869.87035.data.FQ4llw"
(in object) -> "84a/96429b63c21b9bd7c63217f609fcb84a/1427699869.87035.data":
No such file or directory (2)

2. The second type of error is when rsync actually tries to make
copies but fails. Not sure why rsync is even in the picture.

/var/log/syslog.1:Mar 30 06:27:49 server-name object-replicator: rsync
error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1183) [sender=3.1.0]
/var/log/syslog.1:Mar 30 06:27:49 server-name object-replicator: Bad
rsync return code: 23 <- ['rsync', '--recursive', '--whole-file',
'--human-readable', '--xattrs', '--itemize-changes',
'--ignore-existing', '--timeout=30', '--contimeout=30', '--bwlimit=0',
'/srv/node/r2/objects/992/683', '/srv/node/r2/objects/992/eab',
'127.0.0.1::object/r7/objects/992']

Any ideas what might be causing this? How can these be fixed?

Thanks in advance.
-Shri

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] [openstack][ceilometer] standalone event lineage

2015-03-30 Thread John Stanford
Hi,

I am trying to determine which release introduced the handling of events as 
something other than a metric, 
and support for the related params like event_pipeline_cfg_file.  Looks like 
this might be new in Kilo,
but any clarification is greatly appreciated.

Thanks,
John


John Stanford   

VP of Development
Solinea, Inc.
 +1 (415) 685-3967




___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [Swift] XFS extended attribute performance

2015-03-30 Thread Shrinand Javadekar
>
> Is there some sample code for how to drop the buffer cache in python.
> Presumably this will be for each file and not the entire buffer cache.
>
> The tests I ran were in a VM. I can run it on hardware with spinning
> disks underneath to get more accurate numbers.

I ran these tests on a physical machine with spinning disks. Each
experiment was run thrice. Here's the output with the default inode
size:

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
   102.8640.0002.8640.000 {xattr._xattr.fsetxattr}
   102.9930.0002.9930.000 {xattr._xattr.fsetxattr}
   102.7970.0002.7970.000 {xattr._xattr.fsetxattr}

And here's the output with an inode size of 2048 bytes:

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
   100.7460.0000.7460.000 {xattr._xattr.fsetxattr}
   100.7720.0000.7720.000 {xattr._xattr.fsetxattr}
   101.2210.0001.2210.000 {xattr._xattr.fsetxattr}

That's still at least a 2x improvement.

I'm trying to copy+paste some of the code from the Swift code base
that drops the buffer cache. Will post an update here.

-Shri

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] openstack cli: how to get "absolute limits", and to set Cinder quota for non-default volume type?

2015-03-30 Thread Steve Martinelli
Looks like we're missing the option to pass in a specific project. Open up 
a bug and we'll fix it quickly, looks pretty easy.

Thanks,

Steve Martinelli
OpenStack Keystone Core

Jan van Eldik  wrote on 03/30/2015 03:18:51 PM:

> From: Jan van Eldik 
> To: 
> Cc: openstack 
> Date: 03/30/2015 03:28 PM
> Subject: Re: [Openstack] openstack cli: how to get "absolute 
> limits", and to set Cinder quota for non-default volume type?
> 
> Thanks Steve,
> 
> > For 1) try `openstack limits show --absolute`.
> 
> But can I specify the tenant for which I want to see the limits?
> (I am using admin credentials)
> 
> > and for 2) try `openstack quota set --volumes 2 $PROJECTID`.
> >
> > Looks like volume-type isn't supported for quota set, file a bug if 
it's
> > needed.
> 
> Will do, thanks!
> 
>cheers, Jan
> 
> 
> > We tried to map everything out here:
> > https://wiki.openstack.org/wiki/OpenStackClient/Commands
> > Official docs are:
> > 
http://docs.openstack.org/developer/python-openstackclient/command-list.html

> >
> > With limits here:
> > http://docs.openstack.org/developer/python-openstackclient/
> command-objects/limits.html#limits-show
> >
> > Quota here:
> > http://docs.openstack.org/developer/python-openstackclient/
> command-objects/quota.html#quota-set
> >
> >
> > Also, feel free to report a bug to our bug tracker:
> > https://bugs.launchpad.net/python-openstackclient
> >
> > Thanks,
> >
> > Steve Martinelli
> > OpenStack Keystone Core
> >
> > Jan van Eldik  wrote on 03/30/2015 06:30:46 AM:
> >
> >  > From: Jan van Eldik 
> >  > To: openstack 
> >  > Date: 03/30/2015 06:36 AM
> >  > Subject: [Openstack] openstack cli: how to get "absolute limits",
> >  > and to set Cinder quota for non-default volume type?
> >  >
> >  > Hi,
> >  >
> >  > Sorry to ask 2 questions in one mail, but I hope they are 
sufficiently
> >  > trivial :)
> >  >
> >  > We are using the openstack cli more and more, but from time to time 
we
> >  > come across smallish issues. Here are 2 of them:
> >  >
> >  > 1/ as admin, how to run the equivalent of "nova absolute-limits" 
for an
> >  > arbitrary project?
> >  >
> >  > 2/ as admin, how to change Cinder quota for a particular volume 
type:
> >  >
> >  >cinder quota-update --volume-type my-type --volumes 2 
$PROJECTID
> >  >
> >  > We are using python-openstackclient-1.0.1-1.el6.noarch
> >  >
> >  > Thanks, cheers, Luis & Jan
> >  >
> >  >
> >  > ___
> >  > Mailing list:
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >  > Post to : openstack@lists.openstack.org
> >  > Unsubscribe :
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >  >
> 
> ___
> Mailing list: 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] openstack cli: how to get "absolute limits", and to set Cinder quota for non-default volume type?

2015-03-30 Thread Jan van Eldik

Thanks Steve,


For 1) try `openstack limits show --absolute`.


But can I specify the tenant for which I want to see the limits?
(I am using admin credentials)


and for 2) try `openstack quota set --volumes 2 $PROJECTID`.

Looks like volume-type isn't supported for quota set, file a bug if it's
needed.


Will do, thanks!

  cheers, Jan



We tried to map everything out here:
https://wiki.openstack.org/wiki/OpenStackClient/Commands
Official docs are:
http://docs.openstack.org/developer/python-openstackclient/command-list.html

With limits here:
http://docs.openstack.org/developer/python-openstackclient/command-objects/limits.html#limits-show

Quota here:
http://docs.openstack.org/developer/python-openstackclient/command-objects/quota.html#quota-set


Also, feel free to report a bug to our bug tracker:
https://bugs.launchpad.net/python-openstackclient

Thanks,

Steve Martinelli
OpenStack Keystone Core

Jan van Eldik  wrote on 03/30/2015 06:30:46 AM:

 > From: Jan van Eldik 
 > To: openstack 
 > Date: 03/30/2015 06:36 AM
 > Subject: [Openstack] openstack cli: how to get "absolute limits",
 > and to set Cinder quota for non-default volume type?
 >
 > Hi,
 >
 > Sorry to ask 2 questions in one mail, but I hope they are sufficiently
 > trivial :)
 >
 > We are using the openstack cli more and more, but from time to time we
 > come across smallish issues. Here are 2 of them:
 >
 > 1/ as admin, how to run the equivalent of "nova absolute-limits" for an
 > arbitrary project?
 >
 > 2/ as admin, how to change Cinder quota for a particular volume type:
 >
 >cinder quota-update --volume-type my-type --volumes 2 $PROJECTID
 >
 > We are using python-openstackclient-1.0.1-1.el6.noarch
 >
 > Thanks, cheers, Luis & Jan
 >
 >
 > ___
 > Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 > Post to : openstack@lists.openstack.org
 > Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 >


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] OpenStack CEE Day 2015 CFP

2015-03-30 Thread Marton Kiss
Dear All,

The OpenStack CEE Day 2015 Call for papers will close on April 10, so if
you don't like to miss an awesome opportunity to present your OpenStack
skills in front of a devops / IT decision maker audience, feel free to
register. The location is Budapest, Hungary, the date is June 8, after the
Vancouver Summit. The city rocks with the ruin-pubs and the fantastic
nightlife. If you travel from overseas I suggest to do a little European
road trip and visit the OpenStack DACH Day event in Berlin.

http://openstackceeday.com

Brgds,
  Marton Kiss
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Production grade guidelines

2015-03-30 Thread somshekar kadam
Hello All, 

Is there any guidelines documented to make openstack production grade ? thanks 
in advance

Regards
Neelu 
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Trying compiling the OpenStack Swift

2015-03-30 Thread Christian Schwede
Hello,

actually there is a small gap in the docs you stumbled upon :(
The Swift developers are currently working on integrating Erasure
Coding, and thus a new dependency was added. The dependency itself
requires a library that is not available on your system.

Please head over to

http://www.bytebucket.org/tsg-/liberasurecode/downloads

and download & install that library. Afterwards the installation of
Swift should succeed.

I'll submit a separate patch for Swift.

Best Regards

Christian

On 30.03.15 13:40, Leonid Rozenblyum wrote:
> Hello everybody!
> 
> 
> I'm trying to go through the
> http://docs.openstack.org/developer/swift/development_saio.html#loopback-section
> to create a development Swift installation.
> My OS on the VM is CentOS 7
> 
> It fails on step:
> 
> Build a development installation of swift:
> 
> cd $HOME/swift; sudo python setup.py develop; cd -
> 
> The error is :
> Writing /tmp/easy_install-4S0U5S/PyECLib-1.0.6/setup.cfg
> Running PyECLib-1.0.6/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-4S0U5S/
> 
>   PyECLib-1.0.6/egg-dist-tmp-j3Cljs
> src/c/pyeclib_c/pyeclib_c.c:32:25: fatal error: erasurecode.h: No such
> file or d
> 
> irectory
>  #include 
>  ^
> compilation terminated.
> error: Setup script exited with error: command 'gcc' failed with exit status 1
> 
> 
> Is it something wrong with my configuration or with the souce code of
> Swift itself?
> 
> Thanks for any help
> 
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] openstack cli: how to get "absolute limits", and to set Cinder quota for non-default volume type?

2015-03-30 Thread Steve Martinelli
Hi Jan,

For 1) try `openstack limits show --absolute`.
and for 2) try `openstack quota set --volumes 2 $PROJECTID`.

Looks like volume-type isn't supported for quota set, file a bug if it's 
needed.

We tried to map everything out here: 
https://wiki.openstack.org/wiki/OpenStackClient/Commands
Official docs are: 
http://docs.openstack.org/developer/python-openstackclient/command-list.html
With limits here: 
http://docs.openstack.org/developer/python-openstackclient/command-objects/limits.html#limits-show
Quota here: 
http://docs.openstack.org/developer/python-openstackclient/command-objects/quota.html#quota-set

Also, feel free to report a bug to our bug tracker: 
https://bugs.launchpad.net/python-openstackclient

Thanks,

Steve Martinelli
OpenStack Keystone Core

Jan van Eldik  wrote on 03/30/2015 06:30:46 AM:

> From: Jan van Eldik 
> To: openstack 
> Date: 03/30/2015 06:36 AM
> Subject: [Openstack] openstack cli: how to get "absolute limits", 
> and to set Cinder quota for non-default volume type?
> 
> Hi,
> 
> Sorry to ask 2 questions in one mail, but I hope they are sufficiently 
> trivial :)
> 
> We are using the openstack cli more and more, but from time to time we
> come across smallish issues. Here are 2 of them:
> 
> 1/ as admin, how to run the equivalent of "nova absolute-limits" for an
> arbitrary project?
> 
> 2/ as admin, how to change Cinder quota for a particular volume type:
> 
>cinder quota-update --volume-type my-type --volumes 2 $PROJECTID
> 
> We are using python-openstackclient-1.0.1-1.el6.noarch
> 
> Thanks, cheers, Luis & Jan
> 
> 
> ___
> Mailing list: 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Trying compiling the OpenStack Swift

2015-03-30 Thread Leonid Rozenblyum
Hello everybody!


I'm trying to go through the
http://docs.openstack.org/developer/swift/development_saio.html#loopback-section
to create a development Swift installation.
My OS on the VM is CentOS 7

It fails on step:

Build a development installation of swift:

cd $HOME/swift; sudo python setup.py develop; cd -

The error is :
Writing /tmp/easy_install-4S0U5S/PyECLib-1.0.6/setup.cfg
Running PyECLib-1.0.6/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-4S0U5S/

  PyECLib-1.0.6/egg-dist-tmp-j3Cljs
src/c/pyeclib_c/pyeclib_c.c:32:25: fatal error: erasurecode.h: No such
file or d

irectory
 #include 
 ^
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1


Is it something wrong with my configuration or with the souce code of
Swift itself?

Thanks for any help

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] openstack cli: how to get "absolute limits", and to set Cinder quota for non-default volume type?

2015-03-30 Thread Jan van Eldik

Hi,

Sorry to ask 2 questions in one mail, but I hope they are sufficiently 
trivial :)


We are using the openstack cli more and more, but from time to time we
come across smallish issues. Here are 2 of them:

1/ as admin, how to run the equivalent of "nova absolute-limits" for an
   arbitrary project?

2/ as admin, how to change Cinder quota for a particular volume type:

  cinder quota-update --volume-type my-type --volumes 2 $PROJECTID

We are using python-openstackclient-1.0.1-1.el6.noarch

Thanks, cheers, Luis & Jan


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [Rdo-list] Glance Active/active and the data store

2015-03-30 Thread stuart . mclaren



On Mon, 30 Mar 2015, Haïkel wrote:


I'd say using a shared storage driver:
* rbd works ok
* sheepdog (never used but got good feedback)
* swift (remember that 5GB is the limit for large objects in Swift)


In case it's not clear from this, Glance can store images greater than
5GB when using Swift as a backend.

(5GB is the limit for a single swift object, but Glance uses Swifts 'Dynamic 
Large
Object' support to store images greater than 5GB)


* VMWare data store is also a possibility, if you use VMWare as the hypervisor.

Regards,
H.

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Horizon (r)

2015-03-30 Thread Endre Karlson
Horizon is also the name of a VMware product.

2015-03-30 10:52 GMT+02:00 Frans Thamura :

> hi all
>
> I see in VMWare picture that there is VMWare Horizon with (R)
>
> and we know, openstack also using horizon
>
> can anyone tell me , what happen?
>
> file attached, it is a vmware workshop
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Horizon (r)

2015-03-30 Thread Frans Thamura
hi all

I see in VMWare picture that there is VMWare Horizon with (R)

and we know, openstack also using horizon

can anyone tell me , what happen?

file attached, it is a vmware workshop
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [Rdo-list] Glance Active/active and the data store

2015-03-30 Thread Haïkel
I'd say using a shared storage driver:
* rbd works ok
* sheepdog (never used but got good feedback)
* swift (remember that 5GB is the limit for large objects in Swift)
* VMWare data store is also a possibility, if you use VMWare as the hypervisor.

Regards,
H.

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Juno, DHCP and networking not working

2015-03-30 Thread Andreas Scheuring
>From the first point of view your setup looks fine. 
I would recommend to use tcpdump to see where packets (dhcp or arp
requests) get lost. 

For example running tcpdump on the compute nodes interface used for
tunneling you can verify if encapsulated packets leave your this node
and so on. What's not working well is doing tcpdump on ovs-bridges. This
only works well on the tap* devices. You could also run tcpdump in your
dhcp networknamespace to see if, packets arrive/leave there. 

One tricky thing with tunneling is always the mtu stuff. But this only
becomes important when dealing with large packages. At least default
ping and dhcp should work with the default settings


Another important thing is that your nodes firewall permit the gre
protocol. But that looks fine on your setup, as nothing is prohibiting
gre packets from going outside.



-- 
Andreas 
(irc: scheuran)


On Fri, 2015-03-27 at 11:08 +, el amo Kosuke wrote:
> I've installed Juno on Ubuntu 14.04.2 LTS and instances can't get IP from 
> DHCP. No errors in logs.
> 
> If I put a static IP on one instance, I can't ping anywhere.
> 
> 
> Network Node
> 
> root@network:~# ip a
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
> default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> 2: eth0:  mtu 1500 qdisc mq state UP group 
> default qlen 1000
> link/ether 00:50:56:b1:79:07 brd ff:ff:ff:ff:ff:ff
> inet 10.8.1.131/24 brd 10.8.1.255 scope global eth0
> valid_lft forever preferred_lft forever
> 3: eth1:  mtu 1500 qdisc mq state UP group 
> default qlen 1000
> link/ether 00:50:56:b1:2e:45 brd ff:ff:ff:ff:ff:ff
> inet 10.0.1.21/24 brd 10.0.1.255 scope global eth1
> valid_lft forever preferred_lft forever
> 4: eth2:  mtu 1500 qdisc mq master 
> ovs-system state UP group default qlen 1000
> link/ether 00:50:56:b1:12:ba brd ff:ff:ff:ff:ff:ff
> 5: ovs-system:  mtu 1500 qdisc noop state DOWN group 
> default
> link/ether be:0e:db:dc:3d:56 brd ff:ff:ff:ff:ff:ff
> 6: br-ex:  mtu 1500 qdisc noqueue state UNKNOWN group 
> default
> link/ether 00:50:56:b1:12:ba brd ff:ff:ff:ff:ff:ff
> 9: br-int:  mtu 1500 qdisc noqueue state UNKNOWN group 
> default
> link/ether d6:bf:05:38:7d:43 brd ff:ff:ff:ff:ff:ff
> 13: phy-br-ex:  mtu 1500 qdisc pfifo_fast 
> master ovs-system state UP group default qlen 1000
> link/ether 1a:74:47:c1:1b:1b brd ff:ff:ff:ff:ff:ff
> 14: int-br-ex:  mtu 1500 qdisc pfifo_fast 
> master ovs-system state UP group default qlen 1000
> link/ether 9e:ae:d6:8e:e3:b0 brd ff:ff:ff:ff:ff:ff
> 15: br-tun:  mtu 1500 qdisc noqueue state UNKNOWN 
> group default
> link/ether c6:7b:a3:9b:ea:4e brd ff:ff:ff:ff:ff:ff
> 
> root@network:~# ip netns
> qrouter-eb218066-143d-42b4-ba90-0f719defde66
> qdhcp-38639607-391a-4622-ac0e-37d5a32ced1b
> 
> root@network:~# ip netns exec qrouter-eb218066-143d-42b4-ba90-0f719defde66 ip 
> a
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
> default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 16: qr-3a45f5b8-01:  mtu 1500 qdisc noqueue state 
> UNKNOWN group default
> link/ether fa:16:3e:a8:55:0b brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.1/24 brd 192.168.1.255 scope global qr-3a45f5b8-01
> valid_lft forever preferred_lft forever
> inet6 fe80::f816:3eff:fea8:550b/64 scope link
> valid_lft forever preferred_lft forever
> 17: qg-cde6eff6-2e:  mtu 1500 qdisc noqueue state 
> UNKNOWN group default
> link/ether fa:16:3e:9f:45:c7 brd ff:ff:ff:ff:ff:ff
> inet 10.8.1.232/24 brd 10.8.1.255 scope global qg-cde6eff6-2e
> valid_lft forever preferred_lft forever
> inet 10.8.1.234/32 brd 10.8.1.234 scope global qg-cde6eff6-2e
> valid_lft forever preferred_lft forever
> inet6 fe80::f816:3eff:fe9f:45c7/64 scope link
> valid_lft forever preferred_lft forever
> 
> root@network:~# ip netns exec qdhcp-38639607-391a-4622-ac0e-37d5a32ced1b ip a
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
> default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 12: tapdb6455f8-8f:  mtu 1500 qdisc noqueue state 
> UNKNOWN group default
> link/ether fa:16:3e:74:46:a1 brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.2/24 brd 192.168.1.255 scope global tapdb6455f8-8f
> valid_lft forever preferred_lft forever
> inet6 fe80::f816:3eff:fe74:46a1/64 scope link
> valid_lft forever preferred_lft forever
> 
> root@network:~# iptables -S
> -P INPUT ACCEPT
> -P FORWARD ACCEPT
> -P OUTPUT ACCEPT
> -N neutron-filter-top
> -N neutron-openvswi-FORWARD
> -N neutron-openvswi-INPUT
> -N neutron-openvswi-OUTPUT
> -N neutron-openvswi-local
> -N neutron-openvswi-sg-chain
> -N neutron-openvswi-sg-fallback
> -A INPUT -j neutron-openvswi-INPUT
> -A FORWARD -j neutron-filter-top
> -A FORWARD

Re: [Openstack] Glance Active/active and the data store

2015-03-30 Thread Van Leeuwen, Robert
> Now the question regarding glance, at the moment we have a full glance 
> installation on mgmt1 with the data store on the local file system.
> What is the best approach to scale out glance without having doubled images?

You will need some kind of shared storage solution.
Most people either Swift or Ceph but you could also use a nfs mount.

Cheers,
Robert van Leeuwen
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] change options (cpu, ram, nic) on already launched VM

2015-03-30 Thread Chris
Hello Pedro,

 

For CPU and RAM you can use resizing, the instance has to be rebooted during 
the process. For the NIC you can add additional ports on the fly if this is 
what you want.

 

Cheers

Chris

 

From: Pedro Serotto [mailto:pedro.sero...@yahoo.es] 
Sent: Monday, March 30, 2015 14:22
To: openstack@lists.openstack.org
Subject: [Openstack] change options (cpu, ram, nic) on already launched VM

 

Is it possibile ? If yes, how ?

 

Tnx

 

P

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] change options (cpu, ram, nic) on already launched VM

2015-03-30 Thread Van Leeuwen, Robert
> Is it possibile ? If yes, how ?

Short answer yes:
http://docs.openstack.org/user-guide/content/nova_cli_resize.html

Long answer:
It depends, iirc you can only resize to larger flavors and it is a somewhat 
error-prone procedure that requires downtime.
I think it uses the vm migration codebase and that means it will copy the whole 
vm and not just modify the cpu/mem and be done with it.
(it also might have changed by now since it has been a while since I looked at 
it)
I recommend to highly test this before allowing users to use this functionality.

Cheers,
Robert van Leeuwen
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] change options (cpu, ram, nic) on already launched VM

2015-03-30 Thread Pedro Serotto
Is it possibile ? If yes, how ?
Tnx
P___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Glance Active/active and the data store

2015-03-30 Thread Chris
Hello,

 

We are in the middle of scaling out our OpenStack management services like
nova, keystone etc. We do it with haproxy with two active/active servers
(mgmt1 & mgmt2) which are hosting the API endpoints.

Now the question regarding glance, at the moment we have a full glance
installation on mgmt1 with the data store on the local file system. What is
the best approach to scale out glance without having doubled images?

 

Cheers

Chris

 

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack