Re: [Openstack] How to deploy OpenStack on thousands of nodes?

2013-06-26 Thread Brent Roskos
Kylin,

I think there is some confusion as to the term broadcast.  Many of the
Rabbit docs describe the delivery of a message from one publisher to
multiple subscribers as a 'broadcast'.  This is not to be confused with a
network broadcast where traffic is sent over the network broadcast address.
 Rabbit uses tcp and a publisher/subscriber model - even in more complex
configurations where there are multiple publishers (think cluster).

I have personally implemented large openstack compute clouds that had many
hypervisors, each on individual subnets and a rabbit server on yet another
subnet and all message traffic worked as expected.  There were no actual
network broadcasts to worry about.

In my previous message I had assumed that you were actually in the process
of implementation and were running into problems.  It now seems that is not
the case - you are in a review or planning period.  However - as I noted
above the openstack queues on rabbit will work in a distributed network
configuration as long as all of the subscribers can reach the rabbit server
on tcp/5672.  I've personally done it and not had an issue.

Brent


On Tue, Jun 25, 2013 at 9:40 PM, Sg Kylin kylin7...@gmail.com wrote:

 Hi Brent,

 Thanks for your reply! But we are afraid that Rabbitmq needs broadcast to
 work correctly and usually broadcast is not available in cross-subnets
 deployments. That is what we are worrying about...

 Best,

 Kylin CG




 2013/6/26 Brent Roskos brent.ros...@solinea.com

 By default rabbit uses tcp port 5672 for communication.. tcp can
 certainly cross subnet boundaries and be routed without issue.

   I suggest you do some network troubleshooting; ping your rabbit server
 then telnet to port 5672 on the rabbit server from hosts on the other
 subnets.

 Check your router acls and local host firewalls.  Check to make sure that
 your rabbit server has a route to get back to the other subnets with the
 reply.

 Dual homed hosts with one local connection and one Internet connection
 will need specific routes added to allow them to reach other local subnets
 since you wouldn't want that traffic to try to traverse the default route
 which points out to the Internet.  This is true even if you are using
 virtual interfaces with vlans instead of separate physical interfaces.

 Regards,
 Brent


 On Tue, Jun 25, 2013 at 6:10 AM, Sg Kylin kylin7...@gmail.com wrote:

 Hi All,

 We are currently trying to deploy OpenStack on thousands of nodes. We
 are using Grizzly stable version and Ubuntu 12.04.2. However, the big
 problem we meet now is the network topology. If we want to use HA
 (haproxy + keepalived) for the controller nodes on which *-apis are
 running as well as network nodes which are deployed across different
 VLANs (VLANs can reach each other by setting gateways), e.g
 10.1.0.0/16 and 10.2.0.0/16, HA would not work correctly. Also we
 found that rabbitmq could not work when nova-* services were deployed
 across different subnets.

 Thus, we want to know whether HA and rabbitmq can be used across
 subnets? If it not true, we can only deploy them in a single flat
 layer 2 net, which seems unfeasible in real-world because of
 broadcast storms...

 Best,

 Kylin CG

 ___
 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 deploy OpenStack on thousands of nodes?

2013-06-26 Thread Brent Roskos
Kylin,

I've previously used ECMP to balance traffic to Openstack components that
scale laterally like nova-api.  This was fairly easy to set up and worked
well for what we needed where state was not needed.

I've also used keepalived for services that did not scale laterally.  In
this case I put two horizon servers behind an active/passive virtual IP.
 This was also pretty simple as there was no need to maintain state
information in for active passive. That wouldn't work quite as well when
capacity thresholds started to become a concern.

Neither of the above required multicast support - which really helps with
deployment options.

Support for Rabbit and persistent queues in Openstack has gotten much
better, making a highly available rabbit configuration at least possible.
 I've not done much with this myself, beyond basic active/passive.  I've
worked with one particular implementation that used ZeroMQ to handle
messaging with no single point of failure.  ZMQ is peer to peer with no
central message server.  This works - but can be problematic for some of
the less mature Openstack products, like Ceilometer which doesn't have full
ZMQ support yet.




On Wed, Jun 26, 2013 at 9:00 AM, Sg Kylin kylin7...@gmail.com wrote:

 Hi Brent,

 Thanks very much for your sharing of your experience. I want to clarify
 that we are indeed trying to deploy OpenStack on thousands of nodes. The
 first block we met was keepalived based HA which needs multicast. Thus we
 are reviewing our network topology design again. At the same time we knew
 from the docs of rabbmit needs broadcast. And in the first try we made a
 wrong configuration for rabbitmq thus it did not work. We will have a
 detailed test on both of that.

 Best,

 Kylin CG


 2013/6/26 Brent Roskos brent.ros...@solinea.com

 Kylin,

 I think there is some confusion as to the term broadcast.  Many of the
 Rabbit docs describe the delivery of a message from one publisher to
 multiple subscribers as a 'broadcast'.  This is not to be confused with a
 network broadcast where traffic is sent over the network broadcast address.
  Rabbit uses tcp and a publisher/subscriber model - even in more complex
 configurations where there are multiple publishers (think cluster).

 I have personally implemented large openstack compute clouds that had
 many hypervisors, each on individual subnets and a rabbit server on yet
 another subnet and all message traffic worked as expected.  There were no
 actual network broadcasts to worry about.

 In my previous message I had assumed that you were actually in the
 process of implementation and were running into problems.  It now seems
 that is not the case - you are in a review or planning period.  However -
 as I noted above the openstack queues on rabbit will work in a distributed
 network configuration as long as all of the subscribers can reach the
 rabbit server on tcp/5672.  I've personally done it and not had an issue.

 Brent


 On Tue, Jun 25, 2013 at 9:40 PM, Sg Kylin kylin7...@gmail.com wrote:

 Hi Brent,

 Thanks for your reply! But we are afraid that Rabbitmq needs broadcast
 to work correctly and usually broadcast is not available in cross-subnets
 deployments. That is what we are worrying about...

 Best,

 Kylin CG




 2013/6/26 Brent Roskos brent.ros...@solinea.com

 By default rabbit uses tcp port 5672 for communication.. tcp can
 certainly cross subnet boundaries and be routed without issue.

   I suggest you do some network troubleshooting; ping your rabbit
 server then telnet to port 5672 on the rabbit server from hosts on the
 other subnets.

 Check your router acls and local host firewalls.  Check to make sure
 that your rabbit server has a route to get back to the other subnets with
 the reply.

 Dual homed hosts with one local connection and one Internet connection
 will need specific routes added to allow them to reach other local subnets
 since you wouldn't want that traffic to try to traverse the default route
 which points out to the Internet.  This is true even if you are using
 virtual interfaces with vlans instead of separate physical interfaces.

 Regards,
 Brent


 On Tue, Jun 25, 2013 at 6:10 AM, Sg Kylin kylin7...@gmail.com wrote:

 Hi All,

 We are currently trying to deploy OpenStack on thousands of nodes. We
 are using Grizzly stable version and Ubuntu 12.04.2. However, the big
 problem we meet now is the network topology. If we want to use HA
 (haproxy + keepalived) for the controller nodes on which *-apis are
 running as well as network nodes which are deployed across different
 VLANs (VLANs can reach each other by setting gateways), e.g
 10.1.0.0/16 and 10.2.0.0/16, HA would not work correctly. Also we
 found that rabbitmq could not work when nova-* services were deployed
 across different subnets.

 Thus, we want to know whether HA and rabbitmq can be used across
 subnets? If it not true, we can only deploy them in a single flat
 layer 2 net, which seems unfeasible in real-world because

Re: [Openstack] [openstack-dev] How to deploy OpenStack on thousands of nodes?

2013-06-26 Thread Brent Roskos
I stand corrected.  Mostly confused since the keepalived didn't actually
need addresses in the multicast IP range.  It does use it - as I can see
with ifconfig.  We minimized the  impact of this by creating a small subnet
that just had the switch address, host addresses and vrrp address in it.
 All the chatter was contained within that block.

We avoided pacemaker in this particular instance because the keepalived
setup and configuration was so very simple - only a couple of lines in a
config file, and because we didn't need any of the other available HA
features.

Brent


On Wed, Jun 26, 2013 at 10:03 AM, Jesse Pretorius jesse.pretor...@gmail.com
 wrote:

 On 26 June 2013 15:42, Brent Roskos brent.ros...@solinea.com wrote:

 I've also used keepalived for services that did not scale laterally.  In
 this case I put two horizon servers behind an active/passive virtual IP.
  This was also pretty simple as there was no need to maintain state
 information in for active passive. That wouldn't work quite as well when
 capacity thresholds started to become a concern.

 Neither of the above required multicast support - which really helps with
 deployment options.


 *ahem* keepalived most definitely requires multicast support for its
 vrrp... and it's quite noisy. If there's a way to make it use unicast
 instead, I'd definitely like to know.

 corosync  pacemaker can do a virtual IP failover between as many nodes as
 you like using unicast instead of multicast.

 ___
 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 API to get VMs belonging to other users / tenants

2013-06-25 Thread Brent Roskos
No - you need a token with admin creds for that (user must have admin role
in keystone).
Once you have the correct creds, you can use the nova cli:

nova list  --all-tenants

If you wanted to see how this looks in the raw API, just pass the debug
flag in the cli and it will show you the correct post.

Brent


On Tue, Jun 25, 2013 at 11:59 AM, Narayanan, Krishnaprasad 
naray...@uni-mainz.de wrote:

  Hallo All,

 ** **

 Is it possible using the Nova API for a normal user / tenant to get all
 VMs belonging to other users / tenants?

 ** **

 If yes, can I get to know how to achieve this? 

 ** **

 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] How to deploy OpenStack on thousands of nodes?

2013-06-25 Thread Brent Roskos
I'll speak to your rabbit question:

By default rabbit uses tcp port 5672 for communication.. tcp can certainly
cross subnet boundaries and be routed without issue.

  I suggest you do some network troubleshooting; ping your rabbit server
then telnet to port 5672 on the rabbit server from hosts on the other
subnets.

Check your router acls and local host firewalls.  Check to make sure that
your rabbit server has a route to get back to the other subnets with the
reply.

Dual homed hosts with one local connection and one Internet connection will
need specific routes added to allow them to reach other local subnets since
you wouldn't want that traffic to try to traverse the default route which
points out to the Internet.  This is true even if you are using virtual
interfaces with vlans instead of separate physical interfaces.

Regards,
Brent


On Tue, Jun 25, 2013 at 6:10 AM, Sg Kylin kylin7...@gmail.com wrote:

 Hi All,

 We are currently trying to deploy OpenStack on thousands of nodes. We
 are using Grizzly stable version and Ubuntu 12.04.2. However, the big
 problem we meet now is the network topology. If we want to use HA
 (haproxy + keepalived) for the controller nodes on which *-apis are
 running as well as network nodes which are deployed across different
 VLANs (VLANs can reach each other by setting gateways), e.g
 10.1.0.0/16 and 10.2.0.0/16, HA would not work correctly. Also we
 found that rabbitmq could not work when nova-* services were deployed
 across different subnets.

 Thus, we want to know whether HA and rabbitmq can be used across
 subnets? If it not true, we can only deploy them in a single flat
 layer 2 net, which seems unfeasible in real-world because of
 broadcast storms...

 Best,

 Kylin CG

 ___
 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] [Swift] Load Average node storage

2013-06-25 Thread Brent Roskos
I wouldn't think 3 replica's across 1 zone is a viable configuration.
 Given you are starting with 4 servers, you should really have 4 zones.
 Then all 3 copies of an object can still go somewhere even when aone
server is down.

When you add more servers, just add them in groups of 4 to keep it simple
and drop a new one in each of the 4 zones.

Brent


On Mon, Jun 24, 2013 at 2:42 AM, Robert van Leeuwen 
robert.vanleeu...@spilgames.com wrote:

load average: 24.06, 24.02, 24.00

  There is something, can i do to reduce the load?
  is it normal?

 I guess it depends on what is causing the load. (are there processes
 eating all cpu cycles?)

 What we see is that the object-auditor and object-replicator can cause
 quite a bit of load because they are crawling the filesystems and waiting
 for IO.
 You can try to turn these off for a while to see if the load is caused by
 them.

  and  why is there a node storage with load 0 and 0 cpu?
 Is it properly configured in the ring files? (as in: does it have files on
 its filesystems)
 Are the object-auditor and replicator running?

 Cheers,
 Robert van Leeuwen

 ___
 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 deploy OpenStack on thousands of nodes?

2013-06-25 Thread Brent Roskos
By default rabbit uses tcp port 5672 for communication.. tcp can certainly
cross subnet boundaries and be routed without issue.

  I suggest you do some network troubleshooting; ping your rabbit server
then telnet to port 5672 on the rabbit server from hosts on the other
subnets.

Check your router acls and local host firewalls.  Check to make sure that
your rabbit server has a route to get back to the other subnets with the
reply.

Dual homed hosts with one local connection and one Internet connection will
need specific routes added to allow them to reach other local subnets since
you wouldn't want that traffic to try to traverse the default route which
points out to the Internet.  This is true even if you are using virtual
interfaces with vlans instead of separate physical interfaces.

Regards,
Brent


On Tue, Jun 25, 2013 at 6:10 AM, Sg Kylin kylin7...@gmail.com wrote:

 Hi All,

 We are currently trying to deploy OpenStack on thousands of nodes. We
 are using Grizzly stable version and Ubuntu 12.04.2. However, the big
 problem we meet now is the network topology. If we want to use HA
 (haproxy + keepalived) for the controller nodes on which *-apis are
 running as well as network nodes which are deployed across different
 VLANs (VLANs can reach each other by setting gateways), e.g
 10.1.0.0/16 and 10.2.0.0/16, HA would not work correctly. Also we
 found that rabbitmq could not work when nova-* services were deployed
 across different subnets.

 Thus, we want to know whether HA and rabbitmq can be used across
 subnets? If it not true, we can only deploy them in a single flat
 layer 2 net, which seems unfeasible in real-world because of
 broadcast storms...

 Best,

 Kylin CG

 ___
 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 query ceilometer to get nova-specific data

2013-06-20 Thread Brent Roskos
Jobin,

Please ensure that the token you are using was obtained with a user having
the admin role.

Regards,
Brent


On Thu, Jun 20, 2013 at 7:29 AM, Jobin Raju George jobin...@gmail.comwrote:

 Thanks Claudio for your detailed explanation, but the query returns me an
 empty list: [] Is something wrong with my nova-* or ceilometer-*?


 On Thu, Jun 20, 2013 at 4:53 PM, claudio marques clau...@onesource.ptwrote:

 Hi

 Well, i am also trying to decode all the meters that ceilometer can
 return, and how to do most of the queries, but, to query some specific
 data, what I am doing is:
 Firs get the resource id number and then query using parameters in the
 curl command.

 This is what I already tested:
 Get the resource id from what you want to query ceilometer

 *$ curl -X GET -H 'X-Auth-Token:my_token_here' 
 http://localhost:8777/v2/resources **| python -mjson.tool**   *

 And then query with:

 *$curl -X GET -H 'X-Auth-Token:my_token_here' http://localhost:8777/v2/
 meters/cpu?q.field=resource_idq.value=resource_id_here | python
 -mjson.tool*

 Remember that option q is to filter rules for the resources to be
 returned, and try to use *python mjson.tool,* just for having something
 legible in your terminal.

 Good luck :)

 Cláudio Marques

 clau...@onesource.pt
 http://www.onesource.pt/

 --
 Date: Thu, 20 Jun 2013 16:03:00 +0530
 From: jobin...@gmail.com
 To: clau...@onesource.pt
 CC: openstack@lists.launchpad.net
 Subject: Re: [Openstack] How to query ceilometer to get nova-specific data


 Hey, Claudio!

 The command I executed is the second command in the page that you 
 gavehttp://docs.openstack.org/developer/ceilometer/webapi/v2.html(which
 is also the one I am referring to). Can you please pin-point what is the
 mistake in the command or counsel what is the right one to get
 nova-specific data? By the way, I replaced resource_id with the actual ID
 of the resource I wanted.


 On Thu, Jun 20, 2013 at 3:50 PM, claudio marques clau...@onesource.ptwrote:

 Hi Jobin

 I think that your Curl command is not right. Look into this page for more
 info about meters from ceilometer.


 http://docs.openstack.org/developer/ceilometer/webapi/v2.html#ceilometer.api.controllers.v2.Statistics.max

 Cheers

 --
 Date: Thu, 20 Jun 2013 15:19:44 +0530
 From: jobin...@gmail.com
 To: openstack@lists.launchpad.net
 Subject: [Openstack] How to query ceilometer to get nova-specific data


 Hey, all!


 I installed ceilometer on Ubuntu 12.04 using the manual installation
 guide given 
 herehttp://docs.openstack.org/developer/ceilometer/install/manual.html.
 However, I am having trouble getting data from it. When I do a ceilometer
 meter-list, all I get is a table with 4 rows with the names: image and
 image.size and its parameters; no CPU, vCPU and memory.

 When I query using curl, I get some data regarding images installed and
 their sizes and ID and date of creation, etc.; no nova-specific data. This
 is how I query ceilometer using curl:

 curl -X GET -H 'X-Auth-Token:my_token_here' 
 http://localhost:8777/v2/resources/resource_id;

 This returns a 404 Not Found error.

 These are my primary concerns:

 1) How do I query to get the CPU resources utilized by my virtual
 machines?

 2) How do I decide on which port I have to pass this query? There are
 some documents which have v1 instead of v2 in the URL, I would like to
 have clarification on that too.

 Thanks for your patience.

 --





 Thanks and regards,
 Jobin Raju George
 Third Year, Information Technology
 College of Engineering Pune
 Alternate e-mail: georgejr10...@coep.ac.in






 ___ Mailing list:
 https://launchpad.net/~openstack Post to : 
 openstack@lists.launchpad.netUnsubscribe :
 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




 --

 Thanks and regards,

 Jobin Raju George

 Third Year, Information Technology

 College of Engineering Pune

 Alternate e-mail: georgejr10...@coep.ac.in






 ___ Mailing list:
 https://launchpad.net/~openstack Post to : 
 openstack@lists.launchpad.netUnsubscribe :
 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




 --

 Thanks and regards,

 Jobin Raju George

 Third Year, Information Technology

 College of Engineering Pune

 Alternate e-mail: georgejr10...@coep.ac.in


 ___
 Mailing 

Re: [Openstack] Swift cleaning tenant after deletion on Keystone

2013-06-20 Thread Brent Roskos
The account-reaper generally takes care of this.  Have you seen this?

http://docs.openstack.org/developer/swift/overview_reaper.html


Regards,
Brent


On Thu, Jun 20, 2013 at 6:06 AM, Heiko Krämer i...@honeybutcher.de wrote:

  Hey Hugo,

 ok, thx for your quick answer!

 Greetings
 Heiko


 On 20.06.2013 11:56, Kuo Hugo wrote:

 Hi Heiko,

  All objects won't be deleted if the tenant been deleted in Keystone.

  Hugo

  +Hugo Kuo+
 h...@swiftstack.com
  tonyt...@gmail.com
  +886 935004793



 ___
 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 query ceilometer to get nova-specific data

2013-06-20 Thread Brent Roskos
Ok - good, sometimes that trips folks up.  I think most of the instance
specific data, like CPU is accumulated by the ceilometer-agent-compute  is
this running properly on your compute node(s)?  Anything interesting in the
logs for that service on the compute node(s)?

Brent


On Thu, Jun 20, 2013 at 8:17 AM, Jobin Raju George jobin...@gmail.comwrote:

 Hey, Brent!

 Yes, I am using admin as the user for querying and keystone user-role-listhas 
 admin as one of its roles.


 On Thu, Jun 20, 2013 at 5:16 PM, Brent Roskos brent.ros...@solinea.comwrote:

 Jobin,

 Please ensure that the token you are using was obtained with a user
 having the admin role.

 Regards,
 Brent


 On Thu, Jun 20, 2013 at 7:29 AM, Jobin Raju George jobin...@gmail.comwrote:

 Thanks Claudio for your detailed explanation, but the query returns me
 an empty list: [] Is something wrong with my nova-* or ceilometer-*?


 On Thu, Jun 20, 2013 at 4:53 PM, claudio marques 
 clau...@onesource.ptwrote:

 Hi

 Well, i am also trying to decode all the meters that ceilometer can
 return, and how to do most of the queries, but, to query some specific
 data, what I am doing is:
 Firs get the resource id number and then query using parameters in the
 curl command.

 This is what I already tested:
 Get the resource id from what you want to query ceilometer

 *$ curl -X GET -H 'X-Auth-Token:my_token_here' 
 http://localhost:8777/v2/resources **| python -mjson.tool**   *

 And then query with:

 *$curl -X GET -H 'X-Auth-Token:my_token_here' 
 http://localhost:8777/v2/
 meters/cpu?q.field=resource_idq.value=resource_id_here | python
 -mjson.tool*

 Remember that option q is to filter rules for the resources to be
 returned, and try to use *python mjson.tool,* just for having
 something legible in your terminal.

 Good luck :)

 Cláudio Marques

 clau...@onesource.pt
 http://www.onesource.pt/

 --
 Date: Thu, 20 Jun 2013 16:03:00 +0530
 From: jobin...@gmail.com
 To: clau...@onesource.pt
 CC: openstack@lists.launchpad.net
 Subject: Re: [Openstack] How to query ceilometer to get nova-specific
 data


 Hey, Claudio!

 The command I executed is the second command in the page that you 
 gavehttp://docs.openstack.org/developer/ceilometer/webapi/v2.html(which
 is also the one I am referring to). Can you please pin-point what is the
 mistake in the command or counsel what is the right one to get
 nova-specific data? By the way, I replaced resource_id with the actual ID
 of the resource I wanted.


 On Thu, Jun 20, 2013 at 3:50 PM, claudio marques 
 clau...@onesource.ptwrote:

 Hi Jobin

 I think that your Curl command is not right. Look into this page for
 more info about meters from ceilometer.


 http://docs.openstack.org/developer/ceilometer/webapi/v2.html#ceilometer.api.controllers.v2.Statistics.max

 Cheers

 --
 Date: Thu, 20 Jun 2013 15:19:44 +0530
 From: jobin...@gmail.com
 To: openstack@lists.launchpad.net
 Subject: [Openstack] How to query ceilometer to get nova-specific data


 Hey, all!


 I installed ceilometer on Ubuntu 12.04 using the manual installation
 guide given 
 herehttp://docs.openstack.org/developer/ceilometer/install/manual.html.
 However, I am having trouble getting data from it. When I do a ceilometer
 meter-list, all I get is a table with 4 rows with the names: image and
 image.size and its parameters; no CPU, vCPU and memory.

 When I query using curl, I get some data regarding images installed and
 their sizes and ID and date of creation, etc.; no nova-specific data. This
 is how I query ceilometer using curl:

 curl -X GET -H 'X-Auth-Token:my_token_here' 
 http://localhost:8777/v2/resources/resource_id;

 This returns a 404 Not Found error.

 These are my primary concerns:

 1) How do I query to get the CPU resources utilized by my virtual
 machines?

 2) How do I decide on which port I have to pass this query? There are
 some documents which have v1 instead of v2 in the URL, I would like to
 have clarification on that too.

 Thanks for your patience.

 --





 Thanks and regards,
 Jobin Raju George
 Third Year, Information Technology
 College of Engineering Pune
 Alternate e-mail: georgejr10...@coep.ac.in






 ___ 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




 --

 Thanks and regards,

 Jobin Raju George

 Third Year, Information Technology

 College of Engineering Pune

 Alternate e-mail: georgejr10...@coep.ac.in






 ___ Mailing list:
 https://launchpad.net/~openstack Post to :
 openstack

Re: [Openstack] Problem to find/start openstack services

2013-01-29 Thread Brent Roskos
Isn't rejoin-stack devstack?  If you are running devstack, use:  screen -x
(as the user you are running stack.sh or rejoin-stack from).

then you can use ctrl-a n  to page through the screens

http://ss64.com/bash/screen.html

Regards,
Brent


On Tue, Jan 29, 2013 at 3:53 PM, JuanFra Rodriguez Cardoso 
juanfra.rodriguez.card...@gmail.com wrote:

 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




-- 
*Brent Roskos* / Senior Cloud Architect
Cloud Technology Partners / www.cloudtp.com
678.744.3623 / brent.ros...@cloudtp.com

-- 


The information contained in this e-mail message may be privileged and 
confidential information and is intended only for the use of the individual 
and/or entity identified in the alias address of this message. If the 
reader of this message is not the intended recipient, or an employee or 
agent responsible to deliver it to the intended recipient, you are hereby 
notified that you have received this in error and that any review, 
dissemination, distribution, or copying of this message is strictly 
prohibited. If you have received this message in error, please notify us 
immediately by telephone or return e-mail and delete the original message 
from your system.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp