Re: [Openstack-operators] Cinder usage statistics
yes, I could see both...like allocated and used...Are you looking for used details? Thanks Swami On Tue, Apr 19, 2016 at 3:49 PM, Swarna, Mohan (Nokia - IN/Bangalore) <mohan.swa...@nokia.com> wrote: > Hi Swami, > > Can we get the actual usage rather than the allocated Volumes. > > Regards, > Mohan Swarna > > -Original Message----- > From: EXT M Ranga Swami Reddy [mailto:swamire...@gmail.com] > Sent: Monday, April 18, 2016 4:40 PM > To: David Ocana <doc...@ebi.ac.uk> > Cc: openstack-operators@lists.openstack.org > Subject: Re: [Openstack-operators] Cinder usage statistics > > You can try below: > > cinder quota-defaults > cinder quota-show > cinder quota-usage > > > Thanks > Swami > > On Mon, Apr 18, 2016 at 4:17 PM, David Ocana <doc...@ebi.ac.uk> wrote: >> Hi operators, >> >> I'm trying to come up with a yearly usage report for our tenants (mainly >> cpu, ram and storage), and I just realized I can't find any information >> about cinder usage. >> >> Is there any `nova usage` equivalent for cinder? I was googling a bit >> before writing to the list, and I found this "cinder-volume-usage-audit" >> script which is supposed to be run after changing some cinder.conf >> settings, but not really sure to change this in our production environment. >> >> Can someone paste some output of the script? Any alternatives? >> >> Many thanks for your help. >> >> Cheers, >> David >> >> ___ >> OpenStack-operators mailing list >> OpenStack-operators@lists.openstack.org >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators > > ___ > OpenStack-operators mailing list > OpenStack-operators@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] Cinder usage statistics
You can try below: cinder quota-defaults cinder quota-show cinder quota-usage Thanks Swami On Mon, Apr 18, 2016 at 4:17 PM, David Ocanawrote: > Hi operators, > > I'm trying to come up with a yearly usage report for our tenants (mainly > cpu, ram and storage), and I just realized I can't find any information > about cinder usage. > > Is there any `nova usage` equivalent for cinder? I was googling a bit > before writing to the list, and I found this "cinder-volume-usage-audit" > script which is supposed to be run after changing some cinder.conf > settings, but not really sure to change this in our production environment. > > Can someone paste some output of the script? Any alternatives? > > Many thanks for your help. > > Cheers, > David > > ___ > OpenStack-operators mailing list > OpenStack-operators@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] Cinder-backup to swift
can you share the cinder.conf file? On Tue, Jan 26, 2016 at 11:25 PM, rajuwrote: > now both services running on same host still same issue > > cinder service-list > +--+-+--+-+---++-+ > | Binary | Host | Zone | Status | > State | Updated_at | Disabled Reason | > +--+-+--+-+---++-+ > | cinder-backup |node-7..stack | nova | enabled | up | > 2016-01-26T17:53:44.00 | None | > | cinder-scheduler |node-7..stack | nova | enabled | up | > 2016-01-26T17:53:47.00 | None | > | cinder-volume | node-7..stack@pure | nova | enabled | up | > 2016-01-26T17:53:43.00 | None | > +--+-+--+-+---++-+ > root@node-7:~# cinder backup-create --container Cinder_Backup > 0d2eb15f-77b9-408b-86c3-e80fb24948cf > ERROR: Service cinder-backup could not be found. (HTTP 500) (Request-ID: > req-c7e7555a-4fe0-4d09-9a3b-3a71e3c7d962) > > > On Tue, Jan 26, 2016 at 11:37 AM, Fox, Kevin M wrote: >> >> There is a "feature" where cinder-backup and cinder-volume must be running >> on the same node. If they are not, you get an error like that. I tripped >> over it myself. >> >> Thanks, >> Kevin >> >> From: raju [raju.r...@gmail.com] >> Sent: Tuesday, January 26, 2016 8:16 AM >> To: openstack-operators@lists.openstack.org >> Subject: [Openstack-operators] Cinder-backup to swift >> >> >> Hi, >> >> >> I am trying to backup cinder volumes to swift and enabled backup driver in >> cinder conf and startred cinder-backup service, when am trying to create a >> backup it is failing with below error >> >> >> >> Error: >> >> cinder backup-create --container Cinder_Backup >> 0d2eb15f-77b9-408b-86c3-e80fb24948cf >> >> >> ERROR: Service cinder-backup could not be found. (HTTP 500) (Request-ID: >> req-2ce2bee4-d237-4191-b9ea-48a72ccbb579) >> >> >> # cinder service-list >> >> >> +--+-+--+--+---++-+ >> >> | Binary | Host| Zone | Status | State >> | Updated_at | Disabled Reason | >> >> >> +--+-+--+--+---++-+ >> >> | cinder-backup | node-7..stack | nova | enabled | up | >> 2016-01-25T22:03:09.00 | None | >> >> | cinder-scheduler | node-7..stack | nova | enabled | up | >> 2016-01-25T22:03:06.00 | None | >> >> | >> >> | cinder-volume | pure@pure | nova | enabled | up >> | 2016-01-25T22:03:09.00 | None | >> >> >> +--+-+--+--+---++-+ >> >> >> service cinder-backup status >> >> cinder-backup start/running, process 21223 >> >> >> LOG: >> >> >> INFO cinder.api.openstack.wsgi [req-6ea85659-aa48-4dfd-8ca4-bf21c34537f3 >> 7bc0cb1d6c394eb598b4612b49b6b891 56083ff01d5d42848f3c8d227ed70006 - - -] GET >> http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/volumes/0d2eb15f-77b9-408b-86c3-e80fb24948cf >> >> 2016-01-26 16:15:23.012 11301 INFO cinder.api.openstack.wsgi >> [req-6ea85659-aa48-4dfd-8ca4-bf21c34537f3 7bc0cb1d6c394eb598b4612b49b6b891 >> 56083ff01d5d42848f3c8d227ed70006 - - -] >> http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/volumes/0d2eb15f-77b9-408b-86c3-e80fb24948cf >> returned with HTTP 200 >> >> 2016-01-26 16:15:23.014 11301 INFO eventlet.wsgi.server >> [req-6ea85659-aa48-4dfd-8ca4-bf21c34537f3 7bc0cb1d6c394eb598b4612b49b6b891 >> 56083ff01d5d42848f3c8d227ed70006 - - -] 10.24.4.2 - - [26/Jan/2016 16:15:23] >> "GET >> /v1/56083ff01d5d42848f3c8d227ed70006/volumes/0d2eb15f-77b9-408b-86c3-e80fb24948cf >> HTTP/1.1" 200 963 0.417786 >> >> 2016-01-26 16:15:23.030 11299 INFO eventlet.wsgi.server [-] (11299) >> accepted ('10.24.4.2', 37650) >> >> 2016-01-26 16:15:23.123 11299 INFO cinder.api.openstack.wsgi >> [req-b1d4c37a-70e7-40d0-ac39-e5f109d4f62f 7bc0cb1d6c394eb598b4612b49b6b891 >> 56083ff01d5d42848f3c8d227ed70006 - - -] POST >> http://10.24.4.2:8776/v1/56083ff01d5d42848f3c8d227ed70006/backups >> >> 2016-01-26 16:15:23.125 11299 INFO cinder.api.contrib.backups >> [req-b1d4c37a-70e7-40d0-ac39-e5f109d4f62f 7bc0cb1d6c394eb598b4612b49b6b891 >> 56083ff01d5d42848f3c8d227ed70006 - - -] Creating backup of volume >> 0d2eb15f-77b9-408b-86c3-e80fb24948cf in container Cinder_Backup >> >> 2016-01-26 16:15:23.193 11299 INFO cinder.api.openstack.wsgi >> [req-f698019f-d0cf-4057-857e-37aef6c40bbe - - - - -] HTTP