Re: [Openstack] Availability of metrics from SWIFT - Object Storage
Hi Narayanan, You can see the Swift metrics by this link: http://docs.openstack.org/developer/ceilometer/measurements.html#object-storage-swift . Thanks Best regards, Fei Long Wang (王飞龙) - Scrum Master of Nitrogen (SME team) Cloud Solutions and OpenStack Development Tel: 8610-82450513 | T/L: 905-0513 Email: flw...@cn.ibm.com China Systems Technology Laboratory in Beijing - From: Narayanan, Krishnaprasad naray...@uni-mainz.de To: openstack@lists.launchpad.net openstack@lists.launchpad.net, Date: 06/26/2013 05:39 PM Subject:[Openstack] Availability of metrics from SWIFT - Object Storage Sent by:Openstack openstack-bounces +flwang=cn.ibm@lists.launchpad.net Hallo All, Based on the documentation from Ceilometer, I see the metrics from all the components except SWIFT. Can I get to know whether Ceilometer offers any metrics from the SWIFT component? 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 inline: graycol.gif___ 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] [Ceilometer][Ceilometer-API] Ceilometer-API Error 401 Unauthorized
Hi Bruno, Please follow this link: http://docs.openstack.org/developer/ceilometer/configuration.html#keystone-middleware-authentication Generally, you just need add some entries in ceilometer.conf like this: [keystone_authtoken] signing_dir = /var/cache/ceilometer admin_tenant_name = service admin_password = passw0rd admin_user = ceilometer auth_protocol = http Thanks Best regards, Fei Long Wang (王飞龙) -- Scrum Master, Cloud Solutions and OpenStack Development Tel: 8610-82450513 | T/L: 905-0513 Email: flw...@cn.ibm.com China Systems Technology Laboratory in Beijing -- From: Bruno Oliveira brunnop.olive...@gmail.com To: OpenStack openstack@lists.launchpad.net, Date: 05/27/2013 10:14 PM Subject:[Openstack] [Ceilometer][Ceilometer-API] Ceilometer-API Error 401 Unauthorized Sent by:Openstack openstack-bounces +flwang=cn.ibm@lists.launchpad.net Hello stackers, I'm having a really hard time setting up ceilometer-api so I thought if I could ask you guys for some enlightment. I can clearly see data being pulled in the screens that are running /ceilometer-collector, ./ceilometer-agent-compute ,./ceilometer-agent-central Even the screen running ceilometer-api-server starts with no problem. But I cannot reach the api at all via curl. Neither by using its actual port (8777) nor using the port set in the virtual host of apache. All I'm getting is auth error $ curl http://127.0.0.1:8777 OR $ curl http://127.0.0.1:9090 = html head title401 Unauthorized/title /head body h1401 Unauthorized/h1 This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.br /br / Authentication required = On top of that, the only thing I had to do in a non-standard basis, was to setup ceilometer virtual host to answer request on port 9090 of apache instead of the default 80 (since horizon is bind to it). Here's a copy of my running ceilometer.conf = /etc/ceilometer/ceilometer.conf = [DEFAULT] os_username=ceilometer os_password=MYSECRET os_tenant_name=admin os_auth_url=http://localhost:5000/v2.0 signing_dirname = /tmp/keystone-signing-ceilometer metering_api_port=8777 auth_strategy=keystone nova_control_exchange=nova hypervisor_inspector=libvirt libvirt_type=kvm glance_control_exchange=glance quantum_control_exchange=quantum debug=true verbose=true (...) *logging writing parameters here* (...) log_dir=/var/log/ceilometer rpc_backend=ceilometer.openstack.common.rpc.impl_kombu rabbit_host=localhost rabbit_port=5672 rabbit_userid=guest rabbit_password=ficrowstran02 rabbit_retry_backoff=2 rabbit_max_retries=0 database_connection=mongodb://localhost:27017/ceilometer sql_connection_debug=0 cinder_control_exchange=cinder enable_v1_api=true [rpc_notifier2] [matchmaker_redis] [publisher_meter] metering_secret=METERING_SECRET [keystone_authtoken] auth_host = localhost auth_port = 5000 admin_user = ceilometer admin_password = MYSECRET admin_tenant_name = admin auth_uri = http://localhost:5000/v2.0/ = The ceilometer user pointed at admin_user under the [keystone_authtoken] section, as well as in os_username under the [DEFAULT] section, was created in keystone and it'sbind to the admin tenant. $ keystone tenant-get admin +-+--+ | Property | Value | +-+--+ | description | | | enabled | True | | id | 670f5dd4070d44b6a8308277a236d1af | | name| admin | +-+--+ $ keystone user-get ceilometer +--+--+ | Property | Value | +--+--+ | email | ceilome...@example.com | | enabled | True | |id| a98ec068f5f349439acef431e826d7ff | | name |ceilometer| | tenantId | 670f5dd4070d44b6a8308277a236d1af | +--+--+ Finally, here's the ceilometer site running on apache. the user and group 'stackadmin' are valid users indeed in the machine $ id stackadmin uid=1000(stackadmin) gid=1000(stackadmin) groups=1000(stackadmin),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),111 (libvirtd),113(lpadmin),114(sambashare = /etc/apache2/sites-available/ceilometer = VirtualHost *:9090
Re: [Openstack] [ceilometer] how to enable cpu meter?
Hi Alex, Please follow up below steps: 1. Create a new instance 2. Start compute-agent of Ceilometer 3. Call the REST API: http://127.0.0.1:8777/v2/meters/cpu_util Thanks Best regards, Fei Long Wang (王飞龙) -- Scrum Master, Cloud Solutions and OpenStack Development Tel: 8610-82450513 | T/L: 905-0513 Email: flw...@cn.ibm.com China Systems Technology Laboratory in Beijing -- From: alexander barakin a...@barak.in To: openstack@lists.launchpad.net, Date: 05/28/2013 07:45 PM Subject:[Openstack] [ceilometer] how to enable cpu meter? Sent by:Openstack openstack-bounces +flwang=cn.ibm@lists.launchpad.net i use fresh devstack without local modifications on ubuntu 12.04 i have run the example image cirros-0.3.1-x86_64-uec and see the following meters in output of ceilometer meter-list: disk.ephemeral.size disk.root.size image image image image.download image.download image.download image.serve image.serve image.serve image.size image.size image.size image.update image.update image.update image.upload image.upload image.upload instance instance:m1.tiny memory vcpus how to enable cpu meter which is mentioned here: http://docs.openstack.org/developer/ceilometer/measurements.html#compute-nova ?___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp inline: graycol.gif___ 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] Metrics from Ceilometer
Hi Rima, Please refer this link: http://docs.openstack.org/developer/ceilometer/measurements.html Thanks Best regards, Fei Long Wang (王飞龙) -- Scrum Master, Cloud Solutions and OpenStack Development Tel: 8610-82450513 | T/L: 905-0513 Email: flw...@cn.ibm.com China Systems Technology Laboratory in Beijing -- From: Rima Grati rima.gr...@gmail.com To: openstack@lists.launchpad.net, Date: 05/16/2013 09:54 PM Subject:[Openstack] Metrics from Ceilometer Sent by:Openstack openstack-bounces +flwang=cn.ibm@lists.launchpad.net Hello, Please i need to know which kind of metric Ceilometer can extract (it can extract the bandwith, the uptime of a system.) Thank you___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp inline: graycol.gif___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] [OpenStack] [Glance] Reuse the image id when recreate an image in Glance which had been deleted
(Dead Image: %s % dead_image.deleted) +if dead_image.deleted: +LOG.info(Image '%s' had been deleted before + and will be reactivated. % image_id) +dead_image.undelete(session=session) +except exception.NotFound: +LOG.debug(Adding new image with user provided + UUID '%s' % image_id) +# Not really a failure, this just means the user provided a +# UUID for the very first time, still let's null it out +# for _image+_update() because even if the user provided +# an ID, this method does not expect the ID here when creating +# new images +image_id = None +return _image_update(context, values, image_id, False) def image_update(context, image_id, values, purge_props=False): diff -rupN glance-unpatched/glance/db/sqlalchemy/models.py glance/glance/db/sqlalchemy/models.py --- glance-unpatched/glance/db/sqlalchemy/models.py 2013-04-27 19:45:48.175132054 -0500 +++ glance/glance/db/sqlalchemy/models.py 2013-04-17 19:46:03.918174498 -0500 @@ -66,6 +66,13 @@ class ModelBase(object): self.deleted_at = timeutils.utcnow() self.save(session=session) +def undelete(self, session=None): +Undelete this object +self.deleted = False +self.deleted_at = None +self.status = 'active' +self.save(session=session) + def update(self, values): dict.update() behaviour. for k, v in values.iteritems(): Thanks Best regards, Fei Long Wang (王飞龙) -- Scrum Master, Cloud Solutions and OpenStack Development Tel: 8610-82450513 | T/L: 905-0513 Email: flw...@cn.ibm.com China Systems Technology Laboratory in Beijing --___ 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] Project wrap-up videos from Portland
Hi Eric, Are you looking for this? https://www.openstack.org/summit/portland-2013/session-videos/ Thanks Best regards, Fei Long Wang (王飞龙) -- Scrum Master, Cloud Solutions and OpenStack Development Tel: 8610-82450513 | T/L: 905-0513 Email: flw...@cn.ibm.com China Systems Technology Laboratory in Beijing -- From: Eric Windisch e...@cloudscaling.com To: openstack@lists.launchpad.net openstack@lists.launchpad.net, Date: 05/17/2013 03:24 AM Subject:[Openstack] Project wrap-up videos from Portland Sent by:Openstack openstack-bounces +flwang=cn.ibm@lists.launchpad.net Forwarded message: From: Russell Bryant rbry...@redhat.com As for those that would normally lurk in the back of the room, if they can be there, great. If not, it's not the end of the world. There should not be anything that is *exclusively* discussed and decided at the design summit. Things should be documented, discussed on the mailing list, and vetted on gerrit all the same, so everyone should still have visibility into what is going on. This message from Russell reminded me that of the videos that were uploaded from Portland, ones that seem to be vitally important, yet missing, are those project wrap-up talks given by the various PTLs. Perhaps someone (Stefano?) knows if those videos might be available? Having videos such as these available following Hong Kong will be all so much more important for those that fail to make it. Regards, Eric Windisch ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp inline: graycol.gif___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp