Re: [Openstack] [OpenStack] [Disaster Recovery] How can you do it?

2015-07-15 Thread Giuseppe Galeota
Hi Fausto,
where can I find information about implemented and currently working
functionalities?

Thank you,
Giuseppe





2015-07-07 13:28 GMT+02:00 Marzi, Fausto fausto.ma...@hp.com:

 Hi Giuseppe, Avishay, all,

 In the Company where I'm currently working on, there are 4 Engineers full
 time dedicated to Freezer.

 Your consideration Avishay make totally sense. There are also other points
 that probably needs to be taken in consideration for DR as:

 - Backup and restore synchronized across multiple services:
 This is important, as for instance Nova depends on many other OS service
 (i.e. cinder, glance, etc).

 - When users execute a backup of a VM, it is also expected that the Cinder
 Volumes, the images and the users/tenants can also be point-in-time restored

 - It is important to be able to restore data, even if any one of the OS
 Services is down (i.e. Keystone or Swift are not available).

 - The orchestration between Nova and Cinder to execute full VM + Cinder
 backups is important

 - Have a unified API and Web UI in Horizon is also a nice to have

 These and more are the challenges that in the Freezer Team we are solving.

 Being totally honest, Freezer has been used to backup many services in a
 reasonably big OpenStack instance for a year now.
 However, it's only 6 months there's a dedicated Team working on it, so
 many things still needs to be done.

 For any real time interaction, we are in #openstack-freezer on Freenode ,
 so feel free to say Hi if you are around : )

 Contributors are most welcome.

 Thanks,
 Fausto

  Forwarded Message 
 Subject:Re: [Openstack] [OpenStack] [Disaster Recovery] How can
 you do
 it?
 Date:   Tue, 7 Jul 2015 11:44:17 +0200
 From:   Giuseppe Galeota giuseppegale...@gmail.com
 To: Avishay Traeger avis...@stratoscale.com
 CC: openstack@lists.openstack.org openstack@lists.openstack.org



 Thank you all.
 What can you tell me about the following projects:

 - https://wiki.openstack.org/wiki/Raksha
 - https://github.com/stackforge/freezer

 Will they become OpenStack project?

 Thanks,
 Giuseppe

 2015-07-06 21:33 GMT+02:00 Avishay Traeger avis...@stratoscale.com
 mailto:avis...@stratoscale.com:

 As David mentioned, there is a spectrum of possible solutions for
 disaster recovery.  The solution, as always, depends on the
 requirements.  In disaster recovery, those requirements are
 expressed as:
 1. RPO - Recovery Point Objective - If a disaster strikes, how far
 back will it set me?
 2. RTO - Recovery Time Objective - If a disaster strikes, how long
 until my workload is up and running?

 The answers to both are independent and can range from Not at all
 to minutes or hours or days.

 A solution with high RPO and RTO is backup.  Once in a while
 transfer your images, snapshots of your VMs and volumes, and your
 SQL DB to another site.  If disaster strikes you can manually run
 your workloads from the last backup, and you have your metadata
 backed up too (keystone users/tenants, nova flavors, etc.).

 A solution with lower RPO and RTO is replication. Work is being done
 in Cinder to enable continuous volume replication between storage
 backends.  You can put your Glance images in multiple locations or
 in multi-site Swift, and replicate your DB as well.  Ideally you
 will be able to get to some consistent state between your data and
 metadata, which is not easy.  For failover, you can use Heat or some
 other orchestration tool.

 There are solutions with zero RPO and RTO, where workloads run
 active/active in multiple sites.  There are also other solutions in
 the spectrum.

 In short, the building blocks are starting to appear, but a full
 solution is not yet available.


 On Mon, Jul 6, 2015 at 8:08 PM, David Medberry
 openst...@medberry.net mailto:openst...@medberry.net wrote:

 Yes.

 http://docs.openstack.org/openstack-ops/content/snapshots.html
 API Image Create detailed here:

 Nova:
 http://developer.openstack.org/api-ref-compute-v2.1.html
 It is a snapshot of the instance's image (not of the instance's
 in memory state).

 Cinder:
 http://developer.openstack.org/api-ref-blockstorage-v2.html

 http://lmgtfy.com/?q=nova+image+create+api
 http://lmgtfy.com/?q=cinder+snapshot+api


 On Mon, Jul 6, 2015 at 11:02 AM, Giuseppe Galeota
 giuseppegale...@gmail.com mailto:giuseppegale...@gmail.com
 wrote:

 Thank you David,all,

 I would like to know if are there Nova/Cinder Rest APIs to
 execute VM/volume snapshot?

 Thank you all,
 Giuseppe

 2015-07-06 18:40 GMT+02:00 David Medberry
 openst...@medberry.net mailto:openst...@medberry.net:

 Giuseppe,

 A great deal of Disaster Recovery

Re: [Openstack] [OpenStack] [Disaster Recovery] How can you do it?

2015-07-06 Thread Giuseppe Galeota
Thank you David,all,

I would like to know if are there Nova/Cinder Rest APIs to execute
VM/volume snapshot?

Thank you all,
Giuseppe

2015-07-06 18:40 GMT+02:00 David Medberry openst...@medberry.net:

 Giuseppe,

 A great deal of Disaster Recovery planning relies on you / your
 organization to define what they mean by DR planning. Yes, Nova snaps
 (instance snaps) and Cinder snaps (volume snaps) can be used in DR.
 Additionally, depending on your architecture you can utilize Swift (if it
 is geo distributed, it gives you some measure of DR resilience.)

 I'm not aware of a howto or manual on this topic though as it varies so
 much based on arch and definition it's not effective to make a generalized
 recommendation.

 On Mon, Jul 6, 2015 at 10:02 AM, Giuseppe Galeota 
 giuseppegale...@gmail.com wrote:

 Dear all,
 how can I implement a Disaster Recovery plan in OpenStack? Is there some
 project?

 Can I use the Nova/Cinder APIs to create snapshot and upload them
 somewhere?

 Thanks,
 Giuseppe

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



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


[openstack-dev] [OpenStack] [Barbican] Cinder and Barbican

2014-10-16 Thread Giuseppe Galeota
Dear all,
is Cinder capable today to use Barbican for encryption? If yes, can
you attach some useful doc?

Thank you,
Giuseppe
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[Openstack] [Trove]Use an vanilla ubuntu image to create trove instances

2014-03-11 Thread Giuseppe Galeota
Dear all,
I would realize this
https://www.dropbox.com/s/w7fb2zfxut0g2sg/scenario.pngscenario.

I have installed and configure Trove as root user, cloning trove into /root
directory. So, The trove configuration files are under
/root/trove/etc/trove directory.

I have followed this guide:
https://review.openstack.org/#/c/78608/6/doc/source/dev/manual_installation_havana.rst

On the VM, the trove services (api, conductor and taskmanager) work
perfectly.

Now, if I would use a vanilla image (
http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img)
in order to create trove instances, what I should write in the
mysql.cloudinit script?

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


Re: [Openstack] [openstack][TROVE]Error in building an instance

2014-03-10 Thread Giuseppe Galeota
The image I use to create the Trove instance is a vanalla Ubuntu image (
http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img)
converted into uncompressed ubuntu_mysql.qcow2 image.

In the /root/trove/etc/trove/cloudinit directory, there is a
mysql.cloudinit script like this:



#!/bin/bash



passwd root _EOF_

root

root


apt-get update

apt-get install git


wget
https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.8.tar.gz
tar xfvz setuptools-0.9.8.tar.gz
cd setuptools-0.9.8
python setup.py install --user
cd ..

wget https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz
tar xfvz pip-1.4.1.tar.gz
cd pip-1.4.1
python setup.py install --user
cd ..





mkdir -p /srv/git/guestagent/trove

chown -R root:root /srv

chown -R 777 /srv

cd /srv/git/guestagent/trove



git init; git pull https://github.com/openstack/trove.git

pip install -r requirements.txt

python setup.py install

trove-guestagent
--config-file=/srv/git/guestagent/trove/etc/trove/trove-guestagent.conf





Giuseppe


2014-03-08 17:12 GMT+01:00 tangyi tan...@kingsoft.com:

  The log you provide ,please check:
 the trove-guestagent process in vm start success?
 or
 do you install trove-guestagent in image?

 于 2014年03月08日 00:42, Giuseppe Galeota 写道:

 Dear all,

  the nova-compute.log file doesn't give any error.

  Running:
 *# trove create riprova_trove 2 --size 1*
 an instance with a *trove_id = **45c924b6-34b0-46b1-a53e-0040c56d33a4* is
 created (http://paste.openstack.org/show/72896/)

  while on nova compute the instance is labeled with a *nova_id = 
 **7d6ce796-6da6-444a-877f-1751ce7880fa
 *and

  *# nova show 7d6ce796-6da6-444a-877f-1751ce7880fa*

  tells that the instances on nova compute is Active, (http://
 paste.openstack.org/show/72890/).

  So, while on nova compute the instance riprova_trove is *ACTIVE*, on
 Trove the instance is still in the *BUILD* status:
 http://paste.openstack.org/show/72898/

  Here http://paste.openstack.org/show/72901/ you can see the
 trove-taskmanager.log in which there is an *PollTimeOut: Polling request
 timed out.*** error.

  Thank you all,
 Giuseppe




 2014-03-06 3:26 GMT+01:00 tangyi tan...@kingsoft.com:

  Server not active, status: ERROR

 The trove always detect nova vm status until timeout.if  nova service spawn 
 vm failed,then you saw the log.
 please check nova-compute.log



 于 2014年03月06日 01:37, Giuseppe Galeota 写道:

 Dear all,
 I have a trove service running on a VM different from the controller node.

  I have configured a user=Trove both in tenant=trove and tenant=service
 with role=admin.

  If I log into horizon as a trove user and create a database isntances,
 the status goes in Error.


  Here there is what I can see in the trove-taskmanager.log file:

 2014-03-05 18:25:13.420 21626 DEBUG requests.packages.urllib3.connectionpool 
 [-] GET 
 /v2/eca00319484f4e70a8e419f8831938ac/servers/f5353acc-59f1-4a12-9586-7b74a9e71752
  HTTP/1.1 200 1718 _$
 2014-03-05 18:25:14.795 21626 DEBUG requests.packages.urllib3.connectionpool 
 [-] GET 
 /v2/eca00319484f4e70a8e419f8831938ac/servers/f5353acc-59f1-4a12-9586-7b74a9e71752
  HTTP/1.1 200 1819 _$
 2014-03-05 18:25:14.797 21626 ERROR trove.common.utils 
 [req-64f116ac-7d22-443f-991a-8d58e7200064 4a258d14a5984379bd23495d98bd3050 
 eca00319484f4e70a8e419f8831938ac - - -] in looping call
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils Traceback (most 
 recent call last):
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File 
 /root/trove/trove/common/utils.py, line 215, in _inner
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils 
 self.f(*self.args, **self.kw)
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File 
 /root/trove/trove/common/utils.py, line 252, in poll_and_check
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils obj = retriever()
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File 
 /root/trove/trove/taskmanager/models.py, line 326, in _service_is_active
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils raise 
 TroveError(_(Server not active, status: %s) % nova_status)
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils TroveError: Server 
 not active, status: ERROR
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils
 2014-03-05 18:25:14.800 21626 ERROR trove.taskmanager.models 
 [req-64f116ac-7d22-443f-991a-8d58e7200064 4a258d14a5984379bd23495d98bd3050 
 eca00319484f4e70a8e419f8831938ac - - -] Error during$
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models Traceback (most 
 recent call last):
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/taskmanager/models.py, line 262, in create_instance
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models 
 time_out=USAGE_TIMEOUT)
 2014-03-05 18:25:14.800

Re: [Openstack] [Openstack-docs] [OPENSTACK][TROVE] Modify to the manual installation guide

2014-03-08 Thread Giuseppe Galeota
2014-03-07 19:58 GMT+01:00 Michael Basnight mbasni...@gmail.com:

 Giuseppe Galeota giuseppegale...@gmail.com writes:

  I think that the section http://docs.openstack.org/
  developer/trove/dev/manual_install.html#prepare-database should be
 modified
  as follow:

 We welcome reviews to the developer docs. Feel free to propose the code
 changes instead of putting it on the mailing list :) The documentation
 for this is _terribly_ out of date, and after talking to you on the
 channel, it is painful to installers. Thank you in advance for any
 reviews to make this cleaner!


Hi all,
I proposed a review for the Trove manual intallation here:
https://review.openstack.org/#/c/78608/
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [OPENSTACK][TROVE] ssl.c:504 error

2014-03-08 Thread Giuseppe Galeota
No bug was ever created for the *_ssl.c:504: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed *error,
though* we solved the problem* by inserting *cacert =
/path/to/CA_file.pem* in the .Client() function (rows 45 and 65 of the /
trove/trove/common/remote.py file) as last parameter.


2014-03-07 20:00 GMT+01:00 Michael Basnight mbasni...@gmail.com:

 Giuseppe Galeota giuseppegale...@gmail.com writes:

  Hi all,
  here http://paste.openstack.org/raw/71718/you can find the
  trove-taskmanager.log file with the details.

 We found the issue. The code that creates the clients to talk to
 nova/cinder/heat/swift/etc does not take into account a cacert
 option. Giuseppe, did a bug ever get created for this?

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


Re: [Openstack] [openstack][TROVE]Error in building an instance

2014-03-07 Thread Giuseppe Galeota
Dear all,

the nova-compute.log file doesn't give any error.

Running:
*# trove create riprova_trove 2 --size 1*
an instance with a *trove_id = **45c924b6-34b0-46b1-a53e-0040c56d33a4* is
created (http://paste.openstack.org/show/72896/)

while on nova compute the instance is labeled with a *nova_id =
**7d6ce796-6da6-444a-877f-1751ce7880fa
*and

*# nova show 7d6ce796-6da6-444a-877f-1751ce7880fa*

tells that the instances on nova compute is Active, (http://
paste.openstack.org/show/72890/).

So, while on nova compute the instance riprova_trove is *ACTIVE*, on
Trove the instance is still in the *BUILD* status:
http://paste.openstack.org/show/72898/

Here http://paste.openstack.org/show/72901/ you can see the
trove-taskmanager.log in which there is an *PollTimeOut: Polling request
timed out.*** error.

Thank you all,
Giuseppe




2014-03-06 3:26 GMT+01:00 tangyi tan...@kingsoft.com:

  Server not active, status: ERROR

 The trove always detect nova vm status until timeout.if  nova service spawn 
 vm failed,then you saw the log.
 please check nova-compute.log



 于 2014年03月06日 01:37, Giuseppe Galeota 写道:

 Dear all,
 I have a trove service running on a VM different from the controller node.

  I have configured a user=Trove both in tenant=trove and tenant=service
 with role=admin.

  If I log into horizon as a trove user and create a database isntances,
 the status goes in Error.


  Here there is what I can see in the trove-taskmanager.log file:

  2014-03-05 18:25:13.420 21626 DEBUG requests.packages.urllib3.connectionpool 
 [-] GET 
 /v2/eca00319484f4e70a8e419f8831938ac/servers/f5353acc-59f1-4a12-9586-7b74a9e71752
  HTTP/1.1 200 1718 _$
 2014-03-05 18:25:14.795 21626 DEBUG requests.packages.urllib3.connectionpool 
 [-] GET 
 /v2/eca00319484f4e70a8e419f8831938ac/servers/f5353acc-59f1-4a12-9586-7b74a9e71752
  HTTP/1.1 200 1819 _$
 2014-03-05 18:25:14.797 21626 ERROR trove.common.utils 
 [req-64f116ac-7d22-443f-991a-8d58e7200064 4a258d14a5984379bd23495d98bd3050 
 eca00319484f4e70a8e419f8831938ac - - -] in looping call
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils Traceback (most recent 
 call last):
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File 
 /root/trove/trove/common/utils.py, line 215, in _inner
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils self.f(*self.args, 
 **self.kw)
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File 
 /root/trove/trove/common/utils.py, line 252, in poll_and_check
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils obj = retriever()
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File 
 /root/trove/trove/taskmanager/models.py, line 326, in _service_is_active
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils raise 
 TroveError(_(Server not active, status: %s) % nova_status)
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils TroveError: Server not 
 active, status: ERROR
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils
 2014-03-05 18:25:14.800 21626 ERROR trove.taskmanager.models 
 [req-64f116ac-7d22-443f-991a-8d58e7200064 4a258d14a5984379bd23495d98bd3050 
 eca00319484f4e70a8e419f8831938ac - - -] Error during$
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models Traceback (most 
 recent call last):
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/taskmanager/models.py, line 262, in create_instance
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models 
 time_out=USAGE_TIMEOUT)
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/common/utils.py, line 258, in poll_until
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models return 
 lc.wait()
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /usr/local/lib/python2.7/dist-packages/eventlet/event.py, line 116, in wait
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models return 
 hubs.get_hub().switch()
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py, line 187, in 
 switch
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models return 
 self.greenlet.switch()
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/common/utils.py, line 215, in _inner
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models 
 self.f(*self.args, **self.kw)
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/common/utils.py, line 252, in poll_and_check
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models obj = 
 retriever()
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/taskmanager/models.py, line 326, in _service_is_active
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models raise 
 TroveError(_(Server not active, status: %s) % nova_status)
 2014-03-05 18:25:14.800 21626 TRACE

[Openstack] [openstack][trove] Instances in build status

2014-03-05 Thread Giuseppe Galeota
Hi all,
executing

# trove list

I can see 5 instances in a Build status, and the command

# trove delete instance_id

gives me an obvious error of instance is not ready
http://paste.openstack.org/show/72530/* .*

But instances are in a Build status from many days...

Where is the problem?


Moreover, the trove-taskmanager.log contains errors like Cannot find
compute instancehttp://paste.openstack.org/show/72516/

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


[Openstack] [openstack][TROVE]Error in building an instance

2014-03-05 Thread Giuseppe Galeota
Dear all,
I have a trove service running on a VM different from the controller node.

I have configured a user=Trove both in tenant=trove and tenant=service with
role=admin.

If I log into horizon as a trove user and create a database isntances, the
status goes in Error.


Here there is what I can see in the trove-taskmanager.log file:


2014-03-05 18:25:13.420 21626 DEBUG
requests.packages.urllib3.connectionpool [-] GET
/v2/eca00319484f4e70a8e419f8831938ac/servers/f5353acc-59f1-4a12-9586-7b74a9e71752
HTTP/1.1 200 1718 _$
2014-03-05 18:25:14.795 21626 DEBUG
requests.packages.urllib3.connectionpool [-] GET
/v2/eca00319484f4e70a8e419f8831938ac/servers/f5353acc-59f1-4a12-9586-7b74a9e71752
HTTP/1.1 200 1819 _$
2014-03-05 18:25:14.797 21626 ERROR trove.common.utils
[req-64f116ac-7d22-443f-991a-8d58e7200064
4a258d14a5984379bd23495d98bd3050 eca00319484f4e70a8e419f8831938ac - -
-] in looping call
2014-03-05 18:25:14.797 21626 TRACE trove.common.utils Traceback (most
recent call last):
2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File
/root/trove/trove/common/utils.py, line 215, in _inner
2014-03-05 18:25:14.797 21626 TRACE trove.common.utils
self.f(*self.args, **self.kw)
2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File
/root/trove/trove/common/utils.py, line 252, in poll_and_check
2014-03-05 18:25:14.797 21626 TRACE trove.common.utils obj = retriever()
2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File
/root/trove/trove/taskmanager/models.py, line 326, in
_service_is_active
2014-03-05 18:25:14.797 21626 TRACE trove.common.utils raise
TroveError(_(Server not active, status: %s) % nova_status)
2014-03-05 18:25:14.797 21626 TRACE trove.common.utils TroveError:
Server not active, status: ERROR
2014-03-05 18:25:14.797 21626 TRACE trove.common.utils
2014-03-05 18:25:14.800 21626 ERROR trove.taskmanager.models
[req-64f116ac-7d22-443f-991a-8d58e7200064
4a258d14a5984379bd23495d98bd3050 eca00319484f4e70a8e419f8831938ac - -
-] Error during$
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models Traceback
(most recent call last):
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File
/root/trove/trove/taskmanager/models.py, line 262, in
create_instance
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models
time_out=USAGE_TIMEOUT)
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File
/root/trove/trove/common/utils.py, line 258, in poll_until
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models
return lc.wait()
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File
/usr/local/lib/python2.7/dist-packages/eventlet/event.py, line 116,
in wait
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models
return hubs.get_hub().switch()
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File
/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py, line
187, in switch
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models
return self.greenlet.switch()
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File
/root/trove/trove/common/utils.py, line 215, in _inner
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models
self.f(*self.args, **self.kw)
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File
/root/trove/trove/common/utils.py, line 252, in poll_and_check
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models obj =
retriever()
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File
/root/trove/trove/taskmanager/models.py, line 326, in
_service_is_active
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models raise
TroveError(_(Server not active, status: %s) % nova_status)
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models
TroveError: Server not active, status: ERROR
2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models
2014-03-05 18:25:14.802 21626 DEBUG trove.taskmanager.models
[req-64f116ac-7d22-443f-991a-8d58e7200064
4a258d14a5984379bd23495d98bd3050 eca00319484f4e70a8e419f8831938ac - -
-] end create_i$
2014-03-05 18:25:17.826 21626 DEBUG
trove.openstack.common.periodic_task
[req-64f116ac-7d22-443f-991a-8d58e7200064
4a258d14a5984379bd23495d98bd3050 eca00319484f4e70a8e419f8831938ac - -
-] $
2014-03-05 18:25:27.836 21626 DEBUG
trove.openstack.common.periodic_task
[req-64f116ac-7d22-443f-991a-8d58e7200064
4a258d14a5984379bd23495d98bd3050 eca00319484f4e70a8e419f8831938ac - -
-] $
2014-03-05 18:25:37.846 21626 DEBUG
trove.openstack.common.periodic_task
[req-64f116ac-7d22-443f-991a-8d58e7200064
4a258d14a5984379bd23495d98bd3050 eca00319484f4e70a8e419f8831938ac -


Why do I receive this error?


Thank you,

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


Re: [Openstack] [openstack][TROVE]Error in building an instance

2014-03-05 Thread Giuseppe Galeota
Furthermore, the keystone service accepts only HTTPS connections.

Giuseppe


2014-03-05 18:37 GMT+01:00 Giuseppe Galeota giuseppegale...@gmail.com:

 Dear all,
 I have a trove service running on a VM different from the controller node.

 I have configured a user=Trove both in tenant=trove and tenant=service
 with role=admin.

 If I log into horizon as a trove user and create a database isntances, the
 status goes in Error.


 Here there is what I can see in the trove-taskmanager.log file:


 2014-03-05 18:25:13.420 21626 DEBUG requests.packages.urllib3.connectionpool 
 [-] GET 
 /v2/eca00319484f4e70a8e419f8831938ac/servers/f5353acc-59f1-4a12-9586-7b74a9e71752
  HTTP/1.1 200 1718 _$
 2014-03-05 18:25:14.795 21626 DEBUG requests.packages.urllib3.connectionpool 
 [-] GET 
 /v2/eca00319484f4e70a8e419f8831938ac/servers/f5353acc-59f1-4a12-9586-7b74a9e71752
  HTTP/1.1 200 1819 _$
 2014-03-05 18:25:14.797 21626 ERROR trove.common.utils 
 [req-64f116ac-7d22-443f-991a-8d58e7200064 4a258d14a5984379bd23495d98bd3050 
 eca00319484f4e70a8e419f8831938ac - - -] in looping call
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils Traceback (most recent 
 call last):
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File 
 /root/trove/trove/common/utils.py, line 215, in _inner
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils self.f(*self.args, 
 **self.kw)
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File 
 /root/trove/trove/common/utils.py, line 252, in poll_and_check
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils obj = retriever()
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils   File 
 /root/trove/trove/taskmanager/models.py, line 326, in _service_is_active
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils raise 
 TroveError(_(Server not active, status: %s) % nova_status)
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils TroveError: Server not 
 active, status: ERROR
 2014-03-05 18:25:14.797 21626 TRACE trove.common.utils
 2014-03-05 18:25:14.800 21626 ERROR trove.taskmanager.models 
 [req-64f116ac-7d22-443f-991a-8d58e7200064 4a258d14a5984379bd23495d98bd3050 
 eca00319484f4e70a8e419f8831938ac - - -] Error during$
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models Traceback (most 
 recent call last):
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/taskmanager/models.py, line 262, in create_instance
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models 
 time_out=USAGE_TIMEOUT)
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/common/utils.py, line 258, in poll_until
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models return 
 lc.wait()
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /usr/local/lib/python2.7/dist-packages/eventlet/event.py, line 116, in wait
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models return 
 hubs.get_hub().switch()
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py, line 187, in 
 switch
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models return 
 self.greenlet.switch()
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/common/utils.py, line 215, in _inner
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models 
 self.f(*self.args, **self.kw)
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/common/utils.py, line 252, in poll_and_check
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models obj = 
 retriever()
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models   File 
 /root/trove/trove/taskmanager/models.py, line 326, in _service_is_active
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models raise 
 TroveError(_(Server not active, status: %s) % nova_status)
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models TroveError: 
 Server not active, status: ERROR
 2014-03-05 18:25:14.800 21626 TRACE trove.taskmanager.models
 2014-03-05 18:25:14.802 21626 DEBUG trove.taskmanager.models 
 [req-64f116ac-7d22-443f-991a-8d58e7200064 4a258d14a5984379bd23495d98bd3050 
 eca00319484f4e70a8e419f8831938ac - - -] end create_i$
 2014-03-05 18:25:17.826 21626 DEBUG trove.openstack.common.periodic_task 
 [req-64f116ac-7d22-443f-991a-8d58e7200064 4a258d14a5984379bd23495d98bd3050 
 eca00319484f4e70a8e419f8831938ac - - -] $
 2014-03-05 18:25:27.836 21626 DEBUG trove.openstack.common.periodic_task 
 [req-64f116ac-7d22-443f-991a-8d58e7200064 4a258d14a5984379bd23495d98bd3050 
 eca00319484f4e70a8e419f8831938ac - - -] $
 2014-03-05 18:25:37.846 21626 DEBUG trove.openstack.common.periodic_task 
 [req-64f116ac-7d22-443f-991a-8d58e7200064 4a258d14a5984379bd23495d98bd3050 
 eca00319484f4e70a8e419f8831938ac -


 Why do I receive this error?


 Thank you,

 Giuseppe

Re: [Openstack] [OPENSTACK][TROVE] ssl.c:504 error

2014-03-03 Thread Giuseppe Galeota
Hi all,
here http://paste.openstack.org/raw/71718/you can find the
trove-taskmanager.log file with the details.

Thank you,
Giuseppe




2014-02-23 19:03 GMT+01:00 Giuseppe Galeota giuseppegale...@gmail.com:

 Dear all,
 I have manually installed the TROVE service on a VM different then the
 controller node, in an Opnestack testbed (not Devstack).

 I have followed this 
 http://docs.openstack.org/developer/trove/dev/manual_install.html#guide,
 with some command modified.

 After I run the following commands:

-

# trove-api --config-file=PathToTroveConf 

-

# trove-taskmanager --config-file=PathToTroveTaskmanagerConf 


 I obtain this error:

 *WARNING keystoneclient.middleware.auth_token [-] Retrying on HTTP
 connection exception: [Errno 1] _ssl.c:504: error:14090086:SSL
 routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed*

 The Keystone service, on the controller node, uses HTTPS connections,
 while the api-paste.ini file in the trove directory is:

 .
 [filter:authtoken]
 paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
 auth_host = keystone_host
 auth_port = 35357
 auth_protocol = https
 admin_user = trove
 admin_password = trove
 admin_tenant_name = trove
 auth_uri = https://keystone_ip:5000/v2.0
 # signing_dir is configurable, but the default behavior of the authtoken
 # middleware should be sufficient.  It will create a temporary directory
 # in the home directory for the user the trove process is running as.
 signing_dir = /root/trove/etc/trove/

 ...

 In the signing_dir I have saved the CA_file.pem of the keystone service.

 Thank you,
 Giuseppe



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


Re: [Openstack] [Openstack-docs] [OPENSTACK][TROVE] Modify to the manual installation guide

2014-02-23 Thread Giuseppe Galeota
I think that the section http://docs.openstack.org/
developer/trove/dev/manual_install.html#prepare-database should be modified
as follow:
Prepare database

·ADDING this  new commands in order to create the trove database
(as from http://docs.openstack.org/trunk/install-guide/install/apt/content/
):

# mysql -u root -p

mysql CREATE DATABASE trove;

mysql GRANT ALL PRIVILEGES ON trove.* TO trove@'localhost' \

IDENTIFIED BY *'TROVE_DBPASS*';

mysql GRANT ALL PRIVILEGES ON trove.* TO trove@'%' \

IDENTIFIED BY '*TROVE_DBPASS*';



·Initialize the database:

   - modify the old command:

*# trove-manage --config-file=PathToTroveConf db_wipe
trove_test.sqlite mysql fake*

with the new command (as from
https://github.com/openstack/trove-integration/blob/master/scripts/redstack#L470
):

* # trove-manage --config-file=PathToTroveConf **db_sync*


   -  ADDING this  new commands in order to populate the datastores
and datastore_versions tables as follow (as from
https://github.com/openstack/trove-integration/blob/master/scripts/redstack#L470)

  # mysql -u root -p

mysql use trove;



mysql INSERT INTO datastores VALUES
('a0a0-00a0-0a00-00a0-000a00aa', 'mysql',
'b0b0-00b0-0b00-00b0-000b00bb');


mysql INSERT INTO datastores values
('e0e0-00e0-0e00-00e0-000e00ee', 'Test_Datastore_1', '');


mysql INSERT INTO datastore_versions VALUES
('b0b0-00b0-0b00-00b0-000b00bb',
'a0a0-00a0-0a00-00a0-000a00aa', 'mysql-5.5',
'c0c0-00c0-0c00-00c0-000c00cc', 'mysql-server-5.5', 1, 'mysql');


mysql INSERT INTO datastore_versions VALUES
('d0d0-00d0-0d00-00d0-000d00dd',
'a0a0-00a0-0a00-00a0-000a00aa', 'mysql_inactive_version', '', '',
0, 'manager1');



·Setup trove to use the uploaded image. Enter the following in a
single line, note quotes (') and backquotes(`).

- modify the old command:

# trove-manage --config-file=PathToTroveConf image_update mysql
`nova --os-username trove --os-password trove --os-tenant-name trove
 --os-auth-url http://KeystoneIp:5000/v2.0 image-list | awk
'/trove-image/ {print $2}'`

with the new commands:

1 - obtain the image id:

# nova --os-username trove --os-password trove --os-tenant-name trove
--os-auth-url http://keystone_IP:5000/v2.0 image-list | awk '/trove-image/
{print $2}'

2- populate the datastore_versions table (as from
https://github.com/openstack/trove-integration/blob/master/scripts/redstack#L301
):

# trove-manage --config-file=PathToTroveConf datastore_version_update
mysql mysql-5.5 mysql *id_image* mysql-server-5.5 1


This should produce the following result:

* 18815 INFO trove.db.sqlalchemy.session [-] Creating SQLAlchemy engine
with args: {'pool_recycle': 3600, 'echo': False}*

*Datastore version 'mysql-5.5' updated.*

Run 
Trovehttp://docs.openstack.org/developer/trove/dev/manual_install.html#run-trove

   -

   Run trove-api:

   # trove-api --config-file=PathToTroveConf 

   - Run trove-taskmanager:


# trove-taskmanager --config-file=PathToTroveTaskmanagerConf 


   - Adding the new command: Run trove-conductor:

# trove-conductor--config-file=PathToTroveConductorConf 

What do you think about? Please add any other command you feel necessary.

Giuseppe

2014-02-21 22:52 GMT+01:00 Nicholas Chase nch...@mirantis.com:

 I mean what sould it BE, of course.  Sigh.


 On 2/21/2014 4:47 PM, Nicholas Chase wrote:

 Thanks, Giusepe!  What should it way?

   Nick

 On 2/21/2014 9:01 AM, Giuseppe Galeota wrote:

 Hi all,
 For example, the Prepare Database section
 (http://docs.openstack.org/developer/trove/dev/manual_
 install.html#prepare-database)

 contains commands not valid for the new release of trove, such as:

 trove-manage --config-file=PathToTroveConf db_wipe
 trove_test.sqlite_mysql fake_

 and:

 trove-manage --config-file=PathToTroveConf_image_update mysql_
  `nova --os-username trove --os-password trove --os-tenant-name trove
  --os-auth-url http://KeystoneIp:5000/v2.0 image-list | awk
 '/trove-image/ {print $2}'`


 We should modify that commands with those used in the
 trove/integration/redstack script, in the section rd_manage.


 Thank you,
 Giuseppe


 ___
 Openstack-docs mailing list
 openstack-d...@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs



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


[Openstack] [OPENSTACK][TROVE] ssl.c:504 error

2014-02-23 Thread Giuseppe Galeota
Dear all,
I have manually installed the TROVE service on a VM different then the
controller node, in an Opnestack testbed (not Devstack).

I have followed this
http://docs.openstack.org/developer/trove/dev/manual_install.html#guide,
with some command modified.

After I run the following commands:

   -

   # trove-api --config-file=PathToTroveConf 

   -

   # trove-taskmanager --config-file=PathToTroveTaskmanagerConf 


I obtain this error:

*WARNING keystoneclient.middleware.auth_token [-] Retrying on HTTP
connection exception: [Errno 1] _ssl.c:504: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed*

The Keystone service, on the controller node, uses HTTPS connections, while
the api-paste.ini file in the trove directory is:

.
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
auth_host = keystone_host
auth_port = 35357
auth_protocol = https
admin_user = trove
admin_password = trove
admin_tenant_name = trove
auth_uri = https://keystone_ip:5000/v2.0
# signing_dir is configurable, but the default behavior of the authtoken
# middleware should be sufficient.  It will create a temporary directory
# in the home directory for the user the trove process is running as.
signing_dir = /root/trove/etc/trove/

...

In the signing_dir I have saved the CA_file.pem of the keystone service.

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


[Openstack] [TROVE] AMPQ error

2014-02-20 Thread Giuseppe Galeota
Dear all,
I have manually installed the TROVE service on a VM different from
controller node, in an Opnestack testbed (not Devstack).

I have followed this
http://docs.openstack.org/developer/trove/dev/manual_install.html#guide
with no few difficulties.

Running trove-api --config-file=/root/trove/etc/trove/trove.conf.sample 

 trove-taskmanager
--config-file=/root/trove/etc/trove/trove-taskmanager.sample 

I obtain this output:
*** log_opt_values
/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py:1951

2014-02-20 23:07:18.129 1712 ERROR trove.openstack.common.rpc.common
[req-a8a3bbb5-780f-48cd-9a8b-3ec100246323 nova service - - -] AMQP server
on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in
1 seconds.

The trove.conf.sample e trove-taskmanger.sample notifer queue kombu
connection options are:
#  notifer queue kombu connection options


notifier_queue_hostname = IP_address_of_the_controller_node


The VM that runs TROVE is a freshly Ubuntu 12.04.03 server in which I have
installed only the base packages how suggested from this guide (
http://docs.openstack.org/trunk/install-guide/install/apt/content/ch_basics.html
)


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


Re: [openstack-dev] [Openstack] [TROVE] Manual Installation: problems with trove-manage

2014-02-13 Thread Giuseppe Galeota
Hi Michael,
I'm using this unique guide: 
http://docs.openstack.org/developer/trove/dev/manual_install.html;.

If you can give me an useful guide, I would be grateful!

 1) Which user do I need use in order to install TROVE, root user or a
 non-root user?

   Installation should be the same as other projects in OpenStack. If its
   not, we definitely have issues :)

  OK

 2)  Why is it necessary to run a virtual environment (virtualenv)? Is it
 the right way in order to realize a production Openstack environment?

  ? I have helped a few companies install trove, and i have _never_
run in
  a venv. Not saying you should/shouldnt, im just saying its not
  necessary. Im not sure where you got that.


OK


 3) When I run the command:

 (env)root@hostname:~#trove-manage
 --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
 trove_test.sqlite mysql fake

 I obtain this output:

 (env)root@hostname:~# trove-manage
 --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
 trove_test.sqlite mysql fake
 usage: trove-manage [-h] [--config-dir DIR] [--config-file PATH]
[--debug]
 [--log-config-append PATH] [--log-date-format
 DATE_FORMAT]
 [--log-dir LOG_DIR] [--log-file PATH]
 [--log-format FORMAT] [--nodebug] [--nouse-syslog]
 [--noverbose] [--syslog-log-facility
 SYSLOG_LOG_FACILITY]
 [--use-syslog] [--verbose] [--version]

{db_sync,db_upgrade,db_downgrade,datastore_update,datastore_version_update,db_wipe}
 ...
 trove-manage: error: unrecognized arguments: mysql fake

  Looks like you hit a bug :) Im not sure if anyone has run that via trove
manage before!!

 I have followed this unique guide (
http://docs.openstack.org/developer/trove/dev/manual_install.html), and
precisely this instructions:

   -

   Initialize the database:

   # trove-manage --config-file=PathToTroveConf db_wipe
trove_test.sqlite mysql fake



  where --config-file=/root/trove/etc/trove/trove.conf.sample

So:
 a) How should I inizialize the trove's database?

 b) Why the config files are under the
/root/trove/etc insted of /etc/trove/  ?


   However, if I run that command without *mysql fake*:

(env)root@hostname:~#
trove-manage --config-file=/root/trove/etc/trove/trove.conf.sample
db_wipe trove_test.sqlite

   it seems to work. In the trove's database, infact, I can see a
lot of tables.


 Furthermore, I obtain the trove-manage: error: unrecognized
arguments: image_update
 when I run the command:

 (env)root@hostname:~#
trove-manage --config-file=/root/trove/etc/trove/trove.conf.sample
image_update mysql `nova --os-username trove --os-password trove
--os-tenant-name trove --os-auth-url http://KeystoneIp:5000/v2.0
image-list | awk '/trove-image/ {print $2}'`



  I dont see image_update in the list of commands above. Im not sure
where
  you got image_update from, but i dont see it in the current
trove-manage
  code. If you got that from a wiki article, its crazy wrong!!

I have got image_update from the guide
http://docs.openstack.org/developer/trove/dev/manual_install.html , ed in
particular from the section:


   -

   Setup trove to use the uploaded image. Enter the following in a single
   line, note quotes (') and backquotes(`):

   # trove-manage
--config-file=/root/trove/etc/trove/trove.conf.sample image_update
mysql `nova --os-username trove --os-password trove
--os-tenant-name trove --os-auth-url http://KeystoneIp:5000/v2.0
image-list | awk '/trove-image/ {print $2}'`



  If u want synchronous help, find us in #openstack-trove.

  I will do it.

Can you help me with a more useful guide that makes trove working?

Thank you very much!
Giuseppe


2014-02-13 17:18 GMT+01:00 Michael Basnight mbasni...@gmail.com:

 Giuseppe Galeota giuseppegale...@gmail.com writes:

  [...]
 
  1) Which user do I need use in order to install TROVE, root user or a
  non-root user?

 Installation should be the same as other projects in OpenStack. If its
 not, we definitely have issues :)

 
  2)  Why is it necessary to run a virtual environment (virtualenv)? Is it
  the right way in order to realize a production Openstack environment?

 ? I have helped a few companies install trove, and i have _never_ run in
 a venv. Not saying you should/shouldnt, im just saying its not
 necessary. Im not sure where you got that.

 
 
 
  3) When I run the command:
 
  (env)root@hostname:~#trove-manage
  --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
  trove_test.sqlite mysql fake
 
  I obtain this output:
 
  (env)root@hostname:~# trove-manage
  --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
  trove_test.sqlite mysql fake
  usage: trove-manage [-h] [--config-dir DIR] [--config-file PATH]
 [--debug]
  [--log-config

[Openstack] [TROVE] Manual Installation: problems with trove-manage

2014-02-13 Thread Giuseppe Galeota
Dear all,
I'm trying to install manually TROVE on the controller node, by following this
http://docs.openstack.org/developer/trove/dev/manual_install.htmlunique
guide, in order to realize a production Openstack system.
 I would have some information about the steps of the installation.

1) Which user do I need use in order to install TROVE, root user or a
non-root user?



2)  Why is it necessary to run a virtual environment (virtualenv)? Is it
the right way in order to realize a production Openstack environment?



3) When I run the command:

(env)root@hostname:~#trove-manage
--config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
trove_test.sqlite mysql fake

I obtain this output:

(env)root@hostname:~# trove-manage
--config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
trove_test.sqlite mysql fake
usage: trove-manage [-h] [--config-dir DIR] [--config-file PATH] [--debug]
[--log-config-append PATH] [--log-date-format
DATE_FORMAT]
[--log-dir LOG_DIR] [--log-file PATH]
[--log-format FORMAT] [--nodebug] [--nouse-syslog]
[--noverbose] [--syslog-log-facility
SYSLOG_LOG_FACILITY]
[--use-syslog] [--verbose] [--version]


{db_sync,db_upgrade,db_downgrade,datastore_update,datastore_version_update,db_wipe}
...
trove-manage: error: unrecognized arguments: mysql fake

Furthermore, I obtain the trove-manage: error: unrecognized arguments:
image_update when I run the command:

(env)root@hostname:~# trove-manage
--config-file=/root/trove/etc/trove/trove.conf.sample image_update
mysql
`nova --os-username trove --os-password trove --os-tenant-name trove
--os-auth-url http://KeystoneIp:5000/v2.0 image-list | awk
'/trove-image/ {print $2}'`

Can you help me?

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


[Openstack] Fwd: [TROVE] Manual Installation: problems with trove-manage

2014-02-13 Thread Giuseppe Galeota
Hi Michael, Hi all,
I'm using this unique guide: 
http://docs.openstack.org/developer/trove/dev/manual_install.html;.

If you can give me an useful guide, I would be grateful!

 1) Which user do I need use in order to install TROVE, root user or a
 non-root user?

   Installation should be the same as other projects in OpenStack. If its
   not, we definitely have issues :)

  OK

 2)  Why is it necessary to run a virtual environment (virtualenv)? Is it
 the right way in order to realize a production Openstack environment?

  ? I have helped a few companies install trove, and i have _never_
run in
  a venv. Not saying you should/shouldnt, im just saying its not
  necessary. Im not sure where you got that.


OK


 3) When I run the command:

 (env)root@hostname:~#trove-manage
 --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
 trove_test.sqlite mysql fake

 I obtain this output:

 (env)root@hostname:~# trove-manage
 --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
 trove_test.sqlite mysql fake
 usage: trove-manage [-h] [--config-dir DIR] [--config-file PATH]
[--debug]
 [--log-config-append PATH] [--log-date-format
 DATE_FORMAT]
 [--log-dir LOG_DIR] [--log-file PATH]
 [--log-format FORMAT] [--nodebug] [--nouse-syslog]
 [--noverbose] [--syslog-log-facility
 SYSLOG_LOG_FACILITY]
 [--use-syslog] [--verbose] [--version]

{db_sync,db_upgrade,db_downgrade,datastore_update,datastore_version_update,db_wipe}
 ...
 trove-manage: error: unrecognized arguments: mysql fake

  Looks like you hit a bug :) Im not sure if anyone has run that via trove
manage before!!

 I have followed this unique guide (
http://docs.openstack.org/developer/trove/dev/manual_install.html), and
precisely this instructions:

   -

   Initialize the database:

   # trove-manage --config-file=PathToTroveConf db_wipe
trove_test.sqlite mysql fake



  where --config-file=/root/trove/etc/trove/trove.conf.sample

So:
 a) How should I inizialize the trove's database?

 b) Why the config files are under the
/root/trove/etc insted of /etc/trove/  ?


   However, if I run that command without *mysql fake*:

(env)root@hostname:~#
trove-manage --config-file=/root/trove/etc/trove/trove.conf.sample
db_wipe trove_test.sqlite

   it seems to work. In the trove's database, infact, I can see a
lot of tables.



 Furthermore, I obtain the trove-manage: error: unrecognized
arguments: image_update
 when I run the command:

 (env)root@hostname:~#
trove-manage --config-file=/root/trove/etc/trove/trove.conf.sample
image_update mysql `nova --os-username trove --os-password trove
--os-tenant-name trove --os-auth-url http://KeystoneIp:5000/v2.0
image-list | awk '/trove-image/ {print $2}'`



  I dont see image_update in the list of commands above. Im not sure
where
  you got image_update from, but i dont see it in the current
trove-manage
  code. If you got that from a wiki article, its crazy wrong!!

I have got image_update from the guide
http://docs.openstack.org/developer/trove/dev/manual_install.html , ed in
particular from the section:


   -

   Setup trove to use the uploaded image. Enter the following in a single
   line, note quotes (') and backquotes(`):

   # trove-manage
--config-file=/root/trove/etc/trove/trove.conf.sample image_update
mysql `nova --os-username trove --os-password trove
--os-tenant-name trove --os-auth-url http://KeystoneIp:5000/v2.0
image-list | awk '/trove-image/ {print $2}'`



  If u want synchronous help, find us in #openstack-trove.

  I will do it.

Can you help me with a more useful guide that makes trove working?

Thank you very much!
Giuseppe


2014-02-13 17:18 GMT+01:00 Michael Basnight mbasni...@gmail.com:

Giuseppe Galeota giuseppegale...@gmail.com writes:

  [...]
 
  1) Which user do I need use in order to install TROVE, root user or a
  non-root user?

 Installation should be the same as other projects in OpenStack. If its
 not, we definitely have issues :)

 
  2)  Why is it necessary to run a virtual environment (virtualenv)? Is it
  the right way in order to realize a production Openstack environment?

 ? I have helped a few companies install trove, and i have _never_ run in
 a venv. Not saying you should/shouldnt, im just saying its not
 necessary. Im not sure where you got that.

 
 
 
  3) When I run the command:
 
  (env)root@hostname:~#trove-manage
  --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
  trove_test.sqlite mysql fake
 
  I obtain this output:
 
  (env)root@hostname:~# trove-manage
  --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
  trove_test.sqlite mysql fake
  usage: trove-manage [-h] [--config-dir DIR] [--config-file PATH]
 [--debug]
  [--log

[Openstack] Fwd: [KEYSTONE] Keystone federation

2014-02-12 Thread Giuseppe Galeota
Dear all,

I would provide both PaaS and IaaS (Openstack)  services, with two keystone
services: one for the PaaS (Keystone PaaS) and the other one for the IaaS
(Keystone IaaS).

In particular, I would Openstack system appear as a PaaS service towards
PaaS's users, so that an user that authenticates against Keystone PaaS can
use Openstack services too.

So, I was thinking of using Keystones federation, so that:
1- PaaS's user authenticates against Keystone PaaS and receives a scoped
token.
2- PaaS's user invokes openstack services by using the scoped token
received from Keystone PaaS;
3- Openstack services validate the token against Keystone IaaS;
4- Keystone IaaS validate against Keystone PaaS

Do you think this scenario is possible? I would be appreciate any further
solutions you think I might implement.

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


[openstack-dev] [Openstack] [KEYSTONE] Keystone federation

2014-02-10 Thread Giuseppe Galeota
Dear all,

I would provide both PaaS and IaaS (Openstack)  services, with two keystone
services: one for the PaaS (Keystone PaaS) and the other one for the IaaS
(Keystone IaaS).

In particular, I would Openstack system appear as a PaaS service towards
PaaS's users, so that an user that authenticates against Keystone PaaS can
use Openstack services too.

So, I was thinking of using Keystones federation, so that:
1- PaaS's user authenticates against Keystone PaaS and receives a scoped
token.
2- PaaS's user invokes openstack services by using the scoped token
received from Keystone PaaS;
3- Openstack services validate the token against Keystone IaaS;
4- Keystone IaaS validate against Keystone PaaS

Do you think this scenario is possible? I would be appreciate any further
solutions you think I might implement.

Best regards,
Giuseppe
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[Openstack] [BARBICAN] Keystone Middleware

2014-01-20 Thread Giuseppe Galeota
Dear all,
I have installed a local Barbican server following
thishttps://github.com/cloudkeep/barbican/wiki/Barbican-Quick-Start-Guideguide.
All is OK.

I have configured Keystone for use with
Barbicanhttps://github.com/cloudkeep/barbican/wiki/Developer-Guide-for-Keystone,
installed a keystone service on the same VM in which Barbican runs, and ran
the keystone_data.sh file and edited the barbican-api-paste.ini e
barbican-admin-paste.ini.

So, I have obtained a scoped token from the local keystone, but the
following command have the same effect.

What is the correct workflow between the barbican and keystone middleware
service?

curl -H Accept: applicaton/json -H
X-Auth-Token:MIIEUQYJKoZIhvcNAQcCoIIEQj3PslNXBcZuRdLdrnvuZk=
http://localhost:9311

curl -H Accept: applicaton/json -H X-Auth-Token:blablabla
http://localhost:9311

curl -H Accept: applicaton/json http://localhost:9311
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] [Havana]Fail to launch instance

2013-12-24 Thread Giuseppe Galeota
Dear all,
I just finished to install Devstack as is, without any editing to the
localrc file.

If I try to create an instance (admin or demo user ) using the cirros_0.3.1
image, I receive the following error:

*Error: *Failed to launch instance Istance_Name: Please try again later
[Error: Remote error: ProcessExecutionError Unexpected error while running
command.
Command:
sudo nova-rootwrap /etc/nova/rootwrap.conf env
CONFIG_FILE=[/etc/nova/nova.conf]
NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file=
--pid-file=/opt/stac
].

So, I have tried to run the command:
sudo nova-rootwrap /etc/nova/rootwrap.conf env
CONFIG_FILE=[/etc/nova/nova.conf]
NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file=
--pid-file=/opt/stac

directly in the terminal, receiveing the followinf error:

*dnsmasq failed to create listening socket for 127.0.0.1 address already in
use*

How can I resolv this problem?

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


[openstack-dev] Fwd: [Openstack] [TROVE] - Difference between Backup and Snapshot

2013-11-11 Thread Giuseppe Galeota
FYI

-- Forwarded message --
From: Daniel Morris daniel.mor...@rackspace.com
Date: 2013/11/7
Subject: Re: [Openstack] [TROVE] - Difference between Backup and Snapshot
To: Giuseppe Galeota giuseppegale...@gmail.com


  Giuseppe,

 I recommend sending these questions on to the openstack-dev list.  This
may be why you are not seeing responses.   Someone from the Trove team
should jump in on that list give you a run down, and if not, I will do my
best to explain.  Per your first question, I believe it to be just a
terminology mismatch.  The system does backups and currently is implemented
using mysqldump and percona xtrabackup.  It is conceivable that someone
could create a backup type that does an actual volume snapshot, but that
capability has not been written yet.

 Thanks,
Daniel


  From: Giuseppe Galeota giuseppegale...@gmail.com
Date: Wednesday, November 6, 2013 3:05 AM
To: openst...@lists.openstack.org openst...@lists.openstack.org
Subject: Re: [Openstack] [TROVE] - Difference between Backup and Snapshot

  Can you give me a simple workflow that explains the process of a
backup/snapshot?

 Thanks,
Giuseppe


2013/11/6 Giuseppe Galeota giuseppegale...@gmail.com

 Dear all,
 what is the difference between Snapshot and Backup in the context of Trove
 (o Redwwarf) database backups that I see 
 herehttps://wiki.openstack.org/wiki/Trove/snapshot-design
 ?

  Is it maybe the following:
 - backup = copy of volume in which data are stored;
 - snapshot = copy of volume plus virtual machine used to host the engine?

  Are they the same concept?

  Thanks,
 Giuseppe

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Openstack] [Trove] Backups Amazon like

2013-11-11 Thread Giuseppe Galeota
Dear all,
the Relational Database service for Amazon talk about:

   - Automated Backups – Turned on by default, the automated backup feature
   of Amazon RDS enables point-in-time recovery for your DB Instance. Amazon
   RDS will backup your database and transaction logs and store both for a
   user-specified retention period. This allows you to restore your DB
   Instance to any second during your retention period, up to the last five
   minutes. Your automatic backup retention period can be configured to up to
   thirty five days.


   - DB Snapshots – DB Snapshots are user-initiated backups of your DB
   Instance. These full database backups will be stored by Amazon RDS until
   you explicitly delete them. You can create a new DB Instance from a DB
   Snapshot whenever you desire.


Does it exist a Trove project for Automated backups?

Many thanks,
Giuseppe
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[Openstack] [Trove] Backups Amazon like

2013-11-11 Thread Giuseppe Galeota
Dear all,
the Relational Database service for Amazon talk about:

   - Automated Backups – Turned on by default, the automated backup feature
   of Amazon RDS enables point-in-time recovery for your DB Instance. Amazon
   RDS will backup your database and transaction logs and store both for a
   user-specified retention period. This allows you to restore your DB
   Instance to any second during your retention period, up to the last five
   minutes. Your automatic backup retention period can be configured to up to
   thirty five days.


   - DB Snapshots – DB Snapshots are user-initiated backups of your DB
   Instance. These full database backups will be stored by Amazon RDS until
   you explicitly delete them. You can create a new DB Instance from a DB
   Snapshot whenever you desire.


Does it exist a Trove project for Automated backups?

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


Re: [Openstack] [TROVE] - Difference between Backup and Snapshot

2013-11-11 Thread Giuseppe Galeota
Dear all,
The system does backups and currently is implemented using mysqldump and
percona xtrabackup.

A backup snapshot[1] is a copy of the database data that is stored on the
volume or locally on the instance and backed up to swift at a point in time.

I have a follow-up question to this.

If I delete the database instace (e.g. the virtual machine - in which there
is the engine MySQL and the Trove's Guest Agent - and the volume attached)
by accident, how can I restore that instance even if I have a backup of the
database?

Thanks,
Giuseppe


2013/11/8 Craig Vyvial cp16...@gmail.com

 A snapshot and backup are basically analogous terms in trove.

 A backup snapshot[1] is a copy of the database data that is stored on the
 volume or locally on the instance and backed up to swift at a point in time.
 Trove stores the location of the backup so that a user can restore a
 database to a new instance.

 There is another blueprint to support incremental backups.[2] Which will
 allow point in time restore/recovery of data.

 Hope this helps.

 [1] https://blueprints.launchpad.net/trove/+spec/consistent-snapshots
 [2] https://blueprints.launchpad.net/trove/+spec/incremental-backups



 On Wed, Nov 6, 2013 at 3:05 AM, Giuseppe Galeota 
 giuseppegale...@gmail.com wrote:

 Can you give me a simple workflow that explains the process of a
 backup/snapshot?

 Thanks,
 Giuseppe


 2013/11/6 Giuseppe Galeota giuseppegale...@gmail.com

 Dear all,
 what is the difference between Snapshot and Backup in the context of
 Trove (o Redwwarf) database backups that I see 
 herehttps://wiki.openstack.org/wiki/Trove/snapshot-design
 ?

 Is it maybe the following:
 - backup = copy of volume in which data are stored;
 - snapshot = copy of volume plus virtual machine used to host the engine?

 Are they the same concept?

 Thanks,
 Giuseppe



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



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


[Openstack] [TROVE] - Difference between Backup and Snapshot

2013-11-06 Thread Giuseppe Galeota
Dear all,
what is the difference between Snapshot and Backup in the context of Trove
(o Redwwarf) database backups that I see
herehttps://wiki.openstack.org/wiki/Trove/snapshot-design
?

Is it maybe the following:
- backup = copy of volume in which data are stored;
- snapshot = copy of volume plus virtual machine used to host the engine?

Are they the same concept?

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


[openstack-dev] Fwd: [Openstack][TROVE] - MongoDB as a Service

2013-09-30 Thread Giuseppe Galeota
Dear Illia, dear all,

I work at Santer Reply S.p.A. (Reply s.p.a. group) on the
*PRISMAhttp://www.ponrec.it/media/140119/20121005_progetto_prisma_slide_master_v04.pdf
* project (Interoperable cloud platforms for smart-government). PRISMA is
supported by *Italian Government and European Union*, and it aims to
develop an *Open Source* cloud computing system to provide services on both
IaaS and PaaS level, in order to realize a Smart Community between
citizens, Governments and Health agencies.

For our project, we have chosen *Openstack*. Furthermore, we want a
Database as a Service (DBaaS) in order to provide both *relational and
non-relational* database instances. So we have joined the *Trove* project.

Regarding non-relational database, we need that the DBaaS provides
*MongoDB*instances. I have noticed that
herehttps://blueprints.launchpad.net/trove/+spec/single-instance-mongodb-gathere
is an initial project.


1)   How can I contribute to the develop of that project? Is there some
initial source code?


2) Are there other active projects on MongoDB that I can install and
test on the Openstack platform?


Regards.


Giuseppe Galeota
Bari - ITALY
g.gale...@reply.it
www.reply.it  http://www.reply.it

giuseppegale...@gmail.com
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[Openstack] [TROVE] - Backup Design

2013-09-18 Thread Giuseppe Galeota
Dear all,
can you give me more informations about the status of the Backup
Designhttps://wiki.openstack.org/wiki/Trove/snapshot-designproject?
Is it an active project or only a proof-of-concept?

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


[Openstack] [Trove] - Clustering capabilities

2013-09-18 Thread Giuseppe Galeota
Dear all,
I would use TROVE in order to implement database clustering, even only on
MySQL DBMS. How can I do this? I have not found any documentation or active
projects about this.


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


Re: [openstack-dev] [Openstack] [TROVE] database instance creation

2013-09-09 Thread Giuseppe Galeota
Dear all,
reading the TROVE's
Dochttp://docs.openstack.org/developer/trove/dev/design.html
 I see that The trove-taskmanager service does the heavy lifting as far as
provisioning instances, managing the lifecycle of instances, and performing
operations on the *Database instance*.

So, once an instance was created, how does an application deployed in the
cloud platform (IaaS or PaaS level) perform CRUD operation on that database
instance? Maybe, does the trove-taskmanager release an endpoint on which
create a DBMS connection?

Giuseppe


2013/9/9 Daniel Salinas imsplit...@gmail.com

 Trove allows you to deploy a single vm with 1 server instance of whichever
 service supported.  So for example, if you were to deploy a mysql instance,
 you would have 1 vm with 1 mysql instance running on it.  You can put as
 many databases on that one server instance as you would like with as many
 database users as you would like.


 On Mon, Sep 9, 2013 at 9:21 AM, Giuseppe Galeota 
 giuseppegale...@gmail.com wrote:

 Dear all,
 reading the TROVE's 
 Dochttp://docs.openstack.org/developer/trove/dev/design.htmlI see that 
 Trove is designed to support a single-tenant database within a
 Nova instance.

 What does means this?

 Does it mean that Trove creates a single VM instance in which a single
 database instance is created?

 Does it mean that Trove creates a single VM instance in which a more
 database instances of a single tenant are created ?

 Thank you,
 Giuseppe

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



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Openstack] [TROVE] database instance creation

2013-09-09 Thread Giuseppe Galeota
So, I think that Trove is designed to support a *single-tenant *database
within a Nova instance is a misleading definition. What do you think?

Giuseppe


2013/9/9 Daniel Salinas imsplit...@gmail.com

 Trove allows you to deploy a single vm with 1 server instance of whichever
 service supported.  So for example, if you were to deploy a mysql instance,
 you would have 1 vm with 1 mysql instance running on it.  You can put as
 many databases on that one server instance as you would like with as many
 database users as you would like.


 On Mon, Sep 9, 2013 at 9:21 AM, Giuseppe Galeota 
 giuseppegale...@gmail.com wrote:

 Dear all,
 reading the TROVE's 
 Dochttp://docs.openstack.org/developer/trove/dev/design.htmlI see that 
 Trove is designed to support a single-tenant database within a
 Nova instance.

 What does means this?

 Does it mean that Trove creates a single VM instance in which a single
 database instance is created?

 Does it mean that Trove creates a single VM instance in which a more
 database instances of a single tenant are created ?

 Thank you,
 Giuseppe

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



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Trove]

2013-09-06 Thread Giuseppe Galeota
Dear all,
I think that there is a poor documentation about Trove architecture and
operation.

1) Can you link me a guide to the Trove architecture, in order to better
understand how databases instances are created by Trove's components?

Thank you very much,
Giuseppe
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Trove] Poor documentation about Trove architecture and operation.

2013-09-06 Thread Giuseppe Galeota
Hi Michael,
I am very grateful to you. I can't wait to see your documentation about
Trove/Reddwarf!


Giuseppe.

2013/9/6 Michael Basnight mbasni...@gmail.com

 On Sep 6, 2013, at 8:30 AM, Giuseppe Galeota giuseppegale...@gmail.com
 wrote:

 Dear all,
 I think that there is a poor documentation about Trove architecture and
 operation.


 Thanks for your interest in trove. I agree. As ptl I will devote time (now
 that the h3 madness has slowed for us) to doc'ing better information for
 you.


 1) Can you link me a guide to the Trove architecture, in order to better
 understand how databases instances are created by Trove's components?


 Give me a bit, I'm pretty sure we had some reddwarf (pre rename) docs
 somewhere on the wiki. Ill try to find/reorg them today.


 Thank you very much,
 Giuseppe

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Trove] Modify source code for Postgres engine

2013-09-06 Thread Giuseppe Galeota
Dear all,
this is a technical question. I would try to modify the source code of
Trove in order to create databases instances using Postgres engine. I think
that it is necessary to modify the create method in the
InstanceController class. Is it right? What other things should I modify?

Thank you very much.
Giuseppe
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[Openstack] [Trove]

2013-09-06 Thread Giuseppe Galeota
Dear all,
I think that there is a poor documentation about Trove architecture and
operation.

1) Can you link me a guide to the Trove architecture, in order to better
understand how databases instances are created by Trove's components?

Thank you very much,
Giuseppe
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [openstack-dev] [Trove] Poor documentation about Trove architecture and operation.

2013-09-06 Thread Giuseppe Galeota
Hi Michael,
I am very grateful to you. I can't wait to see your documentation about
Trove/Reddwarf!


Giuseppe.

2013/9/6 Michael Basnight mbasni...@gmail.com

 On Sep 6, 2013, at 8:30 AM, Giuseppe Galeota giuseppegale...@gmail.com
 wrote:

 Dear all,
 I think that there is a poor documentation about Trove architecture and
 operation.


 Thanks for your interest in trove. I agree. As ptl I will devote time (now
 that the h3 madness has slowed for us) to doc'ing better information for
 you.


 1) Can you link me a guide to the Trove architecture, in order to better
 understand how databases instances are created by Trove's components?


 Give me a bit, I'm pretty sure we had some reddwarf (pre rename) docs
 somewhere on the wiki. Ill try to find/reorg them today.


 Thank you very much,
 Giuseppe

 ___
 OpenStack-dev mailing list
 openstack-...@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 openstack-...@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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


[Openstack] Informations aboute Trove

2013-09-04 Thread Giuseppe Galeota
Dear all,
I am a developer interested to the Databases as a Service, and in
particular for creation of relational and non-relational databases. So I
joined the Trove project (
https://wiki.openstack.org/wiki/Trove#Mission_Statement).

Using the latest release of Openstack and Trove, it seems that I can't
create either a non-relational database or a relational database using
another engine (eg, Postgres) .

1) Is there a mailing list relate to the Trove project in which I can
forward questions about it? For example, I would modify the source code in
order to allow the use of others engine.

2) When the Trove project will be inserted into the new releas of Openstack?

Thank you very much.
Giuiseppe
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack