Correct ;p Den 14. nov. 2012 00:25 skrev "dan wendlandt" <email address hidden> følgende: > > I think this should be filed against ceilometer, not quantum > > ** Project changed: quantum => ceilometer > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1078493 > > Title: > AttributeError when pulling CPUTime > > Status in Openstack Metrics (ceilometer): > New > > Bug description: > 2012-11-13 23:41:50 64872 INFO ceilometer.compute.libvirt.cpu [-] CPUTIME USAGE: {'OS-EXT-STS:task_state': None, 'addresses': {u'smart-net': [{u'version': 4, u'addr': u'172.16.59.5'}]}, 'links': [{u'href': u' http://nova.bouvetlab.local:8774/v2/de1cf419286146fb97f3e3e27fe7b3f3/servers/14e1c3b2-513f-4efe-8a89-71c2d4d49f90', u'rel': u'self'}, {u'href': u' http://nova.bouvetlab.local:8774/de1cf419286146fb97f3e3e27fe7b3f3/servers/14e1c3b2-513f-4efe-8a89-71c2d4d49f90', u'rel': u'bookmark'}], 'image': {u'id': u'0906f07d-f419-4a9d-8404-047db4717497', u'links': [{u'href': u' http://nova.bouvetlab.local:8774/de1cf419286146fb97f3e3e27fe7b3f3/images/0906f07d-f419-4a9d-8404-047db4717497', u'rel': u'bookmark'}]}, 'manager': <novaclient.v1_1.servers.ServerManager object at 0x3af5a10>, 'OS-EXT-STS:vm_state': u'active', 'OS-EXT-SRV-ATTR:instance_name': u'vm-00000017', 'flavor': {'vcpus': 2, u'id': u'3', u'links': [{u'href': u' http://nova.bouvetlab.local:8774/de1cf419286146fb97f3e3e27fe7b3f3/flavors/3', u'rel': u'bookmark'}], 'name': u'm1.medium'}, 'id': u'14e1c3b2-513f-4efe-8a89-71c2d4d49f90', 'security_groups': [{u'name': u'default'}], 'user_id': u'4ce5c085e09a478ea4edcd667a92df78', 'OS-DCF:diskConfig': u'MANUAL', 'accessIPv4': u'', 'accessIPv6': u'', 'progress': 0, 'OS-EXT-STS:power_state': 1, 'config_drive': u'', 'status': u'ACTIVE', 'updated': u'2012-11-12T12:04:30Z', 'hostId': u'e36b845d391d57d46eba73b5248611693f6144599b9b72c19315a044', 'OS-EXT-SRV-ATTR:host': u'cmp02', 'key_name': u'default', 'OS-EXT-SRV-ATTR:hypervisor_hostname': u'cmp02.os.lan', 'name': u'test', 'created': u'2012-11-12T12:03:17Z', 'tenant_id': u'c97027dd880d4c129ae7a4ba7edade05', '_info': {u'OS-EXT-STS:task_state': None, u'addresses': {u'smart-net': [{u'version': 4, u'addr': u'172.16.59.5'}]}, u'links': [{u'href': u' http://nova.bouvetlab.local:8774/v2/de1cf419286146fb97f3e3e27fe7b3f3/servers/14e1c3b2-513f-4efe-8a89-71c2d4d49f90', u'rel': u'self'}, {u'href': u' http://nova.bouvetlab.local:8774/de1cf419286146fb97f3e3e27fe7b3f3/servers/14e1c3b2-513f-4efe-8a89-71c2d4d49f90', u'rel': u'bookmark'}], u'image': {u'id': u'0906f07d-f419-4a9d-8404-047db4717497', u'links': [{u'href': u' http://nova.bouvetlab.local:8774/de1cf419286146fb97f3e3e27fe7b3f3/images/0906f07d-f419-4a9d-8404-047db4717497', u'rel': u'bookmark'}]}, u'OS-EXT-STS:vm_state': u'active', u'OS-EXT-SRV-ATTR:instance_name': u'vm-00000017', u'flavor': {'vcpus': 2, u'id': u'3', u'links': [{u'href': u' http://nova.bouvetlab.local:8774/de1cf419286146fb97f3e3e27fe7b3f3/flavors/3', u'rel': u'bookmark'}], 'name': u'm1.medium'}, u'id': u'14e1c3b2-513f-4efe-8a89-71c2d4d49f90', u'security_groups': [{u'name': u'default'}], u'user_id': u'4ce5c085e09a478ea4edcd667a92df78', u'OS-DCF:diskConfig': u'MANUAL', u'accessIPv4': u'', u'accessIPv6': u'', u'progress': 0, u'OS-EXT-STS:power_state': 1, u'config_drive': u'', u'status': u'ACTIVE', u'updated': u'2012-11-12T12:04:30Z', u'hostId': u'e36b845d391d57d46eba73b5248611693f6144599b9b72c19315a044', u'OS-EXT-SRV-ATTR:host': u'cmp02', u'key_name': u'default', u'OS-EXT-SRV-ATTR:hypervisor_hostname': u'cmp02.os.lan', u'name': u'test', u'created': u'2012-11-12T12:03:17Z', u'tenant_id': u'c97027dd880d4c129ae7a4ba7edade05', u'metadata': {}}, 'metadata': {}, '_loaded': True} 221040000000 > 2012-11-13 23:41:50 64872 ERROR ceilometer.compute.libvirt.cpu [-] could not get CPU time for 14e1c3b2-513f-4efe-8a89-71c2d4d49f90: vcpus > 2012-11-13 23:41:50 64872 ERROR ceilometer.compute.libvirt.cpu [-] vcpus > 2012-11-13 23:41:50 64872 TRACE ceilometer.compute.libvirt.cpu Traceback (most recent call last): > 2012-11-13 23:41:50 64872 TRACE ceilometer.compute.libvirt.cpu File "/opt/ceilometer/ceilometer/compute/libvirt.py", line 183, in get_counters > 2012-11-13 23:41:50 64872 TRACE ceilometer.compute.libvirt.cpu cpu_util = self.get_cpu_util(instance, cpu_info) > 2012-11-13 23:41:50 64872 TRACE ceilometer.compute.libvirt.cpu File "/opt/ceilometer/ceilometer/compute/libvirt.py", line 166, in get_cpu_util > 2012-11-13 23:41:50 64872 TRACE ceilometer.compute.libvirt.cpu cores_fraction = instance.vcpus * 1.0 / multiprocessing.cpu_count() > 2012-11-13 23:41:50 64872 TRACE ceilometer.compute.libvirt.cpu File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 326, in __getattr__ > 2012-11-13 23:41:50 64872 TRACE ceilometer.compute.libvirt.cpu raise AttributeError(k) > 2012-11-13 23:41:50 64872 TRACE ceilometer.compute.libvirt.cpu AttributeError: vcpus > 2012-11-13 23:41:50 64872 TRACE ceilometer.compute.libvirt.cpu > 2012-11-13 23:41:50 64872 INFO ceilometer.compute.manager [-] polling libvirt_net > 2012-11-13 23:41:50 64872 INFO ceilometer.compute.libvirt.net [-] checking instance 14e1c3b2-513f-4efe-8a89-71c2d4d49f90 > 2012-11-13 23:41:51 64872 INFO ceilometer.compute.libvirt.net [-] NETWORK USAGE: vm-00000017 vnet0: read-bytes=6125314 write-bytes=2171068 > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ceilometer/+bug/1078493/+subscriptions
Correct ;p /bugs.launchpad .net/bugs/ 1078493 compute. libvirt. cpu [-] STS:task_ state': None, 'addresses': {u'smart-net': nova.bouvetlab. local:8774/ v2/de1cf4192861 46fb97f3e3e27fe 7b3f3/servers/ 14e1c3b2- 513f-4efe- 8a89-71c2d4d49f 90', nova.bouvetlab. local:8774/ de1cf419286146f b97f3e3e27fe7b3 f3/servers/ 14e1c3b2- 513f-4efe- 8a89-71c2d4d49f 90', f419-4a9d- 8404-047db47174 97', u'links': [{u'href': u' nova.bouvetlab. local:8774/ de1cf419286146f b97f3e3e27fe7b3 f3/images/ 0906f07d- f419-4a9d- 8404-047db47174 97', v1_1.servers. ServerManager STS:vm_ state': u'active', SRV-ATTR: instance_ name': u'vm-00000017', 'flavor': {'vcpus': 2, nova.bouvetlab. local:8774/ de1cf419286146f b97f3e3e27fe7b3 f3/flavors/ 3', 513f-4efe- 8a89-71c2d4d49f 90', 'security_groups': [{u'name': 78ea4edcd667a92 df78', diskConfig' : u'MANUAL', 'accessIPv4': u'', 'accessIPv6': u'', STS:power_ state': 1, 'config_drive': u'', 'status': 11-12T12: 04:30Z' , 'hostId': 7d46eba73b52486 11693f6144599b9 b72c19315a044' , SRV-ATTR: host': u'cmp02', 'key_name': u'default', SRV-ATTR: hypervisor_ hostname' : u'cmp02.os.lan', 'name': u'test', 11-12T12: 03:17Z' , 'tenant_id': c129ae7a4ba7eda de05', '_info': {u'OS-EXT- STS:task_ state': nova.bouvetlab. local:8774/ v2/de1cf4192861 46fb97f3e3e27fe 7b3f3/servers/ 14e1c3b2- 513f-4efe- 8a89-71c2d4d49f 90', nova.bouvetlab. local:8774/ de1cf419286146f b97f3e3e27fe7b3 f3/servers/ 14e1c3b2- 513f-4efe- 8a89-71c2d4d49f 90', f419-4a9d- 8404-047db47174 97', u'links': [{u'href': u' nova.bouvetlab. local:8774/ de1cf419286146f b97f3e3e27fe7b3 f3/images/ 0906f07d- f419-4a9d- 8404-047db47174 97', STS:vm_ state': u'active', SRV-ATTR: instance_ name': u'vm-00000017', u'flavor': {'vcpus': 2, nova.bouvetlab. local:8774/ de1cf419286146f b97f3e3e27fe7b3 f3/flavors/ 3', 513f-4efe- 8a89-71c2d4d49f 90', u'security_groups': [{u'name': 78ea4edcd667a92 df78', diskConfig' : u'MANUAL', u'accessIPv4': u'', u'accessIPv6': u'', STS:power_ state': 1, u'config_drive': u'', 11-12T12: 04:30Z' , u'hostId': 7d46eba73b52486 11693f6144599b9 b72c19315a044' , SRV-ATTR: host': u'cmp02', u'key_name': u'default', SRV-ATTR: hypervisor_ hostname' : u'cmp02.os.lan', u'name': u'test', 11-12T12: 03:17Z' , u'tenant_id': c129ae7a4ba7eda de05', u'metadata': {}}, 'metadata': {}, compute. libvirt. cpu [-] 513f-4efe- 8a89-71c2d4d49f 90: vcpus compute. libvirt. cpu [-] vcpus compute. libvirt. cpu compute. libvirt. cpu File r/ceilometer/ compute/ libvirt. py", line 183, in get_counters compute. libvirt. cpu cpu_util( instance, cpu_info) compute. libvirt. cpu File r/ceilometer/ compute/ libvirt. py", line 166, in get_cpu_util compute. libvirt. cpu .cpu_count( ) compute. libvirt. cpu File python2. 7/dist- packages/ novaclient/ base.py" , line 326, in compute. libvirt. cpu compute. libvirt. cpu compute. libvirt. cpu compute. manager [-] polling compute. libvirt. net [-] 513f-4efe- 8a89-71c2d4d49f 90 compute. libvirt. net [-] /bugs.launchpad .net/ceilometer /+bug/1078493/ +subscriptions
Den 14. nov. 2012 00:25 skrev "dan wendlandt" <email address hidden>
følgende:
>
> I think this should be filed against ceilometer, not quantum
>
> ** Project changed: quantum => ceilometer
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> AttributeError when pulling CPUTime
>
> Status in Openstack Metrics (ceilometer):
> New
>
> Bug description:
> 2012-11-13 23:41:50 64872 INFO ceilometer.
CPUTIME USAGE: {'OS-EXT-
[{u'version': 4, u'addr': u'172.16.59.5'}]}, 'links': [{u'href': u'
http://
u'rel': u'self'}, {u'href': u'
http://
u'rel': u'bookmark'}], 'image': {u'id':
u'0906f07d-
http://
u'rel': u'bookmark'}]}, 'manager': <novaclient.
object at 0x3af5a10>, 'OS-EXT-
'OS-EXT-
u'id': u'3', u'links': [{u'href': u'
http://
u'rel': u'bookmark'}], 'name': u'm1.medium'}, 'id':
u'14e1c3b2-
u'default'}], 'user_id': u'4ce5c085e09a4
'OS-DCF:
'progress': 0, 'OS-EXT-
u'ACTIVE', 'updated': u'2012-
u'e36b845d391d5
'OS-EXT-
'OS-EXT-
'created': u'2012-
u'c97027dd880d4
None, u'addresses': {u'smart-net': [{u'version': 4, u'addr':
u'172.16.59.5'}]}, u'links': [{u'href': u'
http://
u'rel': u'self'}, {u'href': u'
http://
u'rel': u'bookmark'}], u'image': {u'id':
u'0906f07d-
http://
u'rel': u'bookmark'}]}, u'OS-EXT-
u'OS-EXT-
u'id': u'3', u'links': [{u'href': u'
http://
u'rel': u'bookmark'}], 'name': u'm1.medium'}, u'id':
u'14e1c3b2-
u'default'}], u'user_id': u'4ce5c085e09a4
u'OS-DCF:
u'progress': 0, u'OS-EXT-
u'status': u'ACTIVE', u'updated': u'2012-
u'e36b845d391d5
u'OS-EXT-
u'OS-EXT-
u'created': u'2012-
u'c97027dd880d4
'_loaded': True} 221040000000
> 2012-11-13 23:41:50 64872 ERROR ceilometer.
could not get CPU time for 14e1c3b2-
> 2012-11-13 23:41:50 64872 ERROR ceilometer.
> 2012-11-13 23:41:50 64872 TRACE ceilometer.
Traceback (most recent call last):
> 2012-11-13 23:41:50 64872 TRACE ceilometer.
"/opt/ceilomete
> 2012-11-13 23:41:50 64872 TRACE ceilometer.
cpu_util = self.get_
> 2012-11-13 23:41:50 64872 TRACE ceilometer.
"/opt/ceilomete
> 2012-11-13 23:41:50 64872 TRACE ceilometer.
cores_fraction = instance.vcpus * 1.0 / multiprocessing
> 2012-11-13 23:41:50 64872 TRACE ceilometer.
"/usr/lib/
__getattr__
> 2012-11-13 23:41:50 64872 TRACE ceilometer.
raise AttributeError(k)
> 2012-11-13 23:41:50 64872 TRACE ceilometer.
AttributeError: vcpus
> 2012-11-13 23:41:50 64872 TRACE ceilometer.
> 2012-11-13 23:41:50 64872 INFO ceilometer.
libvirt_net
> 2012-11-13 23:41:50 64872 INFO ceilometer.
checking instance 14e1c3b2-
> 2012-11-13 23:41:51 64872 INFO ceilometer.
NETWORK USAGE: vm-00000017 vnet0: read-bytes=6125314 write-bytes=2171068
>
> To manage notifications about this bug go to:
> https:/