ceilometer-polling compute don't step over extensions

Bug #1705403 reported by mlb_1
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Invalid
Undecided
Unassigned

Bug Description

The ceilometer config-file's content is "hypervisor_inspector = vsphere"

ceilometer-polling --polling-namespaces compute --config-file /etc/ceilometer/ceilometer.conf --debug
After execute the over cmd, ceilometer-polling compute don't step over extensions(self.extensions = list(itertools.chain(*list(extensions))) + list(itertools.chain(*list(extensions_fb))) ).

2017-07-20 16:04:14.168 10719 DEBUG oslo_vmware.service [-] Creating suds client with soap_url='https://172.21.128.111:443/sdk' and wsdl_url='https://172.21.128.111:443/sdk/vimService.wsdl' __init__ /usr/lib/python2.7/site-packages/oslo_vmware/service.py:205
2017-07-20 16:04:19.587 10719 DEBUG oslo_vmware.service [-] Invoking ServiceInstance.RetrieveServiceContent with opID=oslo.vmware-bbc39514-4f7f-441c-82c5-f1ca6efbf034 request_handler /usr/lib/python2.7/site-packages/oslo_vmware/service.py:335
2017-07-20 16:04:19.615 10719 DEBUG oslo_vmware.api [-] Logging into host: 172.21.128.111. _create_session /usr/lib/python2.7/site-packages/oslo_vmware/api.py:242
2017-07-20 16:04:19.616 10719 DEBUG oslo_vmware.service [-] Invoking SessionManager.Login with opID=oslo.vmware-ca79f649-1492-48b2-989d-519f6a9c566c request_handler /usr/lib/python2.7/site-packages/oslo_vmware/service.py:335
2017-07-20 16:04:19.688 10719 INFO oslo_vmware.api [-] Successfully established new session; session ID is aaff0.
2017-07-20 16:04:19.689 10719 DEBUG oslo_concurrency.lockutils [-] Lock "oslo_vmware_api_lock" released by "oslo_vmware.api._create_session" :: held 5.521s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:282
2017-07-20 16:04:19.689 10719 DEBUG oslo_concurrency.lockutils [-] Lock "oslo_vmware_api_lock" acquired by "oslo_vmware.api._create_session" :: waited 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:270
2017-07-20 16:04:19.689 10719 DEBUG oslo_vmware.service [-] Creating suds client with soap_url='https://172.21.128.111:443/sdk' and wsdl_url='https://172.21.128.111:443/sdk/vimService.wsdl' __init__ /usr/lib/python2.7/site-packages/oslo_vmware/service.py:205
2017-07-20 16:04:22.366 10719 DEBUG oslo_vmware.service [-] Invoking ServiceInstance.RetrieveServiceContent with opID=oslo.vmware-4f288e50-d015-4528-a30c-5fb01c307879 request_handler /usr/lib/python2.7/site-packages/oslo_vmware/service.py:335
2017-07-20 16:04:22.394 10719 DEBUG oslo_vmware.api [-] Logging into host: 172.21.128.111. _create_session /usr/lib/python2.7/site-packages/oslo_vmware/api.py:242
2017-07-20 16:04:22.395 10719 DEBUG oslo_vmware.service [-] Invoking SessionManager.Login with opID=oslo.vmware-18cb6307-0613-4253-92a0-85c254f02f5f request_handler /usr/lib/python2.7/site-packages/oslo_vmware/service.py:335
2017-07-20 16:04:22.467 10719 INFO oslo_vmware.api [-] Successfully established new session; session ID is 5c8b9.

Revision history for this message
mlb_1 (tuzi1211) wrote :

======ceilometer.conf========

[DEFAULT]
debug = false
log_dir = /var/log/ceilometer
transport_url = rabbit://openstack:***@172.21.129.18:5672
auth_strategy = keystone
pipeline_cfg_file = pipeline.yaml
event_pipeline_cfg_file = event_pipeline.yaml
hypervisor_inspector = vsphere

[api]
gnocchi_is_enabled = true
panko_is_enabled = true
panko_url = http://172.21.129.253:8977

[node]
##virt_inspector=vmware

[collector]
[compute]
[coordination]
[cors]
[cors.subdomain]
[database]
[dispatcher_file]
[dispatcher_gnocchi]
filter_service_activity = false
url = http://172.21.129.253:8041
##resources_definition_file = gnocchi_resources.yaml

[dispatcher_http]
[event]
##definitions_cfg_file = event_definitions.yaml
[hardware]
[ipmi]
[keystone_authtoken]
[matchmaker_redis]
[meter]
[notification]
[oslo_concurrency]
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_middleware]
[oslo_policy]
[polling]
[publisher]
[publisher_notifier]
[rgw_admin_credentials]
[service_credentials]
auth_url = http://172.21.129.253:5000/v3
region_name = RegionOne
password = ************
username = ceilometer
project_name = service
project_domain_id = default
user_domain_id = default
auth_type = password
interface = internal

[service_types]
[storage]
[vmware]
host_ip = 172.21.128.111
host_username = administrator
host_password = *******
insecure = True
host_port = 443
task_poll_interval = 600

[xenapi]

Revision history for this message
mlb_1 (tuzi1211) wrote :

2017-07-20 16:04:22.467 10719 INFO oslo_vmware.api [-] Successfully established new session; session ID is 5c8b9.
2017-07-20 16:04:22.467 10719 DEBUG oslo_concurrency.lockutils [-] Lock "oslo_vmware_api_lock" released by "oslo_vmware.api._create_session" :: held 2.778s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:282
2017-07-20 16:04:22.468 10719 DEBUG oslo_concurrency.lockutils [-] Lock "oslo_vmware_api_lock" acquired by "oslo_vmware.api._create_session" :: waited 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:270
2017-07-20 16:04:22.468 10719 DEBUG oslo_vmware.service [-] Creating suds client with soap_url='https://172.21.128.111:443/sdk' and wsdl_url='https://172.21.128.111:443/sdk/vimService.wsdl' __init__ /usr/lib/python2.7/site-packages/oslo_vmware/service.py:205
2017-07-20 16:04:27.385 10719 DEBUG oslo_vmware.service [-] Invoking ServiceInstance.RetrieveServiceContent with opID=oslo.vmware-76ae7114-3573-47b6-be6d-b67af1b7cd9e request_handler /usr/lib/python2.7/site-packages/oslo_vmware/service.py:335
2017-07-20 16:04:27.415 10719 DEBUG oslo_vmware.api [-] Logging into host: 172.21.128.111. _create_session /usr/lib/python2.7/site-packages/oslo_vmware/api.py:242
2017-07-20 16:04:27.415 10719 DEBUG oslo_vmware.service [-] Invoking SessionManager.Login with opID=oslo.vmware-7f10a55d-c41e-4fb2-9a71-b90af33a4213 request_handler /usr/lib/python2.7/site-packages/oslo_vmware/service.py:335
2017-07-20 16:04:27.488 10719 INFO oslo_vmware.api [-] Successfully established new session; session ID is a06fa.
2017-07-20 16:04:27.489 10719 DEBUG oslo_concurrency.lockutils [-] Lock "oslo_vmware_api_lock" released by "oslo_vmware.api._create_session" :: held 5.021s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:282
2017-07-20 16:04:27.489 10719 DEBUG oslo_concurrency.lockutils [-] Lock "oslo_vmware_api_lock" acquired by "oslo_vmware.api._create_session" :: waited 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:270
2017-07-20 16:04:27.489 10719 DEBUG oslo_vmware.service [-] Creating suds client with soap_url='https://172.21.128.111:443/sdk' and wsdl_url='https://172.21.128.111:443/sdk/vimService.wsdl' __init__ /usr/lib/python2.7/site-packages/oslo_vmware/service.py:205
2017-07-20 16:04:28.977 10669 INFO cotyledon._service_manager [-] Child 10719 killed by signal None

Revision history for this message
gordon chung (chungg) wrote :

i don't understand your bug. can you explain the error?

Changed in ceilometer:
status: New → Incomplete
Revision history for this message
mlb_1 (tuzi1211) wrote :

ceilometer Version: 8.1.0 dev

The ceilometer-polling don't work after configure ceilometer.conf. Debug the source "ceilometer\agent\manager.py" at "self.extensions = list(itertools.chain(*list(extensions))) + list( itertools.chain(*list(extensions_fb)))", and this line of code doesn't come in.

Revision history for this message
gordon chung (chungg) wrote :

i'm sorry. what do you mean by "and this line of code doesn't come in."?

do you mean it does not run? or there are no extensions loaded?

Revision history for this message
mlb_1 (tuzi1211) wrote :

this line of code doesn't come in.
this means: the code run this line, never step the next.
ex: the program run to the line 123, but the line 124 never run.

Revision history for this message
gordon chung (chungg) wrote :

hmm.. yeah, i can't figure out why hanging on that line. do you have a custom pollsters?

Revision history for this message
gordon chung (chungg) wrote :

closing due to lack of feedback. please reopen if still persistent.

Changed in ceilometer:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.