I have done this step:
1- download cloudscheduler .tar.gz at
http://github.com/hep-gc/cloud-scheduler/archives/dev
2- unpacked the tar.gz and launched sudo python setup.py install
3- I have returned this output:
...........
user@server:/opt/hep-gc-cloud-scheduler-c1b4e52$ sudo python setup.py
install
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.6
creating build/lib.linux-i686-2.6/cloudscheduler
copying cloudscheduler/job_management.py -> build/lib.linux-i686-2.6/
cloudscheduler
copying cloudscheduler/config.py -> build/lib.linux-i686-2.6/
cloudscheduler
copying cloudscheduler/info_server.py -> build/lib.linux-i686-2.6/
cloudscheduler
copying cloudscheduler/cluster_tools.py -> build/lib.linux-i686-2.6/
cloudscheduler
copying cloudscheduler/cloud_management.py -> build/lib.linux-i686-2.6/
cloudscheduler
copying cloudscheduler/__init__.py -> build/lib.linux-i686-2.6/
cloudscheduler
copying cloudscheduler/utilities.py -> build/lib.linux-i686-2.6/
cloudscheduler
copying cloudscheduler/__version__.py -> build/lib.linux-i686-2.6/
cloudscheduler
copying cloudscheduler/nimbus_xml.py -> build/lib.linux-i686-2.6/
cloudscheduler
creating build/lib.linux-i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorCollector.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorTransferd.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorNegotiator.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorStartd.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorVMgahp.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorJobRouter.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorDagman.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorDbmsd.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorTt.wsdl -> build/lib.linux-i686-2.6/
cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorEventd.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorMaster.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorCredd.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorGridmanager.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorHad.wsdl -> build/lib.linux-i686-2.6/
cloudscheduler/wsdl
copying cloudscheduler/wsdl/README -> build/lib.linux-i686-2.6/
cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorShadow.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorStartdFactory.wsdl -> build/
lib.linux-i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorLeaseManager.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorKbdd.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorStarter.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorSchedd.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorDcskel.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
copying cloudscheduler/wsdl/condorCgahp.wsdl -> build/lib.linux-
i686-2.6/cloudscheduler/wsdl
running build_scripts
creating build/scripts-2.6
copying and adjusting cloud_scheduler -> build/scripts-2.6
copying and adjusting cloud_status -> build/scripts-2.6
changing mode of build/scripts-2.6/cloud_scheduler from 644 to 755
changing mode of build/scripts-2.6/cloud_status from 644 to 755
running install_lib
running install_scripts
copying build/scripts-2.6/cloud_status -> /usr/local/bin
copying build/scripts-2.6/cloud_scheduler -> /usr/local/bin
changing mode of /usr/local/bin/cloud_status to 755
changing mode of /usr/local/bin/cloud_scheduler to 755
running install_egg_info
Writing /usr/local/lib/python2.6/dist-packages/Cloud_Scheduler-0.9.egg-
info
.....
4- So I have edited /etc/cloudsceduler/cloud_resources.con and
cloud_scheduler.conf
They are here:
http://hermes.pin.unifi.it/cloud_scheduler.conf
http://hermes.pin.unifi.it/cloud_resources.conf
5- After I have typed:
sudo cloud_scheduler start
6- But I have returned this errors and cloudscheduler doesn't start:
user@server:/opt/hep-gc-cloud-scheduler-c1b4e52$ sudo cloud_scheduler
start
Traceback (most recent call last):
File "/usr/local/bin/cloud_scheduler", line 1046, in <module>
main()
File "/usr/local/bin/cloud_scheduler", line 856, in main
log_formatter = logging.Formatter(config.log_format)
AttributeError: 'module' object has no attribute 'log_format'
7- This is the output for cloud_scheduler --version:
Cloud Scheduler 0.6
What am I doing wrong?
Thanks a lot.
MP.
On Sep 22, 12:02 am, Patrick Armstrong <
patri...@uvic.ca> wrote:
> Yeah, if you just install the newer version on top, that should be fine.
>
> The cloud scheduler github project is athttp://
github.com/hep-gc/cloud-scheduler/