Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrade to new version - spam in log #124

Closed
takenek opened this issue Feb 19, 2015 · 8 comments
Closed

After upgrade to new version - spam in log #124

takenek opened this issue Feb 19, 2015 · 8 comments

Comments

@takenek
Copy link

takenek commented Feb 19, 2015

Hello
I just upgrade to new 0.3.9-dev version i can`t run vpoller worker got all the time crash:

root@XXXXX:~# /etc/init.d/vpoller-worker start
[2015-02-19 07:57:31,199 - INFO/MainProcess] Starting Worker Manager [0.3.9-dev release]
[2015-02-19 07:57:31,200 - DEBUG/MainProcess] Loading config file /etc/vpoller/vpoller.conf
[2015-02-19 07:57:31,200 - DEBUG/MainProcess] Worker Manager configuration: {'tasks': None, 'cache_maxsize': 0, 'db': '/var/lib/vconnector/vconnector.db', 'cache_enabled': True, 'helpers': ['vpoller.helpers.zabbix', 'vpoller.helpers.czabbix'], 'proxy': 'tcp://localhost:10124', 'cache_housekeeping': 480, 'mgmt': 'tcp://*:10000', 'cache_ttl': 3600}
[2015-02-19 07:57:31,200 - DEBUG/MainProcess] Creating Worker Manager sockets
[2015-02-19 07:57:31,201 - INFO/MainProcess] Starting Worker processes
[2015-02-19 07:57:31,201 - INFO/MainProcess] Concurrency: 16 (processes)
[2015-02-19 07:57:31,203 - INFO/VPollerWorker-1] Worker process is starting
[2015-02-19 07:57:31,203 - INFO/VPollerWorker-2] Worker process is starting
Process VPollerWorker-1:
Traceback (most recent call last):
Process VPollerWorker-2:
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
[2015-02-19 07:57:31,204 - INFO/VPollerWorker-3] Worker process is starting
[2015-02-19 07:57:31,205 - INFO/VPollerWorker-4] Worker process is starting
Process VPollerWorker-3:
Traceback (most recent call last):
Process VPollerWorker-4:
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
[2015-02-19 07:57:31,205 - INFO/VPollerWorker-5] Worker process is starting
Process VPollerWorker-5:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
[2015-02-19 07:57:31,207 - INFO/VPollerWorker-6] Worker process is starting
Process VPollerWorker-6:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
[2015-02-19 07:57:31,208 - INFO/VPollerWorker-7] Worker process is starting
Process VPollerWorker-7:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
[2015-02-19 07:57:31,208 - INFO/VPollerWorker-8] Worker process is starting
Process VPollerWorker-8:
Traceback (most recent call last):
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
VPollerException: No task modules provided
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
[2015-02-19 07:57:31,209 - INFO/VPollerWorker-9] Worker process is starting
Process VPollerWorker-9:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
[2015-02-19 07:57:31,213 - INFO/VPollerWorker-10] Worker process is starting
Process VPollerWorker-10:
[2015-02-19 07:57:31,214 - INFO/VPollerWorker-11] Worker process is starting
Traceback (most recent call last):
[2015-02-19 07:57:31,214 - INFO/VPollerWorker-12] Worker process is starting
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Process VPollerWorker-11:
Process VPollerWorker-12:
Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    self.load_task_modules()
    raise VPollerException('No task modules provided')
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
VPollerException: No task modules provided
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
[2015-02-19 07:57:31,215 - INFO/VPollerWorker-13] Worker process is starting
Process VPollerWorker-13:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
[2015-02-19 07:57:31,216 - INFO/VPollerWorker-14] Worker process is starting
Process VPollerWorker-14:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
[2015-02-19 07:57:31,217 - INFO/MainProcess] Worker Manager is ready and running
[2015-02-19 07:57:31,217 - INFO/VPollerWorker-15] Worker process is starting
Process VPollerWorker-15:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
[2015-02-19 07:57:31,218 - INFO/VPollerWorker-16] Worker process is starting
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
Process VPollerWorker-16:
VPollerException: No task modules provided
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 374, in run
    self.load_task_modules()
  File "/usr/lib/python2.7/dist-packages/vpoller/worker.py", line 410, in load_task_modules
    raise VPollerException('No task modules provided')
VPollerException: No task modules provided
@takenek takenek changed the title After upgrade to new version can`t run vpoller-worker After upgrade to new version can`t run vpoller-worker - 0.3.9-dev Feb 19, 2015
@takenek takenek changed the title After upgrade to new version can`t run vpoller-worker - 0.3.9-dev After upgrade to new version - spam in log Feb 19, 2015
@dnaeon
Copy link
Owner

dnaeon commented Feb 19, 2015

Hi,

Make sure to update your vpoller.conf file with the new vPoller settings.

The vPoller Worker now requires that you specify the task modules that should be loaded.

Note the tasks option in the worker section from the config file below.

[proxy]
frontend     = tcp://*:10123
backend      = tcp://*:10124
mgmt         = tcp://*:9999

[worker]
db           = /var/lib/vconnector/vconnector.db
proxy        = tcp://localhost:10124
mgmt         = tcp://*:10000
helpers      = vpoller.helpers.zabbix, vpoller.helpers.czabbix
tasks        = vpoller.vsphere.tasks

[cache]
enabled      = True
maxsize      = 0
ttl          = 3600
housekeeping = 480

Regards,
Marin

@dnaeon dnaeon closed this as completed Feb 19, 2015
@takenek
Copy link
Author

takenek commented Feb 19, 2015

Hey yes yes i saw this
Now i got everything but still not working :
[2015-02-19 08:23:37,722 - WARNING/VPollerWorker-11] Task vm.disk.get failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/vpoller/task/decorators.py", line 55, in wrapper
result = fn(_args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/vpoller/vsphere/tasks.py", line 2211, in vm_disk_get
data = agent.vm_disk_discover(msg)
AttributeError: 'VConnector' object has no attribute 'vm_disk_discover'

i use http://jenkins.unix-heaven.org/job/py-vconnector/ws/deb_dist/python-vconnector_0.3.5-1_all.deb version of vconnector.

Thanks

From: Marin Atanasov Nikolov
Sent: Thursday, February 19, 2015 8:25 AM
To: dnaeon/py-vpoller
Cc: takenek
Subject: Re: [py-vpoller] After upgrade to new version - spam in log (#124)

Hi,

Make sure to update your vpoller.conf file with the new vPoller settings.

The vPoller Worker now requires that you specify the task modules that should be loaded.

Note the tasks option in the worker section from the config file below.

[proxy]
frontend = tcp://:10123
backend = tcp://
:10124
mgmt = tcp://*:9999

[worker]
db = /var/lib/vconnector/vconnector.db
proxy = tcp://localhost:10124
mgmt = tcp://*:10000
helpers = vpoller.helpers.zabbix, vpoller.helpers.czabbix
tasks = vpoller.vsphere.tasks

[cache]
enabled = True
maxsize = 0
ttl = 3600
housekeeping = 480Regards,
Marin


Reply to this email directly or view it on GitHub.

@dnaeon dnaeon reopened this Feb 19, 2015
dnaeon added a commit that referenced this issue Feb 19, 2015
@dnaeon
Copy link
Owner

dnaeon commented Feb 19, 2015

I've just pushed a fix for this.

You can either upgrade from the latest Git repository or grab the Debian packages from the Jenkins master.

Let me know how it goes.

Thanks,
Marin

@takenek
Copy link
Author

takenek commented Feb 19, 2015

Hey i use exacly this both files and i got this crash.

http://jenkins.unix-heaven.org/job/py-vconnector/ws/deb_dist/python-vconnector_0.3.5-1_all.deb
http://jenkins.unix-heaven.org/job/py-vpoller/ws/deb_dist/python-vpoller_0.3.9-dev-1_all.deb

Thanks

From: Marin Atanasov Nikolov
Sent: Thursday, February 19, 2015 8:33 AM
To: dnaeon/py-vpoller
Cc: takenek
Subject: Re: [py-vpoller] After upgrade to new version - spam in log (#124)

I've just pushed a fix for this.

You can either upgrade from the latest Git repository or grab the Debian packages from the Jenkins master.

a.. http://jenkins.unix-heaven.org/job/py-vpoller/ws/deb_dist/
b.. http://jenkins.unix-heaven.org/job/py-vconnector/ws/deb_dist/
Let me know how it goes.

Thanks,
Marin


Reply to this email directly or view it on GitHub.

@dnaeon
Copy link
Owner

dnaeon commented Feb 19, 2015

The packages from the Jenkins master now contain a fix for this issue, so please grab the packages again and install them :)

@takenek
Copy link
Author

takenek commented Feb 19, 2015

Change version from python-vpoller_0.3.9-dev-1_all.deb to python-vpoller_0.3.9-dev-2_all.deb
and python-vconnector_0.3.5-1_all.deb to python-vconnector_0.3.5-2_all.deb
Will be easier to know there is a new version
File name exacly thisa same but is completly other

From: Marin Atanasov Nikolov
Sent: Thursday, February 19, 2015 8:38 AM
To: dnaeon/py-vpoller
Cc: takenek
Subject: Re: [py-vpoller] After upgrade to new version - spam in log (#124)

The packages from the Jenkins master now contain a fix for this issue, so please grab the packages again and install them :)


Reply to this email directly or view it on GitHub.

@dnaeon
Copy link
Owner

dnaeon commented Feb 19, 2015

Just remove the old versions of vPoller and vConnector and install the new packages.

I will be soon be preparing a release for vPoller and version will be bumped as well.

@dnaeon dnaeon closed this as completed Feb 19, 2015
@takenek
Copy link
Author

takenek commented Feb 19, 2015

Done – Working good now No more AttributeError.
Thanks!

From: Marin Atanasov Nikolov
Sent: Thursday, February 19, 2015 8:46 AM
To: dnaeon/py-vpoller
Cc: takenek
Subject: Re: [py-vpoller] After upgrade to new version - spam in log (#124)

Just remove the old versions of vPoller and vConnector and install the new packages.

I will be soon be preparing a release for vPoller and version will be bumped as well.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants