Re: [Openstack] error while creating instance on nfs share

2013-07-09 Thread JuanFra Rodriguez Cardoso
Diablo release? I'd recommend you use the lastest release for live
migrations:

http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-live-migrations.html

Regards,
---
JuanFra


2013/7/8 Chathura M. Sarathchandra Magurawalage 77.chath...@gmail.com

 Hello al,

 I followed the Openstack instructions for enabling vm migration   (
 http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-live-migrations.html
  )

 But I can not get it working, since when I create an instance I get the
 following error on the compute node.

 2013-07-08 17:01:34 9329 ERROR nova.openstack.common.rpc.amqp [-]
 Exception during message handling
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp Traceback
 (most recent call last):
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py, line
 276, in _process_data
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp rval =
 self.proxy.dispatch(ctxt, version, method, **args)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py,
 line 145, in dispatch
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp return
 getattr(proxyobj, method)(ctxt, **kwargs)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/exception.py, line 117, in wrapped
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 temp_level, payload)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/contextlib.py, line 24, in __exit__
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 self.gen.next()
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/exception.py, line 92, in wrapped
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp return
 f(*args, **kw)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 176, in
 decorated_function
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp pass
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/contextlib.py, line 24, in __exit__
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 self.gen.next()
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 162, in
 decorated_function
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp return
 function(self, context, *args, **kwargs)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 197, in
 decorated_function
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 kwargs['instance']['uuid'], e, sys.exc_info())
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/contextlib.py, line 24, in __exit__
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 self.gen.next()
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 191, in
 decorated_function
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp return
 function(self, context, *args, **kwargs)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 839, in
 run_instance
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 do_run_instance()
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/utils.py, line 803, in inner
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp retval =
 f(*args, **kwargs)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 838, in
 do_run_instance
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 admin_password, is_first_time, instance)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 529, in
 _run_instance
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 self._set_instance_error_state(context, instance['uuid'])
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/contextlib.py, line 24, in __exit__
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 self.gen.next()
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 517, in
 _run_instance
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 is_first_time, request_spec, filter_properties)
 2013-07-08 

Re: [Openstack] error while creating instance on nfs share

2013-07-09 Thread JuanFra Rodriguez Cardoso
and
http://openstack-folsom-install-guide.readthedocs.org/en/latest/#setup-live-migration?

---
JuanFra


2013/7/9 Chathura M. Sarathchandra Magurawalage 77.chath...@gmail.com

 I am using Folsom release.

 I have followed the instruction on that page.


 On 9 July 2013 10:57, JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com wrote:

 Diablo release? I'd recommend you use the lastest release for live
 migrations:


 http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-live-migrations.html

 Regards,
 ---
 JuanFra


 2013/7/8 Chathura M. Sarathchandra Magurawalage 77.chath...@gmail.com

  Hello al,

 I followed the Openstack instructions for enabling vm migration   (
 http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-live-migrations.html
  )

 But I can not get it working, since when I create an instance I get the
 following error on the compute node.

 2013-07-08 17:01:34 9329 ERROR nova.openstack.common.rpc.amqp [-]
 Exception during message handling
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp Traceback
 (most recent call last):
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py, line
 276, in _process_data
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp rval =
 self.proxy.dispatch(ctxt, version, method, **args)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py,
 line 145, in dispatch
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp return
 getattr(proxyobj, method)(ctxt, **kwargs)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/exception.py, line 117, in wrapped
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 temp_level, payload)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/contextlib.py, line 24, in __exit__
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 self.gen.next()
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/exception.py, line 92, in wrapped
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp return
 f(*args, **kw)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 176, in
 decorated_function
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp pass
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/contextlib.py, line 24, in __exit__
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 self.gen.next()
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 162, in
 decorated_function
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp return
 function(self, context, *args, **kwargs)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 197, in
 decorated_function
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 kwargs['instance']['uuid'], e, sys.exc_info())
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/contextlib.py, line 24, in __exit__
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 self.gen.next()
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 191, in
 decorated_function
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp return
 function(self, context, *args, **kwargs)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 839, in
 run_instance
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 do_run_instance()
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/utils.py, line 803, in inner
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp retval
 = f(*args, **kwargs)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 838, in
 do_run_instance
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 admin_password, is_first_time, instance)
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 529, in
 _run_instance
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
 self._set_instance_error_state(context, instance['uuid'])
 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp   File
 /usr/lib/python2.7/contextlib.py, line 24, in __exit__
 2013

Re: [Openstack] custom url for openstack dashboard

2013-06-26 Thread JuanFra Rodriguez Cardoso
Have you tried WEBROOT options in .../settings.py?

JuanFra
El 24/06/2013 08:07, Anshul Gangwar anshul1...@yahoo.co.in escribió:

 Hi JuanFra,

 This is not solving my problem. I want a solution where urls are relative
 to certain fixed string  say os.

 Currently I can either make them relative by making changes in settings.py
 or absolute.

 for example when I see page source I can see urls are of form

 /static/*
 /auth/*

 what I want is that when these urls are returned to browser, they are
 prefixed with some string like

 /os/static/*
 /os/auth/*

 this os string is added on the fly i.e. these urls are absolute, but
 relative to certain fixed string.

  Thanks,
 Anshul


   --
  *From:* JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com
 *To:* Anshul Gangwar anshul1...@yahoo.co.in
 *Cc:* Balamurugan V G balamuruga...@gmail.com; 
 openstack@lists.launchpad.net openstack@lists.launchpad.net
 *Sent:* Friday, 21 June 2013 6:43 PM
 *Subject:* Re: [Openstack] custom url for openstack dashboard

 Hi Anshul,
 you can try to change WSGI alias in file
 '/etc/httpd/conf.d/openstack-dahsboard' file (on RHEL-based installation).

 DEFAULT -- WSGIScriptAlias /dashboard
 /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
 NEW -- WSGIScriptAlias /os
 /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi


 Regards,
 JuanFRa

 ---
 JuanFra


 2013/6/21 Anshul Gangwar anshul1...@yahoo.co.in

 I am already using one proxy. So below doesn't seems to serve my purpose.

 Basically I want something like such that  urls within the page are not
 absolute, instead they are relative.

 i.e. In page source I can see that urls are like /static/admin(absolute).
 Can I change them to static/admin(relative) with some dashboard/horizon
 setting?

 Thanks,
 Anshul

   --
  *From:* Balamurugan V G balamuruga...@gmail.com
 *To:* Anshul Gangwar anshul1...@yahoo.co.in
 *Cc:* openstack@lists.launchpad.net openstack@lists.launchpad.net
 *Sent:* Friday, 21 June 2013 1:28 PM
 *Subject:* Re: [Openstack] custom url for openstack dashboard

 You can try Apache's mod rewrite and do URL rewrites as desired.

 Regards,
 Balu


 On Fri, Jun 21, 2013 at 1:05 PM, Anshul Gangwar anshul1...@yahoo.co.in
 wrote:
  I want to give custom url for openstack dashboard, say
 
  http://10.1.1.1/os
 
  How can I acheive this?
 
  Thanks,
  Anshul
 
  ___
  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] custom url for openstack dashboard

2013-06-21 Thread JuanFra Rodriguez Cardoso
Hi Anshul,
you can try to change WSGI alias in file
'/etc/httpd/conf.d/openstack-dahsboard' file (on RHEL-based installation).

DEFAULT -- WSGIScriptAlias /dashboard
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
NEW -- WSGIScriptAlias /os
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi


Regards,
JuanFRa

---
JuanFra


2013/6/21 Anshul Gangwar anshul1...@yahoo.co.in

 I am already using one proxy. So below doesn't seems to serve my purpose.

 Basically I want something like such that  urls within the page are not
 absolute, instead they are relative.

 i.e. In page source I can see that urls are like /static/admin(absolute).
 Can I change them to static/admin(relative) with some dashboard/horizon
 setting?

 Thanks,
 Anshul

   --
  *From:* Balamurugan V G balamuruga...@gmail.com
 *To:* Anshul Gangwar anshul1...@yahoo.co.in
 *Cc:* openstack@lists.launchpad.net openstack@lists.launchpad.net
 *Sent:* Friday, 21 June 2013 1:28 PM
 *Subject:* Re: [Openstack] custom url for openstack dashboard

 You can try Apache's mod rewrite and do URL rewrites as desired.

 Regards,
 Balu


 On Fri, Jun 21, 2013 at 1:05 PM, Anshul Gangwar anshul1...@yahoo.co.in
 wrote:
  I want to give custom url for openstack dashboard, say
 
  http://10.1.1.1/os
 
  How can I acheive this?
 
  Thanks,
  Anshul
 
  ___
  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] Dual network connections on hypervisor

2013-05-28 Thread JuanFra Rodriguez Cardoso
Maybe this could be helpful for your request:
http://docs.openstack.org/trunk/openstack-compute/admin/content/using-multi-nics.html

Regards,

---
JuanFra


2013/5/28 Tim Bell tim.b...@cern.ch

 ** **

 I have a hypervisor running KVM with two network interfaces to two
 independent networks.

 ** **

 I could not find any documentation on how to configure a set up such as
 this so the guests could also be configured with IPs on the two networks.*
 ***

 ** **

 Any pointers ?

 ** **

 Tim

 ** **

 ___
 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] Internet access within launched instances too slow

2013-05-28 Thread JuanFra Rodriguez Cardoso
Hi:

Which hypervisor are you using? KVM with virtio driver?

---
JuanFra


2013/5/28 Rahul Sharma rahulsharma...@gmail.com

 Hi All,

 I have a multinode setup of Openstack-Grizzly release with Networking node
 as a separate machine. I am able to successfully bring up instances and
 ping to google from within the instances. Everything is working fine except
 the speed of internet access from within the instances.

 When I try to wget file or do apt-get update, its taking a lot of
 time(1 hr 40 mins for apt-get update). However, if I do the same on the
 physical compute-nodes or on the network-node, it updates within seconds. I
 am not sure why the network access within the instances is so slow which on
 the other hand is quite fast on the hosts.

 Any pointers or steps to debug the issue would be really helpful. Please
 let me know how I can debug this scenario.

 Thanks and Regards
 Rahul Sharma

 ___
 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] Internet access within launched instances too slow

2013-05-28 Thread JuanFra Rodriguez Cardoso
Have you tried configuring your compute nodes with the following options in
file 'nova.conf'?

These options could be improve your instance performance:

libvirt_cpu_mode = host-passthrough
libvirt_use_virtio_for_bridges = True



PD: I suppose you are using:

libvirt_type = kvm
compute_driver = libvirt.LibvirtDriver

---
JuanFra


2013/5/28 Rahul Sharma rahulsharma...@gmail.com

 I checked, they are fine. nslookup is giving correct result.

 root@instance1:/home/ubuntu# nslookup www.google.com
 Server: 192.168.0.4
 Address:192.168.0.4#53

 Non-authoritative answer:
 Name:   www.google.com
 Address: 74.125.135.147
 Name:   www.google.com
 Address: 74.125.135.99
 Name:   www.google.com
 Address: 74.125.135.103
 Name:   www.google.com
 Address: 74.125.135.104
 Name:   www.google.com
 Address: 74.125.135.105
 Name:   www.google.com
 Address: 74.125.135.106

 -Regards
 Rahul


 On Tue, May 28, 2013 at 3:42 PM, Balamurugan V G 
 balamuruga...@gmail.comwrote:

 Check if you have the right DNS server settings on your VM. Sometimes
 even that can slow the access.

 Regards,
 Balu

 On Tue, May 28, 2013 at 3:31 PM, Rahul Sharma rahulsharma...@gmail.com
 wrote:
  Yes, I am using KVM.
 
  -Regards
  Rahul Sharma
 
 
  On Tue, May 28, 2013 at 2:49 PM, JuanFra Rodriguez Cardoso
  juanfra.rodriguez.card...@gmail.com wrote:
 
  Hi:
 
  Which hypervisor are you using? KVM with virtio driver?
 
  ---
  JuanFra
 
 
  2013/5/28 Rahul Sharma rahulsharma...@gmail.com
 
  Hi All,
 
  I have a multinode setup of Openstack-Grizzly release with Networking
  node as a separate machine. I am able to successfully bring up
 instances and
  ping to google from within the instances. Everything is working fine
 except
  the speed of internet access from within the instances.
 
  When I try to wget file or do apt-get update, its taking a lot
 of
  time(1 hr 40 mins for apt-get update). However, if I do the same on
 the
  physical compute-nodes or on the network-node, it updates within
 seconds. I
  am not sure why the network access within the instances is so slow
 which on
  the other hand is quite fast on the hosts.
 
  Any pointers or steps to debug the issue would be really helpful.
 Please
  let me know how I can debug this scenario.
 
  Thanks and Regards
  Rahul Sharma
 
  ___
  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] Internet access within launched instances too slow

2013-05-28 Thread JuanFra Rodriguez Cardoso
Same issues after restarting nova-compute daemons and launching new
instances?

---
JuanFra


2013/5/28 Rahul Sharma rahulsharma...@gmail.com

 Nope. Still the same problem.

 -Regards
 Rahul


 On Tue, May 28, 2013 at 4:15 PM, Rahul Sharma rahulsharma...@gmail.comwrote:

 Thanks JuanFra. I will use these and let you know the status.

 Thanks and Regards
 Rahul Sharma


 On Tue, May 28, 2013 at 4:04 PM, JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com wrote:

 Have you tried configuring your compute nodes with the following options
 in file 'nova.conf'?

 These options could be improve your instance performance:

 libvirt_cpu_mode = host-passthrough
 libvirt_use_virtio_for_bridges = True



 PD: I suppose you are using:

 libvirt_type = kvm
 compute_driver = libvirt.LibvirtDriver


  ---
 JuanFra


 2013/5/28 Rahul Sharma rahulsharma...@gmail.com

 I checked, they are fine. nslookup is giving correct result.

 root@instance1:/home/ubuntu# nslookup www.google.com
 Server: 192.168.0.4
 Address:192.168.0.4#53

 Non-authoritative answer:
 Name:   www.google.com
 Address: 74.125.135.147
 Name:   www.google.com
 Address: 74.125.135.99
 Name:   www.google.com
 Address: 74.125.135.103
 Name:   www.google.com
 Address: 74.125.135.104
 Name:   www.google.com
 Address: 74.125.135.105
 Name:   www.google.com
 Address: 74.125.135.106

 -Regards
 Rahul


 On Tue, May 28, 2013 at 3:42 PM, Balamurugan V G 
 balamuruga...@gmail.com wrote:

 Check if you have the right DNS server settings on your VM. Sometimes
 even that can slow the access.

 Regards,
 Balu

 On Tue, May 28, 2013 at 3:31 PM, Rahul Sharma 
 rahulsharma...@gmail.com wrote:
  Yes, I am using KVM.
 
  -Regards
  Rahul Sharma
 
 
  On Tue, May 28, 2013 at 2:49 PM, JuanFra Rodriguez Cardoso
  juanfra.rodriguez.card...@gmail.com wrote:
 
  Hi:
 
  Which hypervisor are you using? KVM with virtio driver?
 
  ---
  JuanFra
 
 
  2013/5/28 Rahul Sharma rahulsharma...@gmail.com
 
  Hi All,
 
  I have a multinode setup of Openstack-Grizzly release with
 Networking
  node as a separate machine. I am able to successfully bring up
 instances and
  ping to google from within the instances. Everything is working
 fine except
  the speed of internet access from within the instances.
 
  When I try to wget file or do apt-get update, its taking a
 lot of
  time(1 hr 40 mins for apt-get update). However, if I do the same
 on the
  physical compute-nodes or on the network-node, it updates within
 seconds. I
  am not sure why the network access within the instances is so slow
 which on
  the other hand is quite fast on the hosts.
 
  Any pointers or steps to debug the issue would be really helpful.
 Please
  let me know how I can debug this scenario.
 
  Thanks and Regards
  Rahul Sharma
 
  ___
  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] Windows Image 2008 in OpenStack

2013-05-27 Thread JuanFra Rodriguez Cardoso
I think a great tool would be Cloudbase's cloud-init for windows instances:

http://www.cloudbase.it/cloud-init-for-windows-instances/

Regards,
---
JuanFra


2013/5/27 Narayanan, Krishnaprasad naray...@uni-mainz.de

  Hallo All,

 ** **

 Can somebody guide me to create a virtual machine using Windows 2008 image?
 

 ** **

 Thanks

 Krishnaprasad

 ___
 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] Memory requirements for OpenStack vs VM

2013-05-22 Thread JuanFra Rodriguez Cardoso
Hi Chris:

There are some nova config options aim to reserve resources for hosts:

reserved_host_memory_mb (default: 512 MB)
reserved_host_disk_mb (default: 0 MB)

Regards!
---
JuanFra


2013/5/21 Matthew Thode prometheanf...@gentoo.org

 On 05/21/13 12:24, Chris Bartels wrote:
  Hi,
 
 
 
  If I rent a VPS with 32GB RAM on a server that only has 32GB RAM in
 total,
  could OpenStack be choked for memory if the VPS tries to use up all that
  RAM, or will OpenStack be weighted to take priority over the memory the
  server has available?
 
 
 
  Should I only allocate 30GB to the VPS  leave OpenStack a 2GB minimum to
  work with just to be safe?
 
 
 
  Thanks,
 
  Chris
 
 
 
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
 You can likely use cgroups to give priority to memory used by openstack
 daemons.  Depends on how deep you want to get into it I guess (and your
 memory pressure).

 --
 -- Matthew Thode (prometheanfire)


 ___
 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] Virtual memory to use

2013-05-21 Thread JuanFra Rodriguez Cardoso
Maybe swap space?

---
JuanFra


2013/5/21 Razique Mahroua razique.mahr...@gmail.com

 Hey Jay,
 what do you mean by virtual memory?

 regards,

 *Razique Mahroua** - **Nuage  Co*
 razique.mahr...@gmail.com
 Tel : +33 9 72 37 94 15


 Le 21 mai 2013 à 11:29, Jay Kumbhani jkumbh...@gmail.com a écrit :

 Is there a way to use virtual memory for instances running on openstack?

 Thanks
 Jay

 Sent from my iPad

 ___
 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


NUAGECO-LOGO-Fblan_petit.jpg___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Glance 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 marcio.miranda.as...@gmail.com:
 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


Re: [Openstack] Error while creating more than 4 instances simultaneously.

2013-04-09 Thread JuanFra Rodriguez Cardoso
Have you tried to increase 'rpc_response_timeout' in nova.conf (e.g. 180
seconds)?
https://bugs.launchpad.net/nova/+bug/1094226

---
JuanFra


2013/4/8 Jorge Luiz Correa corre...@gmail.com

 Hi all,

 I'm trying to launch a lot of instances simultaneously. I'm using
 Openstack 2012.2.3-0ubuntu1 installed on an ubuntu server, from

 deb http://ubuntu-cloud.archive.canonical.com/ubuntuprecise-updates/folsom 
 main

 repository, according to the official documentation. When I try that my
 nova-compute node losts the network configurations. I'm using 1 nic with a
 bridge and FlatDhcpManager.

  I've been looking for the error but I don't get none. Just my nic losts
 the IP and the instances stop to be created. A common behavior is that this
 just occurs when I try to create more then 3 instances (I'm using the
 Dashboard). If I choose to create 2 or 3, everything works fine!

 I'm thinking this can be a problem with NBD module. A syslog entry I could
 see is:

  kernel: [179319.523389] block nbd15: Unexpected reply (88080397fc48)

  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


___
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] What's the package flow in vlan mode when ping the floating ip between vms.

2013-04-09 Thread JuanFra Rodriguez Cardoso
Could this Mirantis' post help you?

http://www.mirantis.com/blog/vlanmanager-network-flow-analysis/

---
JuanFra


2013/4/9 Lei Zhang zhang.lei@gmail.com

  I am using: Folsom, nova-network, vlanManage, multi_host=ture

 I want to know what's the package flow between the vms which located in
 the same physical machine.

 Here is the typology. I want to know want happen if I ping 192.168.3.47 in
 vm7.

 When the NAT is applied?

|vm: fixed: 10.0.104.5, floating: 
 192.168.3.56|-|vnet15||br104||vnet14|| vm7: fixed: 
 10.0.104.6, floating: 192.168.3.57|

 if the net.bridge.bridge-nf-call-iptables=0, I can not see the NAT
 properly.

 [root@openstack-node1 ~]# tcpdump -i vnet14 -l -ne icmp -v
 tcpdump: WARNING: vnet14: no IPv4 address assigned
 tcpdump: listening on vnet14, link-type EN10MB (Ethernet), capture size 65535 
 bytes
 17:11:10.275818 fa:16:3e:3e:ab:8f  fa:16:3e:72:8f:b4, ethertype IPv4 
 (0x0800), length 98: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP 
 (1), length 84)
 10.0.104.6  192.168.3.56: ICMP echo request, id 31090, seq 1, length 64
 17:11:10.277546 fa:16:3e:22:31:09  fa:16:3e:3e:ab:8f, ethertype IPv4 
 (0x0800), length 98: (tos 0x0, ttl 64, id 64703, offset 0, flags [none], 
 proto ICMP (1), length 84)
 10.0.104.5  10.0.104.6: ICMP echo reply, id 31090, seq 1, length 64

 When net.bridge.bridge-nf-call-iptables=1, I found the NAT properly. But I
 also found it is said the bridge filter should be disabled in
 http://docs.openstack.org/trunk/openstack-compute/admin/content/network-troubleshooting.html.
 Is this true?


 [root@openstack-node1 ~]# tcpdump -i vnet14 -l -ne icmp -v
 tcpdump: WARNING: vnet14: no IPv4 address assigned
 tcpdump: listening on vnet14, link-type EN10MB (Ethernet), capture size 65535 
 bytes
 17:13:40.507577 fa:16:3e:3e:ab:8f  fa:16:3e:72:8f:b4, ethertype IPv4 
 (0x0800), length 98: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP 
 (1), length 84)
 10.0.104.6  192.168.3.56: ICMP echo request, id 42098, seq 1, length 64
 17:13:40.508034 fa:16:3e:22:31:09  fa:16:3e:3e:ab:8f, ethertype IPv4 
 (0x0800), length 98: (tos 0x0, ttl 64, id 64704, offset 0, flags [none], 
 proto ICMP (1), length 84)
 192.168.3.56  10.0.104.6: ICMP echo reply, id 42098, seq 1, length 64

 --
 Lei Zhang

 Blog: http://jeffrey4l.github.com
 twitter/weibo: @jeffrey4l

 ___
 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] glance --- HTTPInternalServerError (HTTP 500)

2013-03-20 Thread JuanFra Rodriguez Cardoso
What are the api/registry log output when you get this error? Enable
verbose and debug modes in both services.

---
JuanFra


2013/3/16 杨峰 hoking.y...@gmail.com

  No, I did not follow devstack install, I am installing folsom from three
 new virtual machines.

 I had checked those conf/ini files,
 I add follow lines in every files. but I always get the same error, any
 other I can check?
 sql_connection = mysql://glance:password@localhost/glance
 admin_tenant_name = service
 admin_user = glance
 admin_password = password

  于 13-3-14 下午9:29, JuanFra Rodriguez Cardoso 写道:

 Have you followed a devstack install? Have you verified credentials
 (tenant, user, pass, auth_url) in glance-*.conf/.ini are ok?

 Regards!
  ---
 JuanFra


 2013/3/14 杨峰 hoking.y...@gmail.com

  I install folsom as the guide ( basic-install-folsom.pdf ), when I go
 to section Glance, and execute : #glance image-list and #glance
 image-create, I always get the error like below:

 root@controller:~# glance image-create --location
 http://uec-images.ubuntu.com/releases/12.04/release/ubuntu-12.04-server-cloudimg-amd64-disk1.img--is-public
  true --disk-format qcow2 --container-format bare --name Ubuntu
 Request returned failure status.
 None
 HTTPInternalServerError (HTTP 500)

 root@controller:~# glance image-list
 Request returned failure status.
 None
 HTTPInternalServerError (HTTP 500)

 I google the error, and find the bug 1092783 (
 https://bugs.launchpad.net/devstack/+bug/1092783 ), but I do not know
 how to apply the patch.

 ___
 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] hostname change on hardware nodes

2013-03-15 Thread JuanFra Rodriguez Cardoso
Hi David:

Some useful tables for your needs: nova.services, nova.instances...

Regards,
---
JuanFra


2013/3/15 David Stearns dstea...@gnipcentral.com

 Hi all,
 I'm trying to recover from a mass renaming of our hardware nodes and have
 been having a bit of trouble.

 After changing the hostname on all of them nova-manage service list show
 all the old hostname (in the dead state) and all the new host names.  My
 first question is how do I remove old services from this list. (eg, if the
 hardware dies) and I just want to remove it from the list completely.

 My second question is what else do I need to change to get the hostname
 change to work correctly.  Right now I believe most operations on instances
 are broken because the host entry on the table points to the old host
 instead of the new one, so deleting a host will hang, etc.

 Thanks
 -David Stearns

 ___
 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] glance --- HTTPInternalServerError (HTTP 500)

2013-03-14 Thread JuanFra Rodriguez Cardoso
Have you followed a devstack install? Have you verified credentials
(tenant, user, pass, auth_url) in glance-*.conf/.ini are ok?

Regards!
---
JuanFra


2013/3/14 杨峰 hoking.y...@gmail.com

  I install folsom as the guide ( basic-install-folsom.pdf ), when I go to
 section Glance, and execute : #glance image-list and #glance image-create,
 I always get the error like below:

 root@controller:~# glance image-create --location
 http://uec-images.ubuntu.com/releases/12.04/release/ubuntu-12.04-server-cloudimg-amd64-disk1.img--is-public
  true --disk-format qcow2 --container-format bare --name Ubuntu
 Request returned failure status.
 None
 HTTPInternalServerError (HTTP 500)

 root@controller:~# glance image-list
 Request returned failure status.
 None
 HTTPInternalServerError (HTTP 500)

 I google the error, and find the bug 1092783 (
 https://bugs.launchpad.net/devstack/+bug/1092783 ), but I do not know how
 to apply the patch.

 ___
 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] Tamanho de partição - qcow2

2013-03-13 Thread JuanFra Rodriguez Cardoso
This link could be useful for you:
http://kashyapc.wordpress.com/2013/02/24/novas-way-of-using-a-disk-image-when-it-boots-a-guest-for-first-time/


JuanFra


2013/3/13 Alex Vitola alex.vit...@gmail.com

 Estou instalando algumas maquinas a partir de templates do ubuntu, e
 algumas que eu mesmo tenho feito

 Crio uma máquina usando um Flavor que Root de 10GB e Epheremal de 20G

 Ok, quando dou um fdisk -l aparece os discos de 10G e 20G


 Mas quando dou um df -h o disco de 10G mostro apenas 1.7G e já estourando
 a capacidade, menos de 100MB livre.

 O que preciso fazer para corrigir isso?

 http://cloud-images.ubuntu.com/

 Alex Vitola
 @alexvitola

 ___
 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] Announcing Elastic Hadoop on OpenStack project

2013-03-13 Thread JuanFra Rodriguez Cardoso
Great fusion of strong IT buzzwords!!

JuanFra


2013/3/13 Sergey Lukjanov slukja...@mirantis.com

 Hello community,

 At Mirantis within our customer and partner base we see growing demand to
 deploy and run Hadoop clusters on OpenStack cloud and manage them via an
 OpenStack API.

 The main goal of this initiative, codenamed EHO (Elastic Hadoop on
 OpenStack), is to create native OpenStack component for fast provisioning
 and operating Hadoop clusters on demand.

 The key features are as follows:
 * Open source;
 * Native for OpenStack;
 * Support for different Hadoop distributions;
 * Fast clusters provisioning (e.g. for deploying Dev or QA environments);
 * Elastic MapReduce job execution similar to Amazon EMR

 We would appreciate all for your feedback and comments.

 Here are the key links:
 * Project blueprint: https://wiki.openstack.org/wiki/EHO |
 http://eho.mirantis.com/index.html
 * Roadmap: https://wiki.openstack.org/wiki/EHO/Roadmap |
 http://eho.mirantis.com/roadmap.html
 * API draft: http://eho.mirantis.com/restapi/v02.html
 * Sources: https://github.com/mirantis/eho
 * Launchpad project: https://launchpad.net/eho
 * Quickstart: http://eho.mirantis.com/quickstart.html
 * Horizon pages screenshots: http://eho.mirantis.com/horizon/index.html

 If you would like to ask some questions or make proposals, feel free to
 reply to this message in OpenStack mailing list or  reach us on #eho irc
 channel at freenode. Typically somebody from our team will be online at irc
 from 6:00 to 20:00 UTC. You can also contact EHO community directly by
 email mailto:e...@lists.launchpad.net (please, note that your email
 address should be registered in launchpad, otherwise your mail will be
 ignored by mailing system).

 We're going to hold public weekly meetings on Thursday at 18:00 UTC on our
 irc channel.

 Also we would greatly appreciate if you consider contributing to EHO
 project. For both docs and code, simply send us pull requests via github.

 --
 Sergey Lukjanov
 Mirantis Inc.

 ___
 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 node needed?

2013-03-11 Thread JuanFra Rodriguez Cardoso
Hi:

You could find it in this link:
http://docs.openstack.org/trunk/openstack-compute/admin/content/existing-ha-networking-options.html


Regards,
JuanFra


2013/3/11 Martinx - ジェームズ thiagocmarti...@gmail.com

 Is it possible to deploy Quantum (Flat) with two servers (controller +
 compute) that have only 1 ethernet on each?
 Plus, the Instances gateway will not be the controller, but my office
 firewall, external to the cloud, can be?

 Tks!


 On 11 March 2013 09:55, Logan McNaughton lo...@bacoosta.com wrote:

 No it's not needed, you just run quantum-server, the L3 agent, the DHCP
 agent, and the plugin agent (probably open vSwitch) all on the controller.
 You'll just need to plan out which NICs you'll use for what purpose and
 setup accordingly.

 As a side note, you'll also need to run the plugin agent on all your
 compute nodes
 On Mar 9, 2013 4:57 PM, JR botem...@gmail.com wrote:

 Greetings all,

 Next week I'll be putting up a new folsom cluster (perhaps using these
 instructions:
 https://github.com/mseknibilel/OpenStack-Folsom-Install-guide).
 Presently, I don't have a box to devote to being a network node.  Is it
 necessary?  The clouds I've put up so far have just had controller and
 compute nodes? Is the network node required by quantum?

 Thanks much,
 JR

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


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



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


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


Re: [Openstack] question regarding nova-compute

2013-02-18 Thread JuanFra Rodriguez Cardoso
Hi:

It seems a problem with dnsmasq. Ensure on compute hosts:
chown -R nova:nova /var/lib/nova and
/var/lib/nova/networks/nova-YOUR_BRIDGE{.conf, .pid}  have mode 644.
After that, issue: killall dnsmasq and then restart nova-network service.

Hope it's useful!

Regards,
JuanFra


2013/2/18 Aru s arumo...@gmail.com

 Hi Tam,

 I am new to openstack. i have setup a two node openstack setup in my lab.
 I have some questions on the networking part which mentioned below. Please
 help.

 I am using ubuntu server 12.10.
 I am using the flatmanager option, as both of my nodes have only single
 nic.
 first node is running all the services except the nova compute.
 only nova compute is running on the second node.
 I have cretated br100 on both the nodes and bridged to em1.
 I have one DHCP running external on the same network.
 All went good.

 The problem i can see is my VM's are getting ip from the external DHCP
 server, but the Horizon UI is showing different ip. please let me know if
 anymore info required.

 Regards,
 Arumon


 ___
 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] Ability to view Ubuntu boot process in VNC console

2013-02-15 Thread JuanFra Rodriguez Cardoso
Hi Andrii:

In this post we talk about it.
http://openstack.markmail.org/thread/tqza3vv4ap4out2q

Regards!
-- 
JuanFra


2013/2/14 Andrii Loshkovskyi loshkovs...@gmail.com

 Hello,

 I tried setting the value with/without brackets and encountered the
 following error:

 Invalid output terminal ttyS0

 As far as I know I can check the kernel boot parameters this way:

 cat /proc/cmdline
 root=/dev/vda console=ttyS0 selinux=0

 The line above is same all of the time, even if I applied some new changes
 to the GRUB config.

 On Thu, Feb 14, 2013 at 4:37 PM, Joe Breu joseph.b...@rackspace.comwrote:

  Hello Andrii,

  Can you try setting GRUB_TERMINAL to ttyS0, update the grub config, and
 boot the image?

   ---
 Joseph Breu
 Deployment Engineer
 Rackspace Private Cloud
 210-312-3508

  On Feb 14, 2013, at 8:11 AM, Andrii Loshkovskyi wrote:

  Currently, when I boot up an Ubuntu virtual machine, the boot process
 messages are not shown up in the VNC console. Everything that I see in the
 console is iPXE Booting from ROM..., black screen and login entry at the
 end. I am using OpenStack Essex and my VM's image was built from Ubuntu
 Server 12.04 LTS. I tried editing the GRUB config file /etc/default/grub
 and updating configuraton with update-grub afterwards. Particularly, I made
 sure there is no quiet option in the Linux command line parameters,
 GRUB_TERMINAL=console is uncommented, etc.

  The problem is it looks like Nova does not use this GRUB config at all.
 Any changes applied to the GRUB config are not visible on the boot process.
 I studied documentation and googled a lot trying to understand how the VMs
 boot process works in OpenStack but with no success.

  I need your help on this issue. I would appreciate if someone shares an
 advice how to view the boot messages while booting up a VM or point me to
 the proper documentation. Let me know if you need more details on my
 configuration as it looks to be a rather general issue.

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





 --
 Kind regards,
 Andrii Loshkovskyi

 ___
 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] Cant ping private or floating IP

2013-02-15 Thread JuanFra Rodriguez Cardoso
Have you tried to do ping from own host to vm?
Have you enabled PING and SSH in 'Access and security policies'?

Regards!
JuanFra


2013/2/15 Chathura M. Sarathchandra Magurawalage 77.chath...@gmail.com

 Hello Anil,

 I can not ssh into the VM so I cant do ifconfig from vm.

 I am using quantum and, quantum-plugin-openvswitch-agent,
 quantum-dhcp-agent, quantum-l3-agent as described in the guide.

 Thanks.


 -
 Chathura Madhusanka Sarathchandra Magurawalage.
 1NW.2.1, Desk 2
 School of Computer Science and Electronic Engineering
 University Of Essex
 United Kingdom.

 Email: csar...@essex.ac.uk
   chathura.sarathchan...@gmail.com 77.chath...@gmail.com
   77.chath...@gmail.com


 On 15 February 2013 07:34, Anil Vishnoi vishnoia...@gmail.com wrote:

 Did your VM got ip address ? Can you paste the output of ifconfig from
 your vm. Are you using nova-network or quantum ? If quantum - which plugin
 are you using ?


  On Fri, Feb 15, 2013 at 4:28 AM, Chathura M. Sarathchandra Magurawalage
 77.chath...@gmail.com wrote:

  Hello,

 I followed the folsom basic install instructions in
 http://docs.openstack.org/folsom/basic-install/content/basic-install_operate.html

 But now I am not able to ping either the private or the floating ip of
 the instances.

 Can someone please help?

 Instance log:

 [0.00] Initializing cgroup subsys cpuset
 [0.00] Initializing cgroup subsys cpu
 [0.00] Linux version 3.2.0-37-virtual (buildd@allspice) (gcc 
 version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #58-Ubuntu SMP Thu Jan 24 
 15:48:03 UTC 2013 (Ubuntu 3.2.0-37.58-virtual 3.2.35)
 [0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-37-virtual 
 root=LABEL=cloudimg-rootfs ro console=ttyS0
 [0.00] KERNEL supported cpus:
 [0.00]   Intel GenuineIntel
 [0.00]   AMD AuthenticAMD
 [0.00]   Centaur CentaurHauls
 [0.00] BIOS-provided physical RAM map:
 [0.00]  BIOS-e820:  - 0009bc00 (usable)
 [0.00]  BIOS-e820: 0009bc00 - 000a (reserved)
 [0.00]  BIOS-e820: 000f - 0010 (reserved)
 [0.00]  BIOS-e820: 0010 - 7fffd000 (usable)
 [0.00]  BIOS-e820: 7fffd000 - 8000 (reserved)
 [0.00]  BIOS-e820: feffc000 - ff00 (reserved)
 [0.00]  BIOS-e820: fffc - 0001 (reserved)
 [0.00] NX (Execute Disable) protection: active
 [0.00] DMI 2.4 present.
 [0.00] No AGP bridge found
 [0.00] last_pfn = 0x7fffd max_arch_pfn = 0x4
 [0.00] x86 PAT enabled: cpu 0, old 0x70406, new 0x7010600070106
 [0.00] found SMP MP-table at [880fdae0] fdae0
 [0.00] init_memory_mapping: -7fffd000
 [0.00] RAMDISK: 3776c000 - 37bae000
 [0.00] ACPI: RSDP 000fd980 00014 (v00 BOCHS )
 [0.00] ACPI: RSDT 7fffd7b0 00034 (v01 BOCHS  BXPCRSDT 
 0001 BXPC 0001)
 [0.00] ACPI: FACP 7f80 00074 (v01 BOCHS  BXPCFACP 
 0001 BXPC 0001)
 [0.00] ACPI: DSDT 7fffd9b0 02589 (v01   BXPC   BXDSDT 
 0001 INTL 20100528)
 [0.00] ACPI: FACS 7f40 00040
 [0.00] ACPI: SSDT 7fffd910 0009E (v01 BOCHS  BXPCSSDT 
 0001 BXPC 0001)
 [0.00] ACPI: APIC 7fffd830 00072 (v01 BOCHS  BXPCAPIC 
 0001 BXPC 0001)
 [0.00] ACPI: HPET 7fffd7f0 00038 (v01 BOCHS  BXPCHPET 
 0001 BXPC 0001)
 [0.00] No NUMA configuration found
 [0.00] Faking a node at -7fffd000
 [0.00] Initmem setup node 0 -7fffd000
 [0.00]   NODE_DATA [7fff8000 - 7fffcfff]
 [0.00] kvm-clock: Using msrs 4b564d01 and 4b564d00
 [0.00] kvm-clock: cpu 0, msr 0:1cf7681, boot clock
 [0.00] Zone PFN ranges:
 [0.00]   DMA  0x0010 - 0x1000
 [0.00]   DMA320x1000 - 0x0010
 [0.00]   Normal   empty
 [0.00] Movable zone start PFN for each node
 [0.00] early_node_map[2] active PFN ranges
 [0.00] 0: 0x0010 - 0x009b
 [0.00] 0: 0x0100 - 0x0007fffd
 [0.00] ACPI: PM-Timer IO Port: 0xb008
 [0.00] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
 [0.00] ACPI: IOAPIC (id[0x01] address[0xfec0] gsi_base[0])
 [0.00] IOAPIC[0]: apic_id 1, version 17, address 0xfec0, GSI 
 0-23
 [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
 [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
 [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
 [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 

Re: [Openstack] Cant ping private or floating IP

2013-02-15 Thread JuanFra Rodriguez Cardoso
Hi Guilherme:

Try to issue: 'dhclient eth1' in your VM (from VNC console). It could be
problem with net rules in udev.


Regards,
JuanFra


2013/2/15 Guilherme Russi luisguilherme...@gmail.com

 Hello guys,

  I got the same problem, I have enabled the SSH and Ping policies, when I
 type sudo ifconfig -a inside my VM (Through VNC) the only IP showed is
 the lo IP.
  What am I missing?

 Regards.

 Guilherme.



 2013/2/15 Jean-Baptiste RANSY jean-baptiste.ra...@alyseo.com

  Hello Chathura;

 It's normal that your compute node have no route to the tenant network.
 Quantum and openvswitch provide Layer2 link and as i can see, the VM
 obtain a IP address.
 So we can assume that quantum and openvswitch are setup correctly.

 Same question as JuanFra : Have you enabled PING and SSH in 'Access and
 security policies'?

 Other things :

 Cloud-init (in VM) is unable to retrive metadata, does nova-api-metadata
 is running on your Compute Node ?
 If yes, check you nova.conf.

 Regards,

 Jean-Baptiste RANSY



 On 02/14/2013 11:58 PM, Chathura M. Sarathchandra Magurawalage wrote:

  Hello,

  I followed the folsom basic install instructions in
 http://docs.openstack.org/folsom/basic-install/content/basic-install_operate.html

  But now I am not able to ping either the private or the floating ip of
 the instances.

  Can someone please help?

  Instance log:

  [0.00] Initializing cgroup subsys cpuset
 [0.00] Initializing cgroup subsys cpu
 [0.00] Linux version 3.2.0-37-virtual (buildd@allspice) (gcc version 
 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #58-Ubuntu SMP Thu Jan 24 15:48:03 
 UTC 2013 (Ubuntu 3.2.0-37.58-virtual 3.2.35)
 [0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-37-virtual 
 root=LABEL=cloudimg-rootfs ro console=ttyS0
 [0.00] KERNEL supported cpus:
 [0.00]   Intel GenuineIntel
 [0.00]   AMD AuthenticAMD
 [0.00]   Centaur CentaurHauls
 [0.00] BIOS-provided physical RAM map:
 [0.00]  BIOS-e820:  - 0009bc00 (usable)
 [0.00]  BIOS-e820: 0009bc00 - 000a (reserved)
 [0.00]  BIOS-e820: 000f - 0010 (reserved)
 [0.00]  BIOS-e820: 0010 - 7fffd000 (usable)
 [0.00]  BIOS-e820: 7fffd000 - 8000 (reserved)
 [0.00]  BIOS-e820: feffc000 - ff00 (reserved)
 [0.00]  BIOS-e820: fffc - 0001 (reserved)
 [0.00] NX (Execute Disable) protection: active
 [0.00] DMI 2.4 present.
 [0.00] No AGP bridge found
 [0.00] last_pfn = 0x7fffd max_arch_pfn = 0x4
 [0.00] x86 PAT enabled: cpu 0, old 0x70406, new 0x7010600070106
 [0.00] found SMP MP-table at [880fdae0] fdae0
 [0.00] init_memory_mapping: -7fffd000
 [0.00] RAMDISK: 3776c000 - 37bae000
 [0.00] ACPI: RSDP 000fd980 00014 (v00 BOCHS )
 [0.00] ACPI: RSDT 7fffd7b0 00034 (v01 BOCHS  BXPCRSDT 
 0001 BXPC 0001)
 [0.00] ACPI: FACP 7f80 00074 (v01 BOCHS  BXPCFACP 
 0001 BXPC 0001)
 [0.00] ACPI: DSDT 7fffd9b0 02589 (v01   BXPC   BXDSDT 
 0001 INTL 20100528)
 [0.00] ACPI: FACS 7f40 00040
 [0.00] ACPI: SSDT 7fffd910 0009E (v01 BOCHS  BXPCSSDT 
 0001 BXPC 0001)
 [0.00] ACPI: APIC 7fffd830 00072 (v01 BOCHS  BXPCAPIC 
 0001 BXPC 0001)
 [0.00] ACPI: HPET 7fffd7f0 00038 (v01 BOCHS  BXPCHPET 
 0001 BXPC 0001)
 [0.00] No NUMA configuration found
 [0.00] Faking a node at -7fffd000
 [0.00] Initmem setup node 0 -7fffd000
 [0.00]   NODE_DATA [7fff8000 - 7fffcfff]
 [0.00] kvm-clock: Using msrs 4b564d01 and 4b564d00
 [0.00] kvm-clock: cpu 0, msr 0:1cf7681, boot clock
 [0.00] Zone PFN ranges:
 [0.00]   DMA  0x0010 - 0x1000
 [0.00]   DMA320x1000 - 0x0010
 [0.00]   Normal   empty
 [0.00] Movable zone start PFN for each node
 [0.00] early_node_map[2] active PFN ranges
 [0.00] 0: 0x0010 - 0x009b
 [0.00] 0: 0x0100 - 0x0007fffd
 [0.00] ACPI: PM-Timer IO Port: 0xb008
 [0.00] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
 [0.00] ACPI: IOAPIC (id[0x01] address[0xfec0] gsi_base[0])
 [0.00] IOAPIC[0]: apic_id 1, version 17, address 0xfec0, GSI 0-23
 [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
 [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
 [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
 [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
 [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 

Re: [Openstack] Suggestions for shared-storage cluster file system

2013-02-15 Thread JuanFra Rodriguez Cardoso
Another one:

 - MooseFS (
http://docs.openstack.org/trunk/openstack-compute/admin/content/installing-moosefs-as-backend.html
)
 - GlusterFS
 - Ceph
 - Lustre

Regards,
JuanFra


2013/2/15 Samuel Winchenbach swinc...@gmail.com

 Hi All,

 Can anyone give me a recommendation for a good shared-storage cluster
 filesystem?   I am running kvm-libvirt and would like to enable live
 migration.

 I have a number of hosts (up to 16) each with 2xTB drives.  These hosts
 are also my compute/network/controller nodes.

 The three I am considering are:

 GlusterFS - I have the most experience with this, and it seems the easiest.

 CephFS/RADOS - Interesting because glance supports the rbd backend.
  Slightly worried because of this though Important:
 Mount the CephFS filesystem on the client machine, not the cluster
 machine.
 (I wish it said why...)  and CephFS is not quite as stable as the block
 device and the object storage gateway.
  Lustre - A little hesitant now that Oracle is involved with it.


 If anyone has any advice, or can point out another that I should consider
 it would be greatly appreciated.

 Thanks!

 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] HA Openstack with Pacemaker

2013-02-13 Thread JuanFra Rodriguez Cardoso
Hi Samuel:

Yes, it's possible with pacemaker. Look at
http://docs.openstack.org/trunk/openstack-ha/content/ch-intro.html.

Regards,
JuanFra


2013/2/13 Samuel Winchenbach swinc...@gmail.com

 Hi All,

 I currently have a HA OpenStack cluster running where the OpenStack
 services are kept alive with a combination of haproxy and keepalived.

 Is it possible to configure pacemaker so that all the OpenStack services
  are served by the same IP?  With keepalived I have a virtual ip that can
 move from server to server and haproxy sends the request to a machine that
 has a live service.   This allows one (public) ip to handle all incoming
 requests.  I believe it is the combination of VRRP/IPVS that allows this.


 Is it possible to do something similar with pacemaker?  I really don't
 want to have an IP for each service, and I don't want to make it a
 requirement that all OpenStack services must be running on the same server.

 Thanks... I hope this question is clear, I feel like I sort of butchered
 the wording a bit.

 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] console.log is empty, what to do?

2013-02-01 Thread JuanFra Rodriguez Cardoso
Hi all again:

Finally I got dump logs to file 'console.log'.
It needed to add 'console=tty0 console=ttyS0,115200' to kernel line in
/etc/grub.conf.

Regards,
JuanFra.

2013/1/30 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com

 Hi all:

 I've tested default image 'cirros' and instance logging works fine.
 However, I need to add some script to /etc/rc3.d/ in my instance (CentOS).
 Does anyone know how to redirect initial logs to file console.log?


 Thanks,
 JuanFra



 ---

 Hi Guys,

 I have a question concerning the instance console log.

 Do I have to prepare an image in any way to see content in the file *
 console.log* (or in horizon: instance console log)??

 I have a standard centos6.2 image and I always have an empty file (*
 console.log*)

 Thanks in advance

 Viktor





-- 
JuanFra
___
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] console.log is empty, what to do?

2013-01-30 Thread JuanFra Rodriguez Cardoso
Hi all:

I've tested default image 'cirros' and instance logging works fine.
However, I need to add some script to /etc/rc3.d/ in my instance (CentOS).
Does anyone know how to redirect initial logs to file console.log?


Thanks,
JuanFra



---

Hi Guys,

I have a question concerning the instance console log.

Do I have to prepare an image in any way to see content in the file *
console.log* (or in horizon: instance console log)??

I have a standard centos6.2 image and I always have an empty file (*
console.log*)

Thanks in advance

Viktor
___
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] Configuring instances during first boot

2013-01-29 Thread JuanFra Rodriguez Cardoso
Hi stackers!

Does anyone use initial scripts for resizing disks, adding username and
hostame to instances during first boot?
Do you know any example of these utils like cloud-init?

Thanks!

Regards,
-- 
JuanFra
___
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] Configuring instances during first boot

2013-01-29 Thread JuanFra Rodriguez Cardoso
Thanks for your replies!!

Has anyone tried to resize root disk of Centos/Fedora instances with
cloud-init?


2013/1/29 Diego Parrilla Santamaría diego.parrilla.santama...@gmail.com

 cloud-init and it's variants:

 https://help.ubuntu.com/community/CloudInit


  --
 Diego Parrilla
 http://www.stackops.com/*CEO*
 *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 |
 skype:diegoparrilla*
 * http://www.stackops.com/
 *

 *



 On Tue, Jan 29, 2013 at 10:42 AM, JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com wrote:

 Hi stackers!

 Does anyone use initial scripts for resizing disks, adding username and
 hostame to instances during first boot?
 Do you know any example of these utils like cloud-init?

 Thanks!

 Regards,
 --
 JuanFra

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





-- 
JuanFra
___
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] Configuring instances during first boot

2013-01-29 Thread JuanFra Rodriguez Cardoso
Ok Pádraig, thanks!
I will contact him.

Regards,
JuanFra.

2013/1/29 Pádraig Brady p...@draigbrady.com

 On 01/29/2013 01:08 PM, JuanFra Rodriguez Cardoso wrote:

 Thanks for your replies!!

 Has anyone tried to resize root disk of Centos/Fedora instances with
 cloud-init?


 Juerg Haefliger is working on cloud-utils and cloud-initramfs-tools
 packages for Fedora/Red Hat, which support the growroot feature.
 He might have some packages for you to test.

 thanks,
 Pádraig.




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


Re: [Openstack] Horizon - OfflineGenerationError

2013-01-29 Thread JuanFra Rodriguez Cardoso
Hi all:

After multiple attempts, thanks to Matthias Runge's suggestions, I got
Horizon works fine.
It needs nova-* services like nova-volume are running. I chose to not use
volume service, so that I had to create a virtual vg 'nova-volumes' to get
Horizon works. Here I attach code for creation and deletion of a volume
group (100M) over an loop device:

-- Create --
if [ $(vgscan | grep -i nova-volumes) ==  ]
then
   [ -f PATH/nova-volumes.disk ] || touch PATH/nova-volumes.disk
   dd if=/dev/zero of=PATH/nova-volumes.disk bs=4k count=25600
   losetup /dev/loop0 PATH/nova-volumes.disk
   mke2fs /dev/loop0
   pvcreate /dev/loop0
   vgcreate nova-volumes /dev/loop0
fi

-- Delete --
[ -f PATH/nova-volumes.disk ]  losetup -d /dev/loop0
rm -rf PATH/nova-volumes.disk



Hope it's useful!

Best,
JuanFra





2012/12/13 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com

 Hi all:

 I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
 error related to css/js compression:

 File /usr/lib/python2.6/site-packages/django/template/base.py, line 837,
 in render_node
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 node.render(context)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 147, in render
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 self.render_compressed(context, self.kind, self.mode, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 88, in render_compressed
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] cached_offline
 = self.render_offline(context, forced=forced)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 72, in render_offline
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may need
 to run python manage.py compress.' % key)
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 OfflineGenerationError: You have offline compression enabled but key
 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
 may need to run python manage.py compress.
 [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
 exist: /var/www/html/favicon.ico

 any idea for solving it?

 Thanks,
 JuanFra.

___
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 client support for restore from soft delete ?

2013-01-29 Thread JuanFra Rodriguez Cardoso
Hi Phil:

Check out XML file associtated to instance if you are using KVM. It
contains instance info. You can find this file on your instances diretory
(/var/lib/nova/instances by default).

Regards,
JuanFra.

2013/1/29 Day, Phil philip@hp.com

  Hi Folks,

 ** **

 Does the nova client provide support to restore a soft deleted instance
 (and if not, what is the process for pulling an instance back from the
 brink) ?

 ** **

 Cheers,

 Phil

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




-- 
JuanFra
___
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 to find/start openstack services

2013-01-29 Thread JuanFra Rodriguez Cardoso
What distro are you using?

2013/1/29 Guilherme Souza souza.guilherm...@gmail.com

 I've runned the rejoin-stack.sh script and i got access the dashboard, but
 if i run top command at linux bash (shell), i can't see the services
 running and I tried to run the services and I'm getting messages like this
 one: keystone: unrecognized service

 Ideas?


 2013/1/29 Razique Mahroua razique.mahr...@gmail.com

 Hi,
 If you installed OpenStack from the repositories, then you have all the
 init scripts as well. You can then use the following command :
 $ service nova-X start (x being the name of the service)
 $ service keystone start

 Regards,
 Razique

 Le mardi 29 janvier 2013, Guilherme Souza a écrit :

 Hello folks,

 I'm getting a problem, some days ago i've logged into dashboard with no
 problems, but today, I've tried to log into dashboard and i got this
 message:

 An error occurred authenticating. Please try again later.

 And, i can't found the services runnig using the ubuntu CLI, i've tried
 to start them, but i got a lot of nova: unrecognized service.

 My question is, how to start the openstack services?

 Thanks in advance.

 --
 Guilherme Santos Souza



 --
 *Nuage  Co - Razique Mahroua*
 razique.mahr...@gmail.com




 --
 Atenciosamente,

 Guilherme Santos Souza
 Sistemas de Informação - PUCRS
 Fone: (51) 9695-1070

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




-- 
JuanFra
___
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 to find/start openstack services

2013-01-29 Thread JuanFra Rodriguez Cardoso
Try e.g: dpkg --get-selections | grep -i keystone
However, you can view openstack services in /etc/init.d/ and python files
in /usr/lib/python2.x/sites-packages/keystone...


2013/1/29 Guilherme Souza souza.guilherm...@gmail.com

 ubuntu 11.10


 2013/1/29 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com

 What distro are you using?

 2013/1/29 Guilherme Souza souza.guilherm...@gmail.com

 I've runned the rejoin-stack.sh script and i got access the dashboard,
 but if i run top command at linux bash (shell), i can't see the services
 running and I tried to run the services and I'm getting messages like this
 one: keystone: unrecognized service

 Ideas?


 2013/1/29 Razique Mahroua razique.mahr...@gmail.com

 Hi,
 If you installed OpenStack from the repositories, then you have all the
 init scripts as well. You can then use the following command :
 $ service nova-X start (x being the name of the service)
 $ service keystone start

 Regards,
 Razique

 Le mardi 29 janvier 2013, Guilherme Souza a écrit :

 Hello folks,

 I'm getting a problem, some days ago i've logged into dashboard with
 no problems, but today, I've tried to log into dashboard and i got this
 message:

 An error occurred authenticating. Please try again later.

 And, i can't found the services runnig using the ubuntu CLI, i've
 tried to start them, but i got a lot of nova: unrecognized service.

 My question is, how to start the openstack services?

 Thanks in advance.

 --
 Guilherme Santos Souza



 --
 *Nuage  Co - Razique Mahroua*
 razique.mahr...@gmail.com




 --
 Atenciosamente,

 Guilherme Santos Souza
 Sistemas de Informação - PUCRS
 Fone: (51) 9695-1070

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




 --
 JuanFra




 --
 Atenciosamente,

 Guilherme Santos Souza
 Sistemas de Informação - PUCRS
 Fone: (51) 9695-1070




-- 
JuanFra
___
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] Bypassing the keypair in Folsom

2013-01-22 Thread JuanFra Rodriguez Cardoso
Hi Balu:

Before launching an instance, you have to create a keypair
(YOUR_DASHBOARD_IP/dashboard/nova/access_and_security/).
Then, next time you launch an instance, you can choose that keypair created
previously.

Regards,
JuanFra.

2013/1/22 Balamurugan V G balamuruga...@gmail.com

 Hi,

 I have a Folsom private openstack cloud in which security is not a
 concern. That is I dont really need the security groups and keypairs etc
 offered by openstack. So all my instances are launched as part of the
 default security group. I have even allowed all TCP and UDP ports(1 to
 65535) and ICMP.

 But when I try to SSH to the floating IP assigned to a Ubuntu instance, I
 get connection refused. When I so 'ssh -vvv', I can see that the connection
 is getting establish but is getting terminated. It seems due to missing key
 pair.

 Is there a way to bypass the keypairs.

 Regards,
 Balu

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




-- 
JuanFra
___
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] doc for openstack deployment using puppet

2013-01-17 Thread JuanFra Rodriguez Cardoso
Hi:

Check out the following url:
https://github.com/puppetlabs/puppetlabs-openstack

Best,
JuanFra

2013/1/17 haynes.da...@accenture.com

  Hi,

 ** **

 Please help me with any tested doc  for openstack deployment using puppet.
 

 ** **

 regards,

 Haynes Davis

 ** **

 --
 This message is for the designated recipient only and may contain
 privileged, proprietary, or otherwise private information. If you have
 received it in error, please notify the sender immediately and delete the
 original. Any other use of the e-mail by you is prohibited.

 Where allowed by local law, electronic communications with Accenture and
 its affiliates, including e-mail and instant messaging (including content),
 may be scanned by our systems for the purposes of information security and
 assessment of internal compliance with Accenture policy.


 __

 www.accenture.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




-- 
JuanFra
___
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] Help with Glance

2013-01-16 Thread JuanFra Rodriguez Cardoso
Have you tried to issue:

glance image-create --name=Ubuntu 12.04 UEC *is_public=true*
--container-format=
ovf --disk-format=qcow2  precise-server-cloudimg-amd64.img

AFAIK, --public option is not recognized.

Best,
JuanFra.


2013/1/16 Guilherme Russi luisguilherme...@gmail.com

 glance image-create --name=Ubuntu 12.04 UEC --public --container-format=
 ovf --disk-format=qcow2  precise-server-cloudimg-amd64.img





-- 
JuanFra
___
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] Help with Glance

2013-01-16 Thread JuanFra Rodriguez Cardoso
mmm... can be an error related with quotes copied?
Test typing manually Ubuntu 12.04 UEC

2013/1/16 Guilherme Russi luisguilherme...@gmail.com

 It returned the same error, it looks like my glance doesn't know the
 commando --name, no such option: --name



 2013/1/16 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com

 glance image-create --name=Ubuntu 12.04 UEC *is_public=true* 
 --container-format=
 ovf --disk-format=qcow2  precise-server-cloudimg-amd64.img






-- 
JuanFra
___
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] Help with Glance

2013-01-16 Thread JuanFra Rodriguez Cardoso
It shouldn't be problem with your distro.

Can you enable flags 'verbose=True' and 'debug=True' both
glance-registry.conf as glance-api.conf?
In this way, you can paste more useful info returned by the error.


2013/1/16 Guilherme Russi luisguilherme...@gmail.com

 I've tried to type all over again: glance image-create --name= Ubuntu
 12.04 UEC is_public= true --container-format= ovf --disk-format= qcow2 
 precise-server-cloudimg-amd64.img and got the same error, I'm using Debian
 Wheezy, maybe can be some problem with my dist?

 Thanks.



 2013/1/16 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com

 mmm... can be an error related with quotes copied?
 Test typing manually Ubuntu 12.04 UEC


 2013/1/16 Guilherme Russi luisguilherme...@gmail.com

 It returned the same error, it looks like my glance doesn't know the
 commando --name, no such option: --name



 2013/1/16 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com
 

 glance image-create --name=Ubuntu 12.04 UEC *is_public=true* 
 --container-format=
 ovf --disk-format=qcow2  precise-server-cloudimg-amd64.img






 --
 JuanFra





-- 
JuanFra
___
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] keystone help! keystone-all

2013-01-16 Thread JuanFra Rodriguez Cardoso
Hi:

Check ports tcp/5000 and tcp/35357 are free before starting keystone.

Regards,
JuanFra.


2013/1/16 Mballo Cherif cherif.mba...@gemalto.com

 Hi everybody, I need help. When I install keystone and do keystone-all I
 get this error:

 How can I fix this issus?

 ** **

 File /usr/bin/keystone-all, line 74, in module
 serve(*servers)
   File /usr/bin/keystone-all, line 38, in serve
 server.start()
   File /usr/lib/python2.7/dist-packages/keystone/common/wsgi.py, line
 71, in start
 socket = eventlet.listen((self.host, self.port), backlog=backlog)
   File /usr/lib/python2.7/dist-packages/eventlet/convenience.py, line
 38, in listen
 sock.bind(addr)
   File /usr/lib/python2.7/socket.py, line 224, in meth
 return getattr(self._sock,name)(*args)
 socket.error: [Errno 98] Address already in use

 ** **

 Thanks!

 ** **

 Sherif

 ** **

 ** **

 ** **

 ** **

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




-- 
JuanFra
___
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] keystone help! keystone-all

2013-01-16 Thread JuanFra Rodriguez Cardoso
Nice! No problem.

2013/1/16 Mballo Cherif cherif.mba...@gemalto.com

 Thanks juanFran ! I fix the issue, the problem was that I launched twice
 the keystone process with “service keystone start” and “keystone-all” J!
 Thanks you for your help!

 ** **

 ** **

 Sheriff.

 ** **

 *From:* JuanFra Rodriguez Cardoso [mailto:
 juanfra.rodriguez.card...@gmail.com]
 *Sent:* mercredi 16 janvier 2013 16:33
 *To:* Mballo Cherif
 *Cc:* openstack@lists.launchpad.net
 *Subject:* Re: [Openstack] keystone help! keystone-all

 ** **

 Hi:

 ** **

 Check ports tcp/5000 and tcp/35357 are free before starting keystone.


 Regards,

 JuanFra.

 ** **

 ** **

 2013/1/16 Mballo Cherif cherif.mba...@gemalto.com

 Hi everybody, I need help. When I install keystone and do keystone-all I
 get this error:

 How can I fix this issus?

  

 File /usr/bin/keystone-all, line 74, in module
 serve(*servers)
   File /usr/bin/keystone-all, line 38, in serve
 server.start()
   File /usr/lib/python2.7/dist-packages/keystone/common/wsgi.py, line
 71, in start
 socket = eventlet.listen((self.host, self.port), backlog=backlog)
   File /usr/lib/python2.7/dist-packages/eventlet/convenience.py, line
 38, in listen
 sock.bind(addr)
   File /usr/lib/python2.7/socket.py, line 224, in meth
 return getattr(self._sock,name)(*args)
 socket.error: [Errno 98] Address already in use

  

 Thanks!

  

 Sherif

  

  

  

  


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



 

 ** **

 --
 JuanFra 




-- 
JuanFra
___
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 Horizon or misconfiguration?

2013-01-11 Thread JuanFra Rodriguez Cardoso
Hi:

FYI, this is the python-keystoneclient I'm running currently:

Name: python-keystoneclient
Arch: noarch
Epoch   : 1
Version : 0.1.3.27
Release : 1.el6

The http errors keep logging with any interaction in Horizon.

 unable to retrieve service catalog with token
[.]
  EndpointNotFound: Endpoint not found.

Best!
JuanFra

2013/1/11 Dolph Mathews dolph.math...@gmail.com

 Are you still seeing EndpointNotFound's on the latest version of
 keystoneclient? Even without a fix, it was simply a condition that didn't
 need to be logged (especially as an error).


 -Dolph


 On Thu, Jan 10, 2013 at 8:07 PM, Sina Sadeghi s...@aptira.com wrote:

  Guys this is a bug I have been trying to get resolved for _ages_ now
 and it seems nobody cares about it:

 https://bugs.launchpad.net/python-keystoneclient/+bug/1036342



 --
 *Sina Sadeghi*
 Lead Cloud Engineer

 *Aptira Pty Ltd*
 1800 APTIRA
 aptira.com http://www.aptira.com
 Follow @aptira https://twitter.com/#/aptira

  On 11/01/13 01:33, Ray Sun wrote:

 Maybe this bugs is related with your Quota Summary.

  https://bugs.launchpad.net/horizon/+bug/1055929

  Just replace 'usage.quota' with 'usage.quotas' in
 horizon/templates/horizon/common/_quota_summary.html.

  - Ray
 Yours faithfully, Kind regards.

 CIeNET Technologies (Beijing) Co., Ltd
 Email: qsun01...@cienet.com.cn
 Office Phone: +86-01081470088-7079
 Mobile Phone: +86-13581988291


 On Thu, Jan 10, 2013 at 9:09 PM, JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com wrote:

 Thanks for replying quickly!

 Yes, I knew about this property. By default is 'internalURL', but
 although it's modified and restarted httpd, errors related to
 EndpointNotFound continue logging with endpoint_type='adminURL'.

 On the other hand, in Horizon, the Quota Summary in Project tab, is
 shown empty. Any idea about that?

 Thanks a lot!
 JuanFra


 2013/1/10 Diego Parrilla Santamaría diego.parrilla.santama...@gmail.com
 

 You can change the endpoint type in Horizon:

  Modify this file:
 /etc/openstack-dashboard/local_settings.py

  and add (or edit) this property:
 OPENSTACK_ENDPOINT_TYPE=endpoint_type

  and endpoint_type can be internalURL, publicURL and adminURL, as
 usual.

  Cheers
 Diego

   --
  Diego Parrilla
  http://www.stackops.com/*CEO*
 *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 
 29%2B34%20649%2094%2043%2029|
 skype:diegoparrilla*
 * http://www.stackops.com/
  *

 *



  On Thu, Jan 10, 2013 at 1:33 PM, JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com wrote:

  Hi guys!

 Do you know if this Horizon's bug have been solved? In my fresh
 installation (2012.2.1 from EPEL), it keeps crashing.
 However, remaining operations in dashboard work fine!

   [Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call
 last):
 [Thu Jan 10 13:20:19 2013] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 
 135,
 in _extract_service_catalog
 [Thu Jan 10 13:20:19 2013] [error] endpoint_type='adminURL')
 [Thu Jan 10 13:20:19 2013] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line
 73, in url_for
 [Thu Jan 10 13:20:19 2013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not
 found.
 [Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog
 with token


 It could be a great chance for my first contribution to Horizon code?
 could I assign myself this bug?

 Thanks,
  JuanFra.

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




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




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



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



 ___
 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

Re: [Openstack] Error in Horizon or misconfiguration?

2013-01-10 Thread JuanFra Rodriguez Cardoso
Hi guys!

Do you know if this Horizon's bug have been solved? In my fresh
installation (2012.2.1 from EPEL), it keeps crashing.
However, remaining operations in dashboard work fine!

[Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):
[Thu Jan 10 13:20:19 2013] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 135,
in _extract_service_catalog
[Thu Jan 10 13:20:19 2013] [error] endpoint_type='adminURL')
[Thu Jan 10 13:20:19 2013] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line
73, in url_for
[Thu Jan 10 13:20:19 2013] [error] raise
exceptions.EndpointNotFound('Endpoint not found.')
[Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.
[Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog with
token


It could be a great chance for my first contribution to Horizon code? could
I assign myself this bug?

Thanks,
JuanFra.
___
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 Horizon or misconfiguration?

2013-01-10 Thread JuanFra Rodriguez Cardoso
Thanks for replying quickly!

Yes, I knew about this property. By default is 'internalURL', but although
it's modified and restarted httpd, errors related to EndpointNotFound
continue logging with endpoint_type='adminURL'.

On the other hand, in Horizon, the Quota Summary in Project tab, is shown
empty. Any idea about that?

Thanks a lot!
JuanFra

2013/1/10 Diego Parrilla Santamaría diego.parrilla.santama...@gmail.com

 You can change the endpoint type in Horizon:

 Modify this file:
 /etc/openstack-dashboard/local_settings.py

 and add (or edit) this property:
 OPENSTACK_ENDPOINT_TYPE=endpoint_type

 and endpoint_type can be internalURL, publicURL and adminURL, as usual.

 Cheers
 Diego

  --
 Diego Parrilla
 http://www.stackops.com/*CEO*
 *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 |
 skype:diegoparrilla*
 * http://www.stackops.com/
 *

 *



 On Thu, Jan 10, 2013 at 1:33 PM, JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com wrote:

 Hi guys!

 Do you know if this Horizon's bug have been solved? In my fresh
 installation (2012.2.1 from EPEL), it keeps crashing.
 However, remaining operations in dashboard work fine!

 [Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):
 [Thu Jan 10 13:20:19 2013] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 135,
 in _extract_service_catalog
 [Thu Jan 10 13:20:19 2013] [error] endpoint_type='adminURL')
 [Thu Jan 10 13:20:19 2013] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line
 73, in url_for
 [Thu Jan 10 13:20:19 2013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.
 [Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog
 with token


 It could be a great chance for my first contribution to Horizon code?
 could I assign myself this bug?

 Thanks,
 JuanFra.

 ___
 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] Error in Horizon or misconfiguration?

2013-01-10 Thread JuanFra Rodriguez Cardoso
Great, Ray! That solved my bug with Quota summary.

As info for other with the same problem, in CentOS deployments, the full
path for these changes would be in:

/usr/lib/python2.6/site-packages/horizon/templates/horizon/common/_quota_summary.html

Thanks so much guys!

Regards,
JuanFra

2013/1/10 Ray Sun qsun01...@cienet.com.cn

 Maybe this bugs is related with your Quota Summary.

 https://bugs.launchpad.net/horizon/+bug/1055929

 Just replace 'usage.quota' with 'usage.quotas' in
 horizon/templates/horizon/common/_quota_summary.html.

 - Ray
 Yours faithfully, Kind regards.

 CIeNET Technologies (Beijing) Co., Ltd
 Email: qsun01...@cienet.com.cn
 Office Phone: +86-01081470088-7079
 Mobile Phone: +86-13581988291


 On Thu, Jan 10, 2013 at 9:09 PM, JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com wrote:

 Thanks for replying quickly!

 Yes, I knew about this property. By default is 'internalURL', but
 although it's modified and restarted httpd, errors related to
 EndpointNotFound continue logging with endpoint_type='adminURL'.

 On the other hand, in Horizon, the Quota Summary in Project tab, is shown
 empty. Any idea about that?

 Thanks a lot!
 JuanFra


 2013/1/10 Diego Parrilla Santamaría diego.parrilla.santama...@gmail.com

 You can change the endpoint type in Horizon:

 Modify this file:
 /etc/openstack-dashboard/local_settings.py

 and add (or edit) this property:
 OPENSTACK_ENDPOINT_TYPE=endpoint_type

 and endpoint_type can be internalURL, publicURL and adminURL, as usual.

 Cheers
 Diego

  --
 Diego Parrilla
 http://www.stackops.com/*CEO*
 *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29|
 skype:diegoparrilla*
 * http://www.stackops.com/
 *

 *



 On Thu, Jan 10, 2013 at 1:33 PM, JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com wrote:

 Hi guys!

 Do you know if this Horizon's bug have been solved? In my fresh
 installation (2012.2.1 from EPEL), it keeps crashing.
 However, remaining operations in dashboard work fine!

 [Thu Jan 10 13:20:19 2013] [error] Traceback (most recent call last):
 [Thu Jan 10 13:20:19 2013] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 135,
 in _extract_service_catalog
 [Thu Jan 10 13:20:19 2013] [error] endpoint_type='adminURL')
 [Thu Jan 10 13:20:19 2013] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line
 73, in url_for
 [Thu Jan 10 13:20:19 2013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Thu Jan 10 13:20:19 2013] [error] EndpointNotFound: Endpoint not found.
 [Thu Jan 10 13:20:21 2013] [error] unable to retrieve service catalog
 with token


 It could be a great chance for my first contribution to Horizon code?
 could I assign myself this bug?

 Thanks,
 JuanFra.

 ___
 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] Who can give me some article to explain netfilter

2012-12-28 Thread JuanFra Rodriguez Cardoso
Hi Lei:

I don't know if this info can be useful for you, but I think is a great
getting started with iptables, chain... in OpenStack Network:
http://www.ibm.com/developerworks/cloud/library/cl-openstack-network/index.html

Regards,
JuanFra.

2012/12/28 Lei Zhang zhang.lei@gmail.com

 Hi Razique,

 thx very much.
 But this article is not very detailed. Now, I have a basic understand
 about iptables. But now I want to learn the ebtables and every flow path on
 the picture mentioned above.


 On Fri, Dec 28, 2012 at 5:20 PM, Razique Mahroua 
 razique.mahr...@gmail.com wrote:

 Hey Lei,
 here is a good start
 http://fengnet.com/book/firewallfundamentals/ch07lev1sec3.html

 Regards,
 *Razique Mahroua** - **Nuage  Co*
 razique.mahr...@gmail.com
 Tel : +33 9 72 37 94 15


 Le 28 déc. 2012 à 10:17, Lei Zhang zhang.lei@gmail.com a écrit :

 Hi all,

 I am learning the netfilter(iptables/ebtables) now. I found this picture
 http://en.wikipedia.org/wiki/File:Netfilter-packet-flow.svg from wiki. I
 want to under the whole package flow on it. But found nothing . Could you
 give me more information about it?

 BR
 --
 Lei Zhang

 Blog: http://jeffrey4l.github.com
 twitter/weibo: @jeffrey4l
  ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp





 --
 Lei Zhang

 Blog: http://jeffrey4l.github.com
 twitter/weibo: @jeffrey4l

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


NUAGECO-LOGO-Fblan_petit.jpg___
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 do when the compute-node is failed.

2012-12-28 Thread JuanFra Rodriguez Cardoso
@Lei, it's a great article from Mirantis folks. Thanks for sharing it!

@Vis @Yaguang, I didn't know what flag is working currently. Both in folsom
as in trunk doc, both flags appear.
I understand --start_guests_on_host_boot will be removed from list of
config options in docs.

Thanks for your clarification.
JuanFra.
2012/12/28 Lei Zhang zhang.lei@gmail.com

 Hi all,

 I found this article
 http://www.mirantis.com/blog/openstack-nova-basic-disaster-recovery/ and
 it is very useful.


 On Fri, Dec 28, 2012 at 10:17 AM, Lei Zhang zhang.lei@gmail.comwrote:

 Got it.
 Thank all of you.


 On Fri, Dec 28, 2012 at 2:02 AM, Vishvananda Ishaya 
 vishvana...@gmail.com wrote:


 On Dec 27, 2012, at 9:09 AM, heut2008 heut2...@gmail.com wrote:

 note that the flag --start_guests_on_host_boot=true has been removed in
 the latest trunk code.so instances which are running willn't be restarted
  even the nova-compute is restarted .


 Correct. The proper way to get instances to come back is
 resume_guests_state_on_host_boot

 Vish


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




 --
 Lei Zhang

 Blog: http://jeffrey4l.github.com
 twitter/weibo: @jeffrey4l




 --
 Lei Zhang

 Blog: http://jeffrey4l.github.com
 twitter/weibo: @jeffrey4l

 ___
 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] How to do when the compute-node is failed.

2012-12-28 Thread JuanFra Rodriguez Cardoso
Nice! Thanks for feedback!
As Vish and Yaguang mentioned, currently the only flag to get instances to
come back is that.

JuanFra.

2012/12/28 Lei Zhang zhang.lei@gmail.com

 @JuanFra
 this flag resume_guests_state_on_host_boot=true is work . I tested it
 today on Folsom release.


 On Fri, Dec 28, 2012 at 6:24 PM, JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com wrote:

 @Lei, it's a great article from Mirantis folks. Thanks for sharing it!

 @Vis @Yaguang, I didn't know what flag is working currently. Both in
 folsom as in trunk doc, both flags appear.
 I understand --start_guests_on_host_boot will be removed from list of
 config options in docs.

 Thanks for your clarification.
 JuanFra.

 2012/12/28 Lei Zhang zhang.lei@gmail.com

 Hi all,

 I found this article
 http://www.mirantis.com/blog/openstack-nova-basic-disaster-recovery/ and
 it is very useful.


 On Fri, Dec 28, 2012 at 10:17 AM, Lei Zhang zhang.lei@gmail.comwrote:

 Got it.
 Thank all of you.


 On Fri, Dec 28, 2012 at 2:02 AM, Vishvananda Ishaya 
 vishvana...@gmail.com wrote:


 On Dec 27, 2012, at 9:09 AM, heut2008 heut2...@gmail.com wrote:

 note that the flag --start_guests_on_host_boot=true has been removed
 in the latest trunk code.so instances which are running willn't be
 restarted  even the nova-compute is restarted .


 Correct. The proper way to get instances to come back is
 resume_guests_state_on_host_boot

 Vish


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




 --
 Lei Zhang

 Blog: http://jeffrey4l.github.com
 twitter/weibo: @jeffrey4l




 --
 Lei Zhang

 Blog: http://jeffrey4l.github.com
 twitter/weibo: @jeffrey4l

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





 --
 Lei Zhang

 Blog: http://jeffrey4l.github.com
 twitter/weibo: @jeffrey4l

___
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] Doubt about horizon DB

2012-12-27 Thread JuanFra Rodriguez Cardoso
Hi Guillermo:

No, Horizon no longer needs a database.
In which part of documentation is mentioned that? What release are you
using?

Regards,
JuanFra.

2012/12/27 Guillermo Alvarado guillermoalvarad...@gmail.com

 Hi everybody,

 I have a question about Why Horizon/Django needs a database? I see in the
 installation guide the syncdb command and it create a table named
 django_session, but I know all the auth is managed via Keystone. So Why is
 needed this table?

 Thanks in advance!

 ___
 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] Debugging Quantum

2012-12-20 Thread JuanFra Rodriguez Cardoso
Hi:

This post can be useful. Check out:
https://www.ibm.com/developerworks/mydeveloperworks/blogs/e93514d3-c4f0-4aa0-8844-497f370090f5/entry/openstack_nova_api?lang=en


Regards,
JuanFra.

2012/12/20 Trinath Somanchi trinath.soman...@gmail.com

 Hi Stackers-

 Since, my starting to understand the code as a student, I have face too
 many dots to fill up in connection of understanding the REQUEST processing
 flow from client to API server of Quantum.

 I have the following doubts at the source code level. I'm a little bit
 aware of the WSGI, WEBOB and the PASTE frameworks.


 [1] How can I plot to know how the WSGI is capturing the client sent
 request?

 [2] How to know what CLIENT is sending via the RESTful calls to the API
 server, since we dont have any LOGS for client.?

 [3] How WSGI, WEBOB and PASTE help in framing the and (de)serializing the
 request/response ?

 Can any code enthusiastic help me in understanding these doubts at code
 level

 I feel a little comments in the source code can be more helpful...

 thanks in advance...

 kindly please help me understand these.

 --
 Regards,
 --
 Trinath Somanchi,
 +91 9866 235 130

 ___
 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] two or more NFS / gluster mounts

2012-12-20 Thread JuanFra Rodriguez Cardoso
Yes, I'm really agree with Diego.
It would be a good choice for submitting a blueprint with this storage
feature based on tenants.

According to current quotas control, it limits the:

   -

   Number of volumes which may be created
   -

   Total size of all volumes within a project as measured in GB
   -

   Number of instances which may be launched
   -

   Number of processor cores which may be allocated
   - Publicly accessible IP addresses


Another new feature related to shared storage we had thought about, it's to
include an option for choosing if an instance has to be replicated or not,
i.e. in a MooseFS scenario, to indicate goal (number of replicas). It's
useful for example in testing or demo projects, where HA is not required.

Regards,

JuanFra.

2012/12/20 Diego Parrilla Santamaría diego.parrilla.santama...@gmail.com

 mmm... not sure if the concept of oVirt multiple storage domains is
 something that can be implemented in Nova as it is, but I would like to
 share my thoughts because it's something that -from my point of view-
 matters.

 If you want to change the folder where the nova instances are stored you
 have to modify the option in nova-compute.conf  'instances_path':

 If you look at that folder (/var/lib/nova/instances/ by default) you will
 see a structure like this:

 drwxrwxr-x   2 nova nova   73 Dec  4 12:16 _base
 drwxrwxr-x   2 nova nova5 Oct 16 13:34 instance-0002
 ...
 drwxrwxr-x   2 nova nova5 Nov 26 17:38 instance-005c
 drwxrwxr-x   2 nova nova6 Dec 11 15:38 instance-0065

 If you have a shared storage for that folder, then your fstab entry looks
 like this one:
 10.15.100.3:/volumes/vol1/zone1/instances /var/lib/nova/instances nfs
 defaults 0 0

 So, I think that it could be possible to implement something like 'storage
 domains', but tenant/project oriented. Instead of having multiple generic
 mountpoints, each tenant would have a private mountpoint for his/her
 instances. So the /var/lib/nova/instances could look like this sample:

 /instances
 +/tenantID1
 ++/instance-X
 ++/instance-Y
 ++/instance-Z
 +/tenantID2
 ++/instance-A
 ++/instance-B
 ++/instance-C
 ...
 +/tenantIDN
 ++/instance-A
 ++/instance-B
 ++/instance-C

 And in the /etc/fstab something like this sample too:
 10.15.100.3:/volumes/vol1/zone1/instances/tenantID1
 /var/lib/nova/instances/tenantID1 nfs defaults 0 0
 10.15.100.3:/volumes/vol1/zone1/instances/tenantID2 
 /var/lib/nova/instances/tenantID2 nfs
 defaults 0 0
 ...
 10.15.100.3:/volumes/vol1/zone1/instances/tenantIDN
 /var/lib/nova/instances/tenantIDN nfs defaults 0 0

 With this approach, we could have something like per tenant QoS on shared
 storage to resell differente storage capabilities on a tenant basis.

 I would love to hear feedback, drawback, improvements...

 Cheers
 Diego

  --
 Diego Parrilla
 http://www.stackops.com/*CEO*
 *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 |
 skype:diegoparrilla*
 * http://www.stackops.com/
 *

 *




 On Thu, Dec 20, 2012 at 4:32 PM, Andrew Holway a.hol...@syseleven.dewrote:

 Good plan.


 https://blueprints.launchpad.net/openstack-ci/+spec/multiple-storage-domains


 On Dec 20, 2012, at 4:25 PM, David Busby wrote:

  I may of course be entirely wrong :) which would be cool if this is
 achievable / on the roadmap.
 
  At the very least if this is not already in discussion I'd raise it on
 launchpad as a potential feature.
 
 
 
 
  On Thu, Dec 20, 2012 at 3:19 PM, Andrew Holway a.hol...@syseleven.de
 wrote:
  Ah shame. You can specify different storage domains in oVirt.
 
  On Dec 20, 2012, at 4:16 PM, David Busby wrote:
 
   Hi Andrew,
  
   An interesting idea, but I am unaware if nova supports storage
 affinity in any way, it does support host affinity iirc, as a kludge you
 could have say some nova compute nodes using your slow mount and reserve
 the fast mount nodes as required, perhaps even defining separate zones
 for deployment?
  
   Cheers
  
   David
  
  
  
  
  
   On Thu, Dec 20, 2012 at 2:53 PM, Andrew Holway a.hol...@syseleven.de
 wrote:
   Hi David,
  
   It is for nova.
  
   Im not sure I understand. I want to be able to say to openstack;
 openstack, please install this instance (A) on this mountpoint and please
 install this instance (B) on this other mountpoint. I am planning on
 having two NFS / Gluster based stores, a fast one and a slow one.
  
   I probably will not want to say please every time :)
  
   Thanks,
  
   Andrew
  
   On Dec 20, 2012, at 3:42 PM, David Busby wrote:
  
Hi Andrew,
   
Is this for glance or nova ?
   
For nova change:
   
state_path = /var/lib/nova
lock_path = /var/lib/nova/tmp
   
in your nova.conf
   
For glance I'm unsure, may be easier to just mount gluster right
 onto /var/lib/glance (similarly could do the same for /var/lib/nova).
   
And just my £0.02 I've had no end of problems getting gluster to
 play nice on small POC 

Re: [Openstack] [swift] RAID Performance Issue

2012-12-19 Thread JuanFra Rodriguez Cardoso
Hi Zang:

Basically, it makes no sense to use Swift on top of RAID because Swift just
delivers replication schema.

Regards,
JuanFra.

2012/12/19 Hua ZZ Zhang zhu...@cn.ibm.com

 Hi,

 I have read the admin document of Swift and find there's recommendation of
 not using RAID 5 or 6 because swift performance degrades quickly with it.
 Can anyone explain why this could happen? If the RAID is done by hardware
 RAID controller, will the performance issue still exist?
 Anyone can share such kind of experience of using RAID with Swift?
 Appreciated for any suggestion from you.

 -Zhang Hua

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


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


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-18 Thread JuanFra Rodriguez Cardoso
Hi guys!
I'm not migrating from Essex to Folsom. I've just done a clear installation
of Folsom 2012.2 from EPEL 6.7.
Then, it could be a problem related to migration.
I requested catalog from keystone-cli and it worked. Hence, exception seems
to be around this extraction:

File /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py,
line 135, in _extract_service_catalog (endpoint_type='adminURL')
File /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line
73, in url_for raiseexceptions.EndpointNotFound('Endpoint not
found.') EndpointNotFound: Endpoint

Thanks for your interest!
JuanFra.


2012/12/18 Matthias Runge mru...@redhat.com

 On 12/18/2012 01:32 AM, andi abes wrote:
  I've hit a similar issue when I updated from essex to folsom.
  That advice to check the migration guide is wise ;).
 
  Specifically for me, the local_settings.py file in folsom is
  considerably different that it was in Essex. I'm not sure how rpm
  behaves when it needs to overwrite a file.
  You might want to check how /etc/openstack-dashboard/local_settings.py
  looks in a clean install, and compare it to your updated one.

 local_settings is marked as config file and thus, won't be overwritten
 by a newer version. You should find a
 /etc/openstack-dashboard/local_settings.rpmnew

 Matthias

 
 
  On Mon, Dec 17, 2012 at 7:02 PM, JuanFra Rodriguez Cardoso
  juanfra.rodriguez.card...@gmail.com
  mailto:juanfra.rodriguez.card...@gmail.com wrote:
 
  Hi Andrew:
 
  I got this error by accessing web dashboard, i.e. I introduce
  correctly user/password and then I get a Internal error server in
  my screen (related to traceback from my previous post).
 
  I'm planning to use another previous version (2012.2 or 2012.1.3).
  Now, I'm using 2012.2.1.
 
  I guess this error could be related to nova daemon. It's not
  running. Is it mandatory to have running nova daemons so that
  dashboard works fine?
 
  Thanks!
  JuanFra
 
  2012/12/17 Andrew Holway a.hol...@syseleven.de
  mailto:a.hol...@syseleven.de
 
  Hi,
 
  I got this error too but I cannot remember what did it.
 
  Do you get this when you try and use the web interface?
 
  Thanks,
 
  Andrew
 
 
  On Dec 17, 2012, at 6:05 PM, JuanFra Rodriguez Cardoso wrote:
 
   Hi guys:
  
   I've re-installed and re-configured again my deployment
  according to suggested guide
  github.com/beloglazov/openstack-centos-kvm-glusterfs/
  http://github.com/beloglazov/openstack-centos-kvm-glusterfs/.
  Excepcion raised:
  
   [Mon Dec 17 18:02:42 2012] [error]
  /usr/lib/python2.6/site-packages/django/conf/__init__.py:75:
  DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been
  removed; use STATIC_URL instead.
   [Mon Dec 17 18:02:42 2012] [error]   use STATIC_URL
  instead., DeprecationWarning)
   [Mon Dec 17 18:02:42 2012] [error]
  /usr/lib/python2.6/site-packages/django/conf/__init__.py:110:
  DeprecationWarning: The SECRET_KEY setting must not be empty.
   [Mon Dec 17 18:02:42 2012] [error]   warnings.warn(The
  SECRET_KEY setting must not be empty., DeprecationWarning)
   [Mon Dec 17 18:02:42 2012] [error]
 
 /usr/lib/python2.6/site-packages/django/core/cache/__init__.py:82:
  DeprecationWarning: settings.CACHE_* is deprecated; use
  settings.CACHES instead.
   [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning
   [Mon Dec 17 18:02:42 2012] [error]
 
 /usr/lib/python2.6/site-packages/django/utils/translation/__init__.py:63:
  DeprecationWarning: Translations in the project directory aren't
  supported anymore. Use the LOCALE_PATHS setting instead.
   [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning)
   [Mon Dec 17 18:02:42 2012] [error]
 
 /usr/lib/python2.6/site-packages/django/template/defaulttags.py:1235:
  DeprecationWarning: The syntax for the url template tag is
  changing. Load the `url` tag from the `future` tag library to
  start using the new behavior.
   [Mon Dec 17 18:02:42 2012] [error]
 category=DeprecationWarning)
   [Mon Dec 17 17:02:59 2012] [error]
 
 /usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py:26:
  DeprecationWarning: Authentication backends without a
  `supports_inactive_user` attribute are deprecated. Please define
  it in class 'openstack_auth.backend.KeystoneBackend'.
   [Mon Dec 17 17:02:59 2012] [error]   DeprecationWarning)
   [Mon Dec 17 17:02:59 2012] [error] unable to retrieve service
  catalog with token
   [Mon Dec 17 17:02:59 2012] [error] Traceback (most recent call
  last):
   [Mon Dec 17 17:02:59 2012] [error]   File
 
 /usr/lib/python2.6/site-packages

Re: [Openstack] Horizon - OfflineGenerationError

2012-12-18 Thread JuanFra Rodriguez Cardoso
Ok, Matthias. Sorry for confusion, I decided to re-install Folsom 2012.2 in
a parallel testbed. In this way, I avoided any incompatibility with
migration from Essex.
I continue researching and I will report us, ok?

Thanks! ;)

2012/12/18 Matthias Runge mru...@redhat.com

 On 12/18/2012 09:35 AM, JuanFra Rodriguez Cardoso wrote:
  Hi guys!
  I'm not migrating from Essex to Folsom. I've just done a clear
  installation of Folsom 2012.2 from EPEL 6.7.
  Then, it could be a problem related to migration.
  I requested catalog from keystone-cli and it worked. Hence, exception
  seems to be around this extraction:
 
  File /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py,
  line 135, in _extract_service_catalog (endpoint_type='adminURL')
  File
 /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line
  73, in url_for raiseexceptions.EndpointNotFound('Endpoint not
  found.') EndpointNotFound: Endpoint
 
  Thanks for your interest!
  JuanFra.
 
 Earlier in this thread, it looked like you're migrating (even if you
 were not aware of that fact).

 That message is known and harmless.

 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] Glance invalid credentials

2012-12-18 Thread JuanFra Rodriguez Cardoso
Hi guys!
No problem at all. It's just solved. It was an own mistake related to wrong
passwords (in YAML config file).

Sorry for any inconvenience.

Thanks a lot anyway!
JuanFra.

2012/12/18 Jian Wen wenj...@canonical.com

  On 2012年12月18日 09:29, YuXingchao wrote:

 Hi, JuanFra. This usually occurs if the auth info is invalid in the
 authtoken section. You can use glance --debug index ,then checkout the
 debug output and  watch glance-api and keystone log .


 At 2012-12-17 21:52:11,JuanFra Rodriguez Cardoso
 juanfra.rodriguez.card...@gmail.comjuanfra.rodriguez.card...@gmail.comwrote:

 Hi guys:

  I'm getting the following error when I try to index my glance repository
 from glanceclient:

  # glance index
  Request returned failure status.
  Invalid OpenStack Identity credentials.

 I've checked the env variables, keystone_db tables, config files and
 everything seems ok!
 Even, I got manually a token for admin user and I issued:

 curl -i -X GET -H 'X-Auth-Token: MY_TOKEN' -H 'Content-Type:
 application/json' -H 'User-Agent: python-glanceclient'
 http://127.0.0.1:9292/v1/images/detail?limit=20

 I'm using Folsom release on Centos 6.3.
 - Glance version: openstack-glance-2012.2-3.el6.noarch
 - Keystone version: openstack-keystone-2012.2-5.el6.noarch

  Did anyone get the same error?

  Thanks!
 JuanFra.






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

  Would you paste keystone.conf into paste.openstack.org?
 Have you installed openstack twice?

 --
 Jian Wen
 Software Engineer, Services and Support Team
 Canonical, Ltd


___
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 High Availability

2012-12-18 Thread JuanFra Rodriguez Cardoso
Great articles/guides guys!
Appreciated and useful material for production deployments.

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


[Openstack] Glance invalid credentials

2012-12-17 Thread JuanFra Rodriguez Cardoso
Hi again!

Do not take into account my previous post where I'm getting an error from
glance credentials.
I found which was the problem. It was my own fault.
I was using YAML for populating Keystone and I made a mistake by replacing
with sed command.

Sorry. All is well!

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


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-17 Thread JuanFra Rodriguez Cardoso
Hi Andrew:

I got this error by accessing web dashboard, i.e. I introduce correctly
user/password and then I get a Internal error server in my screen
(related to traceback from my previous post).

I'm planning to use another previous version (2012.2 or 2012.1.3). Now, I'm
using 2012.2.1.

I guess this error could be related to nova daemon. It's not running. Is it
mandatory to have running nova daemons so that dashboard works fine?

Thanks!
JuanFra

2012/12/17 Andrew Holway a.hol...@syseleven.de

 Hi,

 I got this error too but I cannot remember what did it.

 Do you get this when you try and use the web interface?

 Thanks,

 Andrew


 On Dec 17, 2012, at 6:05 PM, JuanFra Rodriguez Cardoso wrote:

  Hi guys:
 
  I've re-installed and re-configured again my deployment according to
 suggested guide github.com/beloglazov/openstack-centos-kvm-glusterfs/.
 Excepcion raised:
 
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/conf/__init__.py:75:
 DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use
 STATIC_URL instead.
  [Mon Dec 17 18:02:42 2012] [error]   use STATIC_URL instead.,
 DeprecationWarning)
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/conf/__init__.py:110:
 DeprecationWarning: The SECRET_KEY setting must not be empty.
  [Mon Dec 17 18:02:42 2012] [error]   warnings.warn(The SECRET_KEY
 setting must not be empty., DeprecationWarning)
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/core/cache/__init__.py:82:
 DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES
 instead.
  [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/utils/translation/__init__.py:63:
 DeprecationWarning: Translations in the project directory aren't supported
 anymore. Use the LOCALE_PATHS setting instead.
  [Mon Dec 17 18:02:42 2012] [error]   DeprecationWarning)
  [Mon Dec 17 18:02:42 2012] [error]
 /usr/lib/python2.6/site-packages/django/template/defaulttags.py:1235:
 DeprecationWarning: The syntax for the url template tag is changing. Load
 the `url` tag from the `future` tag library to start using the new behavior.
  [Mon Dec 17 18:02:42 2012] [error]   category=DeprecationWarning)
  [Mon Dec 17 17:02:59 2012] [error]
 /usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py:26:
 DeprecationWarning: Authentication backends without a
 `supports_inactive_user` attribute are deprecated. Please define it in
 class 'openstack_auth.backend.KeystoneBackend'.
  [Mon Dec 17 17:02:59 2012] [error]   DeprecationWarning)
  [Mon Dec 17 17:02:59 2012] [error] unable to retrieve service catalog
 with token
  [Mon Dec 17 17:02:59 2012] [error] Traceback (most recent call last):
  [Mon Dec 17 17:02:59 2012] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 135,
 in _extract_service_catalog
  [Mon Dec 17 17:02:59 2012] [error] endpoint_type='adminURL')
  [Mon Dec 17 17:02:59 2012] [error]   File
 /usr/lib/python2.6/site-packages/keystoneclient/service_catalog.py, line
 73, in url_for
  [Mon Dec 17 17:02:59 2012] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
  [Mon Dec 17 17:02:59 2012] [error] EndpointNotFound: Endpoint not found.
 
  any idea?
 
  2012/12/14 JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com
  Ok. I will continue trying to solve these errors with your suggestions.
  I'll tell you any result.
 
  Thanks @Matthias @Andres for you support.
 
  Regards!
  JuanFra
 
 
  2012/12/14 Andrew Holway a.hol...@syseleven.de
 
  On Dec 14, 2012, at 12:45 PM, JuanFra Rodriguez Cardoso wrote:
 
   @Andrew: Yes, I knew theses great guides. I had Essex 2012.1.3 (EPEL
 6.7) working ok on Centos 6.3, but with 2012.2 (EPEL 6.7) I'm getting
 errors with Django/Horizon.
 
  Mine is working alright. I expect you have some silly misconfiguration
 somewhere. It took me 4 times to make a working install and it worked only
 when I followed the install guide letter by letter.
 
 
  
   What release are your running? Essex or Folsom?
   Do you know if it's possible to install previous Openstack RPM
 packages from EPL 6.7 (i.e. openstack-nova-2012.1.3-...)
 
  Folsom. Why would you want to install previous Openstack packages? I
 think you might have to use a different EPEL repo for earlier versions.
 openstack-nova-2012.2-2 seems to be the only available version.
 
  Ta
 
  Andrew
 
 
  
   Thanks for your support!
   JuanFa
  
   2012/12/14 Andrew Holway a.hol...@syseleven.de
   Hi,
  
   This worked perfectly on Centos 6.3.
  
   github.com/beloglazov/openstack-centos-kvm-glusterfs/
  
   The hostname stuff can trip you up however. Watch out for the scripts
 creating user@controller users in the database for keystone, nova, glance
 et al. It seems user@localhost would be more sensible.
  
   Take care,
  
   Andrew
  
  
  
   On Dec 13, 2012, at 12:24 PM

Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread JuanFra Rodriguez Cardoso
@Matthias: This is the current error traceback (after your suggestions)

[Fri Dec 14 12:34:49 2012] [error] Exception KeyError:
KeyError(140230402213856,) in module 'threading' from
'/usr/lib64/python2.6/threading.pyc' ignored
[Fri Dec 14 12:34:49 2012] [error] Exception KeyError:
KeyError(140230402213856,) in module 'threading' from
'/usr/lib64/python2.6/threading.pyc' ignored
[Fri Dec 14 12:34:49 2012] [notice] caught SIGTERM, shutting down
[Fri Dec 14 12:34:49 2012] [notice] SELinux policy enabled; httpd running
as context unconfined_u:system_r:httpd_t:s0
[Fri Dec 14 12:34:49 2012] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Fri Dec 14 12:34:49 2012] [notice] Digest: generating secret for digest
authentication ...
[Fri Dec 14 12:34:49 2012] [notice] Digest: done
[Fri Dec 14 12:34:49 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Fri Dec 14 12:34:49 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Fri Dec 14 12:34:49 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.2
Python/2.6.6 configured -- resuming normal operations
[Fri Dec 14 12:35:09 2012] [error]
/usr/lib/python2.6/site-packages/django/conf/__init__.py:75:
DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use
STATIC_URL instead.
[Fri Dec 14 12:35:09 2012] [error]   use STATIC_URL instead.,
DeprecationWarning)
[Fri Dec 14 12:35:09 2012] [error]
/usr/lib/python2.6/site-packages/django/conf/__init__.py:110:
DeprecationWarning: The SECRET_KEY setting must not be empty.
[Fri Dec 14 12:35:09 2012] [error]   warnings.warn(The SECRET_KEY setting
must not be empty., DeprecationWarning)
[Fri Dec 14 12:35:09 2012] [error]
/usr/lib/python2.6/site-packages/django/utils/translation/__init__.py:63:
DeprecationWarning: Translations in the project directory aren't supported
anymore. Use the LOCALE_PATHS setting instead.
[Fri Dec 14 12:35:09 2012] [error]   DeprecationWarning)
[Fri Dec 14 12:35:10 2012] [error]
/usr/lib/python2.6/site-packages/django/template/defaulttags.py:1235:
DeprecationWarning: The syntax for the url template tag is changing. Load
the `url` tag from the `future` tag library to start using the new behavior.
[Fri Dec 14 12:35:10 2012] [error]   category=DeprecationWarning)
[Fri Dec 14 12:35:15 2012] [error]
/usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py:26:
DeprecationWarning: Authentication backends without a
`supports_inactive_user` attribute are deprecated. Please define it in
class 'openstack_auth.backend.KeystoneBackend'.
[Fri Dec 14 12:35:15 2012] [error]   DeprecationWarning)
[Fri Dec 14 12:35:15 2012] [error] Authorization Failed.
[Fri Dec 14 12:35:15 2012] [error] Traceback (most recent call last):
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py, line 105,
in authenticate
[Fri Dec 14 12:35:15 2012] [error] return_raw=True)
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/v2_0/tokens.py, line 37,
in authenticate
[Fri Dec 14 12:35:15 2012] [error] return self._create('/tokens',
params, access, return_raw=return_raw)
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/base.py, line 82, in
_create
[Fri Dec 14 12:35:15 2012] [error] resp, body = self.api.post(url,
body=body)
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/client.py, line 179, in
post
[Fri Dec 14 12:35:15 2012] [error] return self._cs_request(url, 'POST',
**kwargs)
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/client.py, line 160, in
_cs_request
[Fri Dec 14 12:35:15 2012] [error] **kwargs)
[Fri Dec 14 12:35:15 2012] [error]   File
/usr/lib/python2.6/site-packages/keystoneclient/client.py, line 140, in
request
[Fri Dec 14 12:35:15 2012] [error] raise exceptions.from_response(resp,
body)
[Fri Dec 14 12:35:15 2012] [error] BadRequest: Unable to communicate with
identity service: [Errno 13] Permission denied. (HTTP 400)
[Fri Dec 14 12:35:25 2012] [error] Authorization Failed.


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


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread JuanFra Rodriguez Cardoso
@Andrew: Yes, I knew theses great guides. I had Essex 2012.1.3 (EPEL 6.7)
working ok on Centos 6.3, but with 2012.2 (EPEL 6.7) I'm getting errors
with Django/Horizon.

What release are your running? Essex or Folsom?
Do you know if it's possible to install previous Openstack RPM packages
from EPL 6.7 (i.e. openstack-nova-2012.1.3-...)

Thanks for your support!
JuanFa

2012/12/14 Andrew Holway a.hol...@syseleven.de

 Hi,

 This worked perfectly on Centos 6.3.

 github.com/beloglazov/openstack-centos-kvm-glusterfs/

 The hostname stuff can trip you up however. Watch out for the scripts
 creating user@controller users in the database for keystone, nova, glance
 et al. It seems user@localhost would be more sensible.

 Take care,

 Andrew



 On Dec 13, 2012, at 12:24 PM, JuanFra Rodriguez Cardoso wrote:

  Hi all:
 
  I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
 error related to css/js compression:
 
  File /usr/lib/python2.6/site-packages/django/template/base.py, line
 837, in render_node
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 node.render(context)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 147, in render
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 self.render_compressed(context, self.kind, self.mode, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 88, in render_compressed
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 cached_offline = self.render_offline(context, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 72, in render_offline
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may
 need to run python manage.py compress.' % key)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 OfflineGenerationError: You have offline compression enabled but key
 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
 may need to run python manage.py compress.
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
 exist: /var/www/html/favicon.ico
 
  any idea for solving it?
 
  Thanks,
  JuanFra.
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp



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


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-14 Thread JuanFra Rodriguez Cardoso
Ok. I will continue trying to solve these errors with your suggestions.
I'll tell you any result.

Thanks @Matthias @Andres for you support.

Regards!
JuanFra


2012/12/14 Andrew Holway a.hol...@syseleven.de


 On Dec 14, 2012, at 12:45 PM, JuanFra Rodriguez Cardoso wrote:

  @Andrew: Yes, I knew theses great guides. I had Essex 2012.1.3 (EPEL
 6.7) working ok on Centos 6.3, but with 2012.2 (EPEL 6.7) I'm getting
 errors with Django/Horizon.

 Mine is working alright. I expect you have some silly misconfiguration
 somewhere. It took me 4 times to make a working install and it worked only
 when I followed the install guide letter by letter.


 
  What release are your running? Essex or Folsom?
  Do you know if it's possible to install previous Openstack RPM packages
 from EPL 6.7 (i.e. openstack-nova-2012.1.3-...)

 Folsom. Why would you want to install previous Openstack packages? I think
 you might have to use a different EPEL repo for earlier versions.
 openstack-nova-2012.2-2 seems to be the only available version.

 Ta

 Andrew


 
  Thanks for your support!
  JuanFa
 
  2012/12/14 Andrew Holway a.hol...@syseleven.de
  Hi,
 
  This worked perfectly on Centos 6.3.
 
  github.com/beloglazov/openstack-centos-kvm-glusterfs/
 
  The hostname stuff can trip you up however. Watch out for the scripts
 creating user@controller users in the database for keystone, nova, glance
 et al. It seems user@localhost would be more sensible.
 
  Take care,
 
  Andrew
 
 
 
  On Dec 13, 2012, at 12:24 PM, JuanFra Rodriguez Cardoso wrote:
 
   Hi all:
  
   I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
 error related to css/js compression:
  
   File /usr/lib/python2.6/site-packages/django/template/base.py, line
 837, in render_node
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 node.render(context)
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 147, in render
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
 self.render_compressed(context, self.kind, self.mode, forced=forced)
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 88, in render_compressed
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 cached_offline = self.render_offline(context, forced=forced)
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
 /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
 line 72, in render_offline
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may
 need to run python manage.py compress.' % key)
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
 OfflineGenerationError: You have offline compression enabled but key
 1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
 may need to run python manage.py compress.
   [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
 exist: /var/www/html/favicon.ico
  
   any idea for solving it?
  
   Thanks,
   JuanFra.
   ___
   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] Removing Orphaned instanced

2012-12-13 Thread JuanFra Rodriguez Cardoso
Hi Andrew:

Could you include extracts of logs from nova-scheduler, nova-compute or
nova-network where those errors appear?

Thanks.
JuanFra.

2012/12/13 Andrew Holway a.hol...@syseleven.de

 Hello,

 I have been playing with creating and destroying instances in the GUI.

 Sometimes, if I create more than 10 or so, some will get stuck in an error
 state. Is this some kind of timeout or something waiting for the image file
 perhaps?

 Thanks,

 Andrew




 ___
 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] Horizon - OfflineGenerationError

2012-12-13 Thread JuanFra Rodriguez Cardoso
Hi all:

I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
error related to css/js compression:

File /usr/lib/python2.6/site-packages/django/template/base.py, line 837,
in render_node
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
node.render(context)
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
line 147, in render
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
self.render_compressed(context, self.kind, self.mode, forced=forced)
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
line 88, in render_compressed
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] cached_offline
= self.render_offline(context, forced=forced)
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
line 72, in render_offline
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may need
to run python manage.py compress.' % key)
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
OfflineGenerationError: You have offline compression enabled but key
1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
may need to run python manage.py compress.
[Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
exist: /var/www/html/favicon.ico

any idea for solving it?

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


Re: [Openstack] Horizon - OfflineGenerationError

2012-12-13 Thread JuanFra Rodriguez Cardoso
Hi Matthias:

Thanks for replying. Rest of openstack services are working ok.

Theses are versions installed of Horizon and Django (from EPEL 6.7)
  - openstack-dashboard-2012.2-4.el6.noarch.
  - Django14-1.4.2-2.el6.noarch

Do you recommend I install Horizon from github repository?

Thanks!

2012/12/13 Matthias Runge mru...@redhat.com

 On 12/13/2012 12:24 PM, JuanFra Rodriguez Cardoso wrote:
  Hi all:
 
  I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
  error related to css/js compression:
 

 Yes, I bet, it's not related with Dashboard, although the error message
 tells you so.

 Which version are you installing from where? Do you see other issues
 with your openstack-installation? Please note, the minimum required set
 of OpenStack services running includes the following:

  +   Nova (compute, api, scheduler, network, and volume services)
  +   Glance
  +   Keystone

 Instead of nova volume, you could also use cinder volume.

 Did you install there and are they working ok?


 Matthias


  File /usr/lib/python2.6/site-packages/django/template/base.py, line
  837, in render_node
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
  node.render(context)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
  /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
  line 147, in render
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] return
  self.render_compressed(context, self.kind, self.mode, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
  /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
  line 88, in render_compressed
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
  cached_offline = self.render_offline(context, forced=forced)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
  /usr/lib/python2.6/site-packages/compressor/templatetags/compress.py,
  line 72, in render_offline
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] 'You may
  need to run python manage.py compress.' % key)
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
  OfflineGenerationError: You have offline compression enabled but key
  1056718f92f8d4204721bac759b3871a is missing from offline manifest. You
  may need to run python manage.py compress.
  [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
  exist: /var/www/html/favicon.ico
 
  any idea for solving it?
 
  Thanks,
  JuanFra.
 
 
  ___
  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] DEBUG nova.utils [-] backend

2012-12-12 Thread JuanFra Rodriguez Cardoso
Don't worry. It's just a debug message.
You can disable the debug mode in /etc/nova.conf with option debug=false.

Regards,
JuanFra.


2012/12/12 Jay Pipes jaypi...@gmail.com

 You can ignore this.

 On 12/12/2012 06:06 AM, Andrew Holway wrote:
  Hi,
 
  2012-12-12 12:04:48 DEBUG nova.utils [-] backend module
 'nova.db.sqlalchemy.migration' from
 '/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/migration.pyc' from
 (pid=14756) __get_backend /usr/lib/python2.6/site-packages/nova/utils.py:494
 
  I get this error a lot when using the command line nova tools.
 
  Anything to worry about?
 
  Thanks,
 
  Andrew
 
  ___
  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] Nova metadata service

2012-12-11 Thread JuanFra Rodriguez Cardoso
Link related to my doubt:
http://docs.openstack.org/trunk/openstack-compute/admin/content/metadata-service.html


Regards,
JuanFra.
___
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] OpenShift in OpenStack

2012-12-11 Thread JuanFra Rodriguez Cardoso
Hi guys:

Does anyone run OpenShift Origin on top of OpenStack?

Regards,
JuanFra.
___
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] Libvirt/KVM~Openstack sync?

2012-12-11 Thread JuanFra Rodriguez Cardoso
Hi Steve:

you have to sync things in DB like...?


2012/12/11 Steve Eastham steve.east...@gmail.com

 Was wondering if there are fixes in Folsom or patches for Essex for
 keeping Openstack better in sync with the actual libvirt/KVM status. Today
 we have to manually update the DB if things become out of sync.

 -Steve

 ___
 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] Libvirt/KVM~Openstack sync?

2012-12-11 Thread JuanFra Rodriguez Cardoso
As far as I know, nova-manager is responsible for synchronizing vm states
(i.e. @manager.periodic_task(ticks_between_runs=10)
Look at this link (
https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L3073)

Regards,
JuanFra.

2012/12/11 Steve Eastham steve.east...@gmail.com

 Typically it's the power_state or vm_state in the database that can become
 out of sync with reality.

 -Steve



 On Tue, Dec 11, 2012 at 10:41 AM, JuanFra Rodriguez Cardoso 
 juanfra.rodriguez.card...@gmail.com wrote:

 Hi Steve:

 you have to sync things in DB like...?


 2012/12/11 Steve Eastham steve.east...@gmail.com

 Was wondering if there are fixes in Folsom or patches for Essex for
 keeping Openstack better in sync with the actual libvirt/KVM status. Today
 we have to manually update the DB if things become out of sync.

 -Steve

 ___
 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 when running nova-manage db sync

2012-12-10 Thread JuanFra Rodriguez Cardoso
Hi:

It's simply a warning message.
I guess that next releases  (Folsom, Grizzly...) will not use this
deprecated argument.

Regards,


2012/12/10 Guilherme Russi luisguilherme...@gmail.com

 Hi All,

  I'm rying to install OpenStack Essex and when I run the nova-manage db
 sync from this doc's part
 http://docs.openstack.org/essex/openstack-compute/install/apt/content/compute-db-sync.html,
  it
 returs these errors:

 2012-12-10 10:56:57 DEBUG nova.utils [-] backend module
 'nova.db.sqlalchemy.migration' from
 '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.pyc' from
 (pid=6208) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658

 2012-12-10 10:56:58 WARNING nova.utils [-]
 /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py:683:
 SADeprecationWarning: The 'listeners' argument to Pool (and
 create_engine()) is deprecated.  Use event.listen().
   Pool.__init__(self, creator, **kw)

 2012-12-10 10:56:58 WARNING nova.utils [-]
 /usr/lib/python2.7/dist-packages/sqlalchemy/pool.py:159:
 SADeprecationWarning: Pool.add_listener is deprecated.  Use event.listen()
   self.add_listener(l)

 Can anybody help me?

 Thank you so much.

 Guilherme Russi.


 ___
 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] Volume types

2012-12-10 Thread JuanFra Rodriguez Cardoso
If you mean different types like block or file-oriented volume, there was a
thread about that (http://markmail.org/message/ptwohhhaltcbqii2)
Briefly, you had to code a volume driver matches your needs (
http://docs.openstack.org/developer/nova/api/nova.volume.driver.htmlI)

Regards,
JuanFra.

2012/12/10 John Griffith john.griff...@solidfire.com



 On Mon, Dec 10, 2012 at 10:05 AM, Daniel Oliveira dvalbr...@gmail.comwrote:

 Hello.

 I've been playing around with OpenStack, when I noticed a section in
 the Dashboard where you can create/delete volume types. The problem is, I
 didn't understand their purpose, as when you create a new type, you only
 specify its name. Can anyone tell me what are volume types used for?

 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

 Hi Daniel,

 The primary idea behind volume-types is a method to deal with multiple
 back-ends.  The volume-type corresponds to a specific back-end, or perhaps
 enables different characteristics of a back-end.  Hopefully that helps a
 bit.

 John

 ___
 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] Nova metadata service

2012-12-10 Thread JuanFra Rodriguez Cardoso
Hi guys!

After looking for in the mailing list and docs, I honestly still don't
understand what really is nova-api-metadata.
it's a mandatory service in a multi-host deployment? it's only related to
EC2?

Thanks!

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


Re: [Openstack] Glance problem when creating image

2012-12-09 Thread JuanFra Rodriguez Cardoso
The right command in Essex would be:

glance --os_username=admin --os_password=root --os_tenant cloud
--os_auth_url=http://127.0.0.1:5000/v2.0 image-create *name*=tty-linux-kernel
*disk-format*=aki *container-format*=aki 
ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz
*
*
Follow docs in http://docs.openstack.org/essex.

Regards,
JuanFra.


2012/12/9 Guilherme Russi luisguilherme...@gmail.com

 Hello again JuanFra,

  Now I'm getting error in this part:

 glance --os_username=admin --os_password=root --os_tenant cloud
 --os_auth_url=http://127.0.0.1:5000/v2.0 image-create 
 *--name=tty-linux-kernel
 --disk-format=aki --container-format=aki 
 ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz*

 Glance returns: glance: error: no such option: --name

 Do you know what I must to do?

 Thank you.

 Guilherme.




 2012/12/9 Guilherme Russi luisguilherme...@gmail.com

 Hello JuanFra,

  I'm using Essex, I'll try this way and return to you.

 Thank you so much.

 Regards.

 Guilherme Russi.


 2012/12/9 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com

 Hi Guilherme:

 What release are you using? Essex or Folsom?

- In Essex: glance --os_username=adminUser --os_password=secretword
 --os_tenant=openstackDemo --os_auth_url
- In Folsom: glance --os-username=adminUser --os-password=secretword
 --os-tenant=openstackDemo --os-auth-url

 Regards,
 JuanFra.

 2012/12/9 Guilherme Russi luisguilherme...@gmail.com

  Hi all,

  I got a problem when I tried installation part:

 glance --os-username=admin --os-password=secretword --os-tenant-name=demo 
 --os-auth-url=http://192.168.206.130:5000/v2.0 \
 image-create \
 --name=tty-linux-kernel \
 --disk-format=aki \
 --container-format=aki  ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz

 it returns me this error: glance: error: no such option: --os-username

 Do you know what I should do?

 Thank you.

 Guilherme Russi.

 ___
 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-manage service list weirdo !

2012-11-30 Thread JuanFra Rodriguez Cardoso
Hi:

That problem could be related with accesses to nova_db from controller
itself.
Have you checked nova.conf file has right database values (i.e IP, port,
user/passwd...)?

Regards,
JuanFra.

2012/11/30 Skible OpenStack skible.openst...@gmail.com

 manage
___
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-manage service list weirdo !

2012-11-30 Thread JuanFra Rodriguez Cardoso
Ok. No problem!

Be careful with time synchronization. It's one of most common problem in
distributed environments. I guess your scenario is like below:

   - Controller Node (Synchronizing from external NTP servers and at the
same time it acts as NTP server to compute nodes)
   - Compute Nodes (Synchronizing from controller node)

Regards,
JuanFra.


2012/11/30 Skible OpenStack skible.openst...@gmail.com

 Hi Juan,

 its related to my ntp server, it was not configured properly.

 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] The list of the backend storage for openstack.

2012-11-29 Thread JuanFra Rodriguez Cardoso
Hi Lei:

I think Openstack manual shows a clear explanation for the differents kinds
of storage.
Check out this link (
http://docs.openstack.org/essex/openstack-compute/install/apt/content/terminology-storage.html
)
Hope it clarifies you.

Regards,
JuanFra



2012/11/29 Lei Zhang zhang.lei@gmail.com

 thinese
___
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] The list of the backend storage for openstack.

2012-11-29 Thread JuanFra Rodriguez Cardoso
Ceph has a bright future as OpenStack Storage backend. Although Ceph's guys
do not recommend to use CephFS for production environments, Ceph RBD seems
a reliable alternative to S3 in Glance and LVM in Cinder.
Links about this option (Ceph+Openstack):
- Great Sebastian's post:
http://www.sebastien-han.fr/blog/2012/06/10/introducing-ceph-to-openstack/
- http://ceph.com/docs/master/rbd/rbd-openstack/

Regards!
JuanFra.


2012/11/29 Lei Zhang zhang.lei@gmail.com

 explaination
___
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] Backing up OpenStack deployment

2012-11-27 Thread JuanFra Rodriguez Cardoso
Hi guys:

Does anyone know best practices around backing up an OpenStack deployment?
(i.e. using a solution like Bacula for incremental or snapshot backups)

Thanks!

Regards,
JuanFra
___
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] Difference between modules

2012-11-27 Thread JuanFra Rodriguez Cardoso
Basically:
   - Swift: Object-based storage (e.g. Amazon S3)
   - Cinder: Block-based storage (e.g. Ceph RBD)

2012/11/27 Johannes Baltimore johannes.b...@gmail.com

 Hello everyone.

 I've been writing about my little experiments with OpenStack lately, and
 I've come to the conclusion that I do not know the difference between Swift
 and Cinder. More precisely, I don't know what does Swift do. Can anyone
 help me?

 Thanks in advance

 ___
 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] OpenStack + Fault Tolerance, Replication

2012-11-27 Thread JuanFra Rodriguez Cardoso
Hi:

You can use a fault tolerant, network distributed file system as instances
storage. Check out this info:
http://docs.openstack.org/trunk/openstack-compute/admin/content/installing-moosefs-as-backend.html


Regards,
JuanFra.

2012/11/27 Desta Haileselassie Hagos desta161...@gmail.com

 Dear ALL,

 I was wondering what sort of Fault tolerance does OpenStack use for the
 Virtual machines so as to entertain the requests. Is Byzantine Fault
 tolerance already in place or not??? or some sort of state Machine
 replication??

 Any pointers would be appreciated.


 with best regards,

 Desta
 ___
 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] Ceph + Nova

2012-11-21 Thread JuanFra Rodriguez Cardoso
For critical services (i.e. database, message queue, conf files), I'd
rather to use HA architectures like this examples:
http://www.mirantis.com/blog/intro-to-openstack-in-production/

JuanFra.

2012/11/21 Sébastien Han han.sebast...@gmail.com

 As far I'm concerned, I will never put config files on share storage
 (especially on a non-production ready), these are too critical. I will only
 do it if the application specifically requires it like shared web
 applications that needs auto vhost sync (or stuff like that).

 If you want to keep them update  sync, simply manage this with git 
 puppet ;)

 My 2 cents...

 On Wed, Nov 21, 2012 at 10:40 PM, Razique Mahroua 
 razique.mahr...@gmail.com wrote:

 That's i think a clever approach - to set a data cluster as a backend for
 the configuration files - which are de facto as important as the instances
 themselves.
 Regarding the performance, it should not be a problem - the only data
 that gets frequently updated being the database.
 regards,
 Razique

 *Nuage  Co - Razique Mahroua** *
 razique.mahr...@gmail.com


 Le 21 nov. 2012 à 15:51, Dave Spano dsp...@optogenics.com a écrit :

 JuanFra,

 I do use cephfs in production, but not for the /var/lib/instances
 directory. I do host the openstack database and the openstack configuration
 files on it for an HA cloud controller cluster, but I am probably crazier
 than most people, and I have a very small deployment. I currently have not
 had any problems with it, but due to the size of my cloud, I can afford to
 be very hands-on with it.

 The reason I have not hosted the /var/lib/instances directory is due to
 the fact that the data gets a lot more activity than my small database
 does. Instead, I prefer to perform block migrations rather than live ones
 until cephfs becomes more stable.

 Dave Spano
 Optogenics
 Systems Administrator


 --
 *From: *Sébastien Han han.sebast...@gmail.com
 *To: *JuanFra Rodríguez Cardoso juanfra.rodriguez.card...@gmail.com
 *Cc: *Openstack openstack@lists.launchpad.net, ceph-devel 
 ceph-de...@vger.kernel.org
 *Sent: *Wednesday, November 21, 2012 4:03:48 AM
 *Subject: *Re: [Openstack] Ceph + Nova

 Hi,

 I don't think it's the best place to ask your question since it's not
 directly related to OpenStack but more about Ceph. I just put in c/c
 the ceph ML. Anyway, CephFS is not ready yet for production but I
 heard that some people use it. People from Inktank (the company behind
 Ceph) don't recommend it, AFAIR they expect something more production
 ready for Q2 2013. You can use it (I did, for testing purpose) but
 it's at your own risk.
 Beside of this RBD and RADOS are robust and stable now, so you can go
 with the Cinder and Glance integration without any problems.

 Cheers!

 On Wed, Nov 21, 2012 at 9:37 AM, JuanFra Rodríguez Cardoso
 juanfra.rodriguez.card...@gmail.com wrote:
  Hi everyone:
 
  I'd like to know your opinion as nova experts:
 
  Would you recommend CephFS as shared storage in /var/lib/nova/instances?
  Another option it would be use GlusterFS or MooseFS for
  /var/lib/nova/instances directory and Ceph RBD for Glance and Nova
 volumes,
  don't you think?
 
  Thanks for your attention.
 
  Best regards,
  JuanFra
 
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
 --
 To unsubscribe from this list: send the line unsubscribe ceph-devel in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

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



 ___
 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


NUAGECO-LOGO-Fblan_petit.jpg___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp