ArchipelProject / Archipel

XMPP Based Orchestrator
http://archipelproject.org
GNU Affero General Public License v3.0
802 stars 127 forks source link

# archipel-initinstall -> "pkg_resources.DistributionNotFound: apscheduler<3" #1147

Closed YATV closed 9 years ago

YATV commented 9 years ago

Setup in clear CentOS 7.1

Linux localhost 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

cd /root

git clone https://github.com/ArchipelProject/Archipel.git

cd Archipel

./pull.sh

MESSAGE: Performing the developer installation running develop running egg_info writing requirements to archipel_agent.egg-info/requires.txt writing archipel_agent.egg-info/PKG-INFO writing top-level names to archipel_agent.egg-info/top_level.txt writing dependency_links to archipel_agent.egg-info/dependency_links.txt writing entry points to archipel_agent.egg-info/entry_points.txt reading manifest file 'archipel_agent.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent.egg-link (link to .) archipel-agent 0.6.0beta is already the active version in easy-install.pth Installing archipel-importvirtualmachine script to /usr/bin Installing archipel-updatedomain script to /usr/bin Installing archipel-initinstall script to /usr/bin Installing archipel-commandsbytag script to /usr/bin Installing archipel-command script to /usr/bin Installing runarchipel script to /usr/bin

Installed /root/Archipel/ArchipelAgent/archipel-agent SUCCESS: EGG package archipel-agent installed in developer mode running develop running egg_info writing requirements to archipel_agent_hypervisor_network.egg-info/requires.txt writing archipel_agent_hypervisor_network.egg-info/PKG-INFO writing top-level names to archipel_agent_hypervisor_network.egg-info/top_level.txt writing dependency_links to archipel_agent_hypervisor_network.egg-info/dependency_links.txt writing entry points to archipel_agent_hypervisor_network.egg-info/entry_points.txt reading manifest file 'archipel_agent_hypervisor_network.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_hypervisor_network.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-hypervisor-network.egg-link (link to .) archipel-agent-hypervisor-network 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-hypervisor-network SUCCESS: EGG package archipel-agent-hypervisor-network installed in developer mode running develop running egg_info writing requirements to archipel_agent_xmppserver.egg-info/requires.txt writing archipel_agent_xmppserver.egg-info/PKG-INFO writing top-level names to archipel_agent_xmppserver.egg-info/top_level.txt writing dependency_links to archipel_agent_xmppserver.egg-info/dependency_links.txt writing entry points to archipel_agent_xmppserver.egg-info/entry_points.txt reading manifest file 'archipel_agent_xmppserver.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_xmppserver.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-xmppserver.egg-link (link to .) archipel-agent-xmppserver 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-xmppserver SUCCESS: EGG package archipel-agent-xmppserver installed in developer mode running develop running egg_info writing requirements to archipel_agent_vmparking.egg-info/requires.txt writing archipel_agent_vmparking.egg-info/PKG-INFO writing top-level names to archipel_agent_vmparking.egg-info/top_level.txt writing dependency_links to archipel_agent_vmparking.egg-info/dependency_links.txt writing entry points to archipel_agent_vmparking.egg-info/entry_points.txt reading manifest file 'archipel_agent_vmparking.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_vmparking.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-vmparking.egg-link (link to .) archipel-agent-vmparking 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-vmparking SUCCESS: EGG package archipel-agent-vmparking installed in developer mode running develop running egg_info writing requirements to archipel_agent_hypervisor_health.egg-info/requires.txt writing archipel_agent_hypervisor_health.egg-info/PKG-INFO writing top-level names to archipel_agent_hypervisor_health.egg-info/top_level.txt writing dependency_links to archipel_agent_hypervisor_health.egg-info/dependency_links.txt writing entry points to archipel_agent_hypervisor_health.egg-info/entry_points.txt reading manifest file 'archipel_agent_hypervisor_health.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_hypervisor_health.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-hypervisor-health.egg-link (link to .) archipel-agent-hypervisor-health 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-hypervisor-health SUCCESS: EGG package archipel-agent-hypervisor-health installed in developer mode running develop running egg_info writing requirements to archipel_agent_vmcasting.egg-info/requires.txt writing archipel_agent_vmcasting.egg-info/PKG-INFO writing top-level names to archipel_agent_vmcasting.egg-info/top_level.txt writing dependency_links to archipel_agent_vmcasting.egg-info/dependency_links.txt writing entry points to archipel_agent_vmcasting.egg-info/entry_points.txt reading manifest file 'archipel_agent_vmcasting.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_vmcasting.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-vmcasting.egg-link (link to .) archipel-agent-vmcasting 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-vmcasting SUCCESS: EGG package archipel-agent-vmcasting installed in developer mode running develop running egg_info writing requirements to archipel_agent_hypervisor_geolocalization.egg-info/requires.txt writing archipel_agent_hypervisor_geolocalization.egg-info/PKG-INFO writing top-level names to archipel_agent_hypervisor_geolocalization.egg-info/top_level.txt writing dependency_links to archipel_agent_hypervisor_geolocalization.egg-info/dependency_links.txt writing entry points to archipel_agent_hypervisor_geolocalization.egg-info/entry_points.txt reading manifest file 'archipel_agent_hypervisor_geolocalization.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_hypervisor_geolocalization.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-hypervisor-geolocalization.egg-link (link to .) archipel-agent-hypervisor-geolocalization 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-hypervisor-geolocalization SUCCESS: EGG package archipel-agent-hypervisor-geolocalization installed in developer mode running develop running egg_info writing requirements to archipel_agent_action_scheduler.egg-info/requires.txt writing archipel_agent_action_scheduler.egg-info/PKG-INFO writing top-level names to archipel_agent_action_scheduler.egg-info/top_level.txt writing dependency_links to archipel_agent_action_scheduler.egg-info/dependency_links.txt writing entry points to archipel_agent_action_scheduler.egg-info/entry_points.txt reading manifest file 'archipel_agent_action_scheduler.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_action_scheduler.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-action-scheduler.egg-link (link to .) archipel-agent-action-scheduler 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-action-scheduler SUCCESS: EGG package archipel-agent-action-scheduler installed in developer mode running develop running egg_info writing requirements to archipel_agent_virtualmachine_snapshoting.egg-info/requires.txt writing archipel_agent_virtualmachine_snapshoting.egg-info/PKG-INFO writing top-level names to archipel_agent_virtualmachine_snapshoting.egg-info/top_level.txt writing dependency_links to archipel_agent_virtualmachine_snapshoting.egg-info/dependency_links.txt writing entry points to archipel_agent_virtualmachine_snapshoting.egg-info/entry_points.txt reading manifest file 'archipel_agent_virtualmachine_snapshoting.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_virtualmachine_snapshoting.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-virtualmachine-snapshoting.egg-link (link to .) archipel-agent-virtualmachine-snapshoting 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-virtualmachine-snapshoting SUCCESS: EGG package archipel-agent-virtualmachine-snapshoting installed in developer mode running develop running egg_info writing requirements to archipel_agent_iphone_notification.egg-info/requires.txt writing archipel_agent_iphone_notification.egg-info/PKG-INFO writing top-level names to archipel_agent_iphone_notification.egg-info/top_level.txt writing dependency_links to archipel_agent_iphone_notification.egg-info/dependency_links.txt writing entry points to archipel_agent_iphone_notification.egg-info/entry_points.txt reading manifest file 'archipel_agent_iphone_notification.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_iphone_notification.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-iphone-notification.egg-link (link to .) archipel-agent-iphone-notification 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-iphone-notification SUCCESS: EGG package archipel-agent-iphone-notification installed in developer mode running develop running egg_info writing requirements to archipel_agent_virtualmachine_oomkiller.egg-info/requires.txt writing archipel_agent_virtualmachine_oomkiller.egg-info/PKG-INFO writing top-level names to archipel_agent_virtualmachine_oomkiller.egg-info/top_level.txt writing dependency_links to archipel_agent_virtualmachine_oomkiller.egg-info/dependency_links.txt writing entry points to archipel_agent_virtualmachine_oomkiller.egg-info/entry_points.txt reading manifest file 'archipel_agent_virtualmachine_oomkiller.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_virtualmachine_oomkiller.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-virtualmachine-oomkiller.egg-link (link to .) archipel-agent-virtualmachine-oomkiller 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-virtualmachine-oomkiller SUCCESS: EGG package archipel-agent-virtualmachine-oomkiller installed in developer mode running develop running egg_info writing requirements to archipel_agent_virtualmachine_storage.egg-info/requires.txt writing archipel_agent_virtualmachine_storage.egg-info/PKG-INFO writing top-level names to archipel_agent_virtualmachine_storage.egg-info/top_level.txt writing dependency_links to archipel_agent_virtualmachine_storage.egg-info/dependency_links.txt writing entry points to archipel_agent_virtualmachine_storage.egg-info/entry_points.txt reading manifest file 'archipel_agent_virtualmachine_storage.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_virtualmachine_storage.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-virtualmachine-storage.egg-link (link to .) archipel-agent-virtualmachine-storage 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-virtualmachine-storage SUCCESS: EGG package archipel-agent-virtualmachine-storage installed in developer mode running develop running egg_info writing requirements to archipel_core.egg-info/requires.txt writing archipel_core.egg-info/PKG-INFO writing top-level names to archipel_core.egg-info/top_level.txt writing dependency_links to archipel_core.egg-info/dependency_links.txt reading manifest file 'archipel_core.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'install/usr/bin' writing manifest file 'archipel_core.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-core.egg-link (link to .) archipel-core 0.6.0beta is already the active version in easy-install.pth Installing archipel-tagnode script to /usr/bin Installing archipel-rolesnode script to /usr/bin Installing archipel-adminaccounts script to /usr/bin Installing archipel-centralagentnode script to /usr/bin Installing archipel-testxmppserver script to /usr/bin Installing archipel-ejabberdadmin script to /usr/bin

Installed /root/Archipel/ArchipelAgent/archipel-core SUCCESS: EGG package archipel-core installed in developer mode running develop running egg_info writing requirements to archipel_agent_virtualmachine_vnc.egg-info/requires.txt writing archipel_agent_virtualmachine_vnc.egg-info/PKG-INFO writing top-level names to archipel_agent_virtualmachine_vnc.egg-info/top_level.txt writing dependency_links to archipel_agent_virtualmachine_vnc.egg-info/dependency_links.txt writing entry points to archipel_agent_virtualmachine_vnc.egg-info/entry_points.txt reading manifest file 'archipel_agent_virtualmachine_vnc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_virtualmachine_vnc.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-virtualmachine-vnc.egg-link (link to .) archipel-agent-virtualmachine-vnc 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-virtualmachine-vnc SUCCESS: EGG package archipel-agent-virtualmachine-vnc installed in developer mode running develop running egg_info writing requirements to archipel_agent_centraldb.egg-info/requires.txt writing archipel_agent_centraldb.egg-info/PKG-INFO writing top-level names to archipel_agent_centraldb.egg-info/top_level.txt writing dependency_links to archipel_agent_centraldb.egg-info/dependency_links.txt writing entry points to archipel_agent_centraldb.egg-info/entry_points.txt reading manifest file 'archipel_agent_centraldb.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'archipel_agent_centraldb.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/archipel-agent-centraldb.egg-link (link to .) archipel-agent-centraldb 0.6.0beta is already the active version in easy-install.pth

Installed /root/Archipel/ArchipelAgent/archipel-agent-centraldb SUCCESS: EGG package archipel-agent-centraldb installed in developer mode MESSAGE: All action performed

./buildCentralAgent -d

MESSAGE: Performing the developer installation SUCCESS: EGG package archipel-agent-xmppserver installed in developer mode SUCCESS: EGG package archipel-central-agent installed in developer mode SUCCESS: EGG package archipel-platformrequest-defaultcomputingunit installed in developer mode SUCCESS: EGG package archipel-core installed in developer mode SUCCESS: EGG package archipel-central-agent-platformrequest installed in developer mode MESSAGE: All action performed

archipel-initinstall

Traceback (most recent call last): File "/usr/bin/archipel-initinstall", line 4, in from pkg_resources import require; require('archipel-agent==0.6.0beta') File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in parse_requirements(requires), Environment() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: apscheduler<3

YATV commented 9 years ago

python

Python 2.7.5 (default, Jun 24 2015, 00:41:19) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. ' >>>import pkg_resources ' >>>pkg_resources.get_distribution('apscheduler') APScheduler 3.0.3 (/usr/lib/python2.7/site-packages/APScheduler-3.0.3-py2.7.egg) ' >>>import apscheduler ' >>>apscheduler.version '3.0.3'

YATV commented 9 years ago

ll /usr/lib/python2.7/site-packages/

total 3888 drwxr-xr-x. 4 root root 4096 Jul 26 15:26 APScheduler-3.0.3-py2.7.egg -rw-r--r--. 1 root root 62 Aug 2 01:26 archipel-agent-action-scheduler.egg-link -rw-r--r--. 1 root root 55 Aug 2 01:26 archipel-agent-centraldb.egg-link -rw-r--r--. 1 root root 45 Aug 2 01:26 archipel-agent.egg-link -rw-r--r--. 1 root root 72 Aug 2 01:26 archipel-agent-hypervisor-geolocalization.egg-link -rw-r--r--. 1 root root 63 Aug 2 01:26 archipel-agent-hypervisor-health.egg-link -rw-r--r--. 1 root root 64 Aug 2 01:26 archipel-agent-hypervisor-network.egg-link -rw-r--r--. 1 root root 65 Aug 2 01:26 archipel-agent-iphone-notification.egg-link -rw-r--r--. 1 root root 70 Aug 2 01:26 archipel-agent-virtualmachine-oomkiller.egg-link -rw-r--r--. 1 root root 72 Aug 2 01:26 archipel-agent-virtualmachine-snapshoting.egg-link -rw-r--r--. 1 root root 68 Aug 2 01:26 archipel-agent-virtualmachine-storage.egg-link -rw-r--r--. 1 root root 64 Aug 2 01:26 archipel-agent-virtualmachine-vnc.egg-link -rw-r--r--. 1 root root 55 Aug 2 01:26 archipel-agent-vmcasting.egg-link -rw-r--r--. 1 root root 55 Aug 2 01:26 archipel-agent-vmparking.egg-link -rw-r--r--. 1 root root 56 Aug 2 01:27 archipel-agent-xmppserver.egg-link -rw-r--r--. 1 root root 53 Aug 2 01:27 archipel-central-agent.egg-link -rw-r--r--. 1 root root 69 Aug 2 01:27 archipel-central-agent-platformrequest.egg-link -rw-r--r--. 1 root root 44 Aug 2 01:27 archipel-core.egg-link -rw-r--r--. 1 root root 76 Aug 2 01:27 archipel-platformrequest-defaultcomputingunit.egg-link drwxr-xr-x. 3 root root 4096 Jul 25 02:11 backports drwxr-xr-x. 2 root root 4096 Jul 25 02:11 backports.ssl_match_hostname-3.4.0.2-py2.7.egg-info drwxr-xr-x 2 root root 4096 Aug 2 01:32 bitlyapi drwxr-xr-x 2 root root 4096 Aug 2 01:32 bitlyapi-0.1.1-py2.7.egg-info drwxr-xr-x 3 root root 4096 Aug 2 01:32 bugwarrior drwxr-xr-x 2 root root 4096 Aug 2 01:32 bugwarrior-0.7.0-py2.7.egg-info drwxr-xr-x 2 root root 4096 Aug 2 01:32 bugzilla drwxr-xr-x 2 root root 4096 Aug 2 01:32 chardet drwxr-xr-x 2 root root 4096 Aug 2 01:32 chardet-2.2.1-py2.7.egg-info -rw-r--r--. 1 root root 2135 Jun 10 2014 configobj-4.7.2-py2.7.egg-info -rw-r--r--. 1 root root 88163 Feb 27 2010 configobj.py -rw-r--r--. 2 root root 66278 Jun 10 2014 configobj.pyc -rw-r--r--. 2 root root 66278 Jun 10 2014 configobj.pyo drwxr-xr-x 3 root root 4096 Aug 2 01:32 dateutil drwxr-xr-x. 2 root root 4096 Jul 25 02:10 decorator-3.4.0-py2.7.egg-info -rw-r--r--. 1 root root 10639 Oct 18 2012 decorator.py -rw-r--r--. 1 root root 8563 Jun 9 2014 decorator.pyc -rw-r--r--. 1 root root 8516 Jun 9 2014 decorator.pyo drwxr-xr-x 4 root root 4096 Aug 2 01:32 dogpile drwxr-xr-x 2 root root 4096 Aug 2 01:32 dogpile.cache-0.5.5-py2.7.egg-info -rw-r--r-- 1 root root 310 Jan 21 2015 dogpile.cache-0.5.5-py2.7-nspkg.pth drwxr-xr-x 2 root root 4096 Aug 2 01:32 dogpile.core-0.4.1-py2.7.egg-info -rw-r--r-- 1 root root 310 Jan 28 2014 dogpile.core-0.4.1-py2.7-nspkg.pth -rw-r--r--. 1 root root 1443 Jul 26 15:33 easy-install.pth -rw-r--r--. 1 root root 126 Jul 15 2013 easy_install.py -rw-r--r--. 2 root root 315 Jun 9 2014 easy_install.pyc -rw-r--r--. 2 root root 315 Jun 9 2014 easy_install.pyo drwxr-xr-x. 5 root root 4096 Jul 25 02:13 firewall drwxr-xr-x. 4 root root 4096 Jul 26 15:26 futures-3.0.3-py2.7.egg drwxr-xr-x. 2 root root 4096 Jul 25 02:45 gluster -rw-r--r--. 1 root root 837 Mar 5 20:46 glusterfs_api-3.6.0.29-py2.7.egg-info drwxr-xr-x. 2 root root 4096 Jul 25 02:11 iniparse -rw-r--r--. 1 root root 1083 Jun 9 2014 iniparse-0.4-py2.7.egg-info drwxr-xr-x 5 root root 4096 Aug 2 01:32 keyring drwxr-xr-x 2 root root 4096 Aug 2 01:32 keyring-5.0-py2.7.egg-info -rw-r--r-- 1 root root 217 Jun 10 2014 Magic_file_extensions-0.2-py2.7.egg-info -rw-r--r-- 1 root root 6558 Sep 22 2011 magic.py -rw-r--r-- 2 root root 8202 Jun 10 2014 magic.pyc -rw-r--r-- 2 root root 8202 Jun 10 2014 magic.pyo drwxr-xr-x. 2 root root 4096 Jul 25 02:11 _markerlib drwxr-xr-x. 6 root root 4096 Jul 25 15:04 nose drwxr-xr-x. 2 root root 4096 Jul 25 15:04 nose-1.3.0-py2.7.egg-info drwxr-xr-x 2 root root 4096 Aug 2 01:32 offtrac -rw-r--r-- 1 root root 330 Dec 16 2013 offtrac-0.1.0-py2.7.egg-info -rw-r--r-- 1 root root 183 Jan 10 2014 ordereddict-1.1-py2.7.egg-info -rw-r--r-- 1 root root 4221 Oct 28 2010 ordereddict.py -rw-r--r-- 2 root root 4372 Jan 10 2014 ordereddict.pyc -rw-r--r-- 2 root root 4372 Jan 10 2014 ordereddict.pyo -rw-r--r--. 1 root root 101108 Jul 15 2013 pkg_resources.py -rw-r--r--. 1 root root 108033 Jun 9 2014 pkg_resources.pyc -rw-r--r--. 1 root root 108001 Jun 9 2014 pkg_resources.pyo drwxr-xr-x 2 root root 4096 Aug 2 01:32 python_bugzilla-1.2.1-py2.7.egg-info drwxr-xr-x 2 root root 4096 Aug 2 01:32 python_dateutil-1.5-py2.7.egg-info drwxr-xr-x 2 root root 4096 Aug 2 01:32 pytz -rw-r--r-- 1 root root 23309 Jun 9 2014 pytz-2012d-py2.7.egg-info -rw-r--r--. 1 root root 476270 Jul 26 15:26 pytz-2015.4-py2.7.egg drwxr-xr-x. 2 root root 4096 Jul 25 02:11 pyudev drwxr-xr-x. 2 root root 4096 Jul 25 02:11 pyudev-0.15-py2.7.egg-info drwxr-xr-x 3 root root 4096 Aug 2 01:32 requests -rw-r--r-- 1 root root 40357 Jul 22 17:14 requests-2.6.0-py2.7.egg-info drwxr-xr-x. 2 root root 4096 Jul 25 02:12 rpmUtils drwxr-xr-x. 4 root root 4096 Jul 25 02:11 setuptools drwxr-xr-x. 2 root root 4096 Jul 25 02:11 setuptools-0.9.8-py2.7.egg-info -rw-r--r-- 1 root root 1249 Jun 9 2014 six-1.3.0-py2.7.egg-info drwxr-xr-x. 3 root root 4096 Jul 26 15:26 six-1.9.0-py2.7.egg -rw-r--r-- 1 root root 12415 Mar 18 2013 six.py -rw-r--r-- 2 root root 13768 Jun 9 2014 six.pyc -rw-r--r-- 2 root root 13768 Jun 9 2014 six.pyo drwxr-xr-x. 5 root root 4096 Jul 25 02:11 slip -rw-r--r--. 1 root root 196 Jun 9 2014 slip-0.4.0-py2.7.egg-info -rw-r--r--. 1 root root 269 Jun 9 2014 slip.dbus-0.4.0-py2.7.egg-info -rw-r--r--. 1 root root 2237781 Jul 26 15:27 SQLAlchemy-1.0.8-py2.7-linux-x86_64.egg drwxr-xr-x 3 root root 4096 Aug 2 01:32 taskw drwxr-xr-x 2 root root 4096 Aug 2 01:32 taskw-0.8.6-py2.7.egg-info drwxr-xr-x. 12 root root 4096 Jul 25 02:14 tuned drwxr-xr-x 4 root root 4096 Aug 2 01:32 twiggy -rw-r--r-- 1 root root 823 Sep 17 2014 Twiggy-0.4.5-py2.7.egg-info -rw-r--r--. 1 root root 26120 Jul 26 15:26 tzlocal-1.2-py2.7.egg drwxr-xr-x. 2 root root 4096 Jul 25 02:11 urlgrabber -rw-r--r--. 1 root root 2265 Mar 6 02:15 urlgrabber-3.10-py2.7.egg-info drwxr-xr-x 5 root root 4096 Aug 2 01:32 urllib3 drwxr-xr-x 2 root root 4096 Aug 2 01:32 urllib3-1.10.2-py2.7.egg-info -rw-r--r--. 1 root root 46303 Jun 10 2014 validate.py -rw-r--r--. 2 root root 46711 Jun 10 2014 validate.pyc -rw-r--r--. 2 root root 46711 Jun 10 2014 validate.pyo drwxr-xr-x. 2 root root 4096 Jul 25 02:12 yum

YATV commented 9 years ago

archipel-initinstall

Traceback (most recent call last): File "/usr/bin/archipel-initinstall", line 4, in from pkg_resources import require; require('archipel-agent==0.6.0beta') File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in parse_requirements(requires), Environment() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: apscheduler<3

YATV commented 9 years ago

easy_install apscheduler

Searching for apscheduler Best match: APScheduler 3.0.3 Processing APScheduler-3.0.3-py2.7.egg APScheduler 3.0.3 is already the active version in easy-install.pth

Using /usr/lib/python2.7/site-packages/APScheduler-3.0.3-py2.7.egg Processing dependencies for apscheduler Finished processing dependencies for apscheduler

archipel-initinstall

Traceback (most recent call last): File "/usr/bin/archipel-initinstall", line 4, in from pkg_resources import require; require('archipel-agent==0.6.0beta') File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in parse_requirements(requires), Environment() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: apscheduler<3

(((((

YATV commented 9 years ago

How I fixed this?

easy_install archipel-agent

Processing archipel-agent Writing /root/Archipel/ArchipelAgent/archipel-agent/setup.cfg Running setup.py -q bdist_egg --dist-dir /root/Archipel/ArchipelAgent/archipel-agent/egg-dist-tmp-IHiDvM Removing archipel-agent 0.6.0beta from easy-install.pth file Adding archipel-agent 0.6.0beta to easy-install.pth file Installing archipel-command script to /usr/bin Installing archipel-commandsbytag script to /usr/bin Installing archipel-initinstall script to /usr/bin Installing archipel-updatedomain script to /usr/bin Installing archipel-importvirtualmachine script to /usr/bin Installing runarchipel script to /usr/bin

Installed /usr/lib/python2.7/site-packages/archipel_agent-0.6.0beta-py2.7.egg Processing dependencies for archipel-agent==0.6.0beta Searching for apscheduler<3 Reading https://pypi.python.org/simple/apscheduler/ Best match: APScheduler 3.0.0rc1 Downloading https://pypi.python.org/packages/source/A/APScheduler/APScheduler-3.0.0rc1.tar.gz#md5=0f974613651ae62702bd5179257e7468 Processing APScheduler-3.0.0rc1.tar.gz Writing /tmp/easy_install-7dUroo/APScheduler-3.0.0rc1/setup.cfg Running APScheduler-3.0.0rc1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7dUroo/APScheduler-3.0.0rc1/egg-dist-tmp-N4KSLf Removing APScheduler 3.0.3 from easy-install.pth file Adding APScheduler 3.0.0rc1 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/APScheduler-3.0.0rc1-py2.7.egg Finished processing dependencies for archipel-agent==0.6.0beta

archipel-initinstall

MESSAGE: Installation initialization started MESSAGE: Installing Service script to /usr/lib/systemd/system SUCCESS: Service script installed MESSAGE: Installing configuration to /etc/archipel SUCCESS: Config folder installed SUCCESS: Config file chmoded MESSAGE: Pre-configuring /etc/archipel/archipel.conf: MESSAGE: Installing data folder to /var/lib/archipel SUCCESS: Lib folder installed MESSAGE: Installation configuration for plugin archipel-agent-hypervisor-network 0.6.0beta SUCCESS: hypervisor-network.conf installed MESSAGE: Installation configuration for plugin archipel-agent-xmppserver 0.6.0beta SUCCESS: xmppserver.conf installed MESSAGE: Installation configuration for plugin archipel-agent-vmparking 0.6.0beta SUCCESS: vmparking.conf installed MESSAGE: Installation configuration for plugin archipel-agent-hypervisor-health 0.6.0beta SUCCESS: hypervisor-health.conf installed MESSAGE: Installation configuration for plugin archipel-agent-vmcasting 0.6.0beta SUCCESS: vmcasting.conf installed MESSAGE: Installation configuration for plugin archipel-agent-hypervisor-geolocalization 0.6.0beta SUCCESS: hypervisor-geolocalization.conf installed MESSAGE: Installation configuration for plugin archipel-agent-action-scheduler 0.6.0beta SUCCESS: action-scheduler.conf installed MESSAGE: Installation configuration for plugin archipel-agent-virtualmachine-snapshoting 0.6.0beta SUCCESS: virtualmachine-snapshoting.conf installed MESSAGE: Installation configuration for plugin archipel-agent-iphone-notification 0.6.0beta SUCCESS: iphone-notification.conf installed MESSAGE: Installation configuration for plugin archipel-agent-virtualmachine-oomkiller 0.6.0beta SUCCESS: virtualmachine-oomkiller.conf installed MESSAGE: Installation configuration for plugin archipel-agent-virtualmachine-storage 0.6.0beta SUCCESS: virtualmachine-storage.conf installed MESSAGE: Installation configuration for plugin archipel-agent-virtualmachine-vnc 0.6.0beta SUCCESS: virtualmachine-vnc.conf installed MESSAGE: Installation configuration for plugin archipel-agent-centraldb 0.6.0beta SUCCESS: centraldb.conf installed SUCCESS: Archipel installation complete MESSAGE: IMPORTANT NOTE 1: you now need to edit /etc/archipel/archipel.conf to match your info MESSAGE: IMPORTANT NOTE 2: If you have used --name=auto and/or --xmpp-server=auto, please check values for xmpp_server and hypervisor_xmpp_jid MESSAGE: IMPORTANT NOTE 3: if this is not already done, you need to run archipel-tagnode, archipel-rolesnode, archipel-adminaccount, archipel-vmparkingnode and archipel-vmrequestnode

INSTALLED! But...

https://github.com/ArchipelProject/Archipel/wiki/Installation%3A-Agent says: "Mixing OS packaged versions of libraries with easy_install/pip can cause some installation problems (seen on Ubuntu), therefore it is recommended to try to not mix both methods when possible and use easy_install/pip." Need fixed this. GO!

ll /usr/lib/python2.7/site-packages/

total 3896 drwxr-xr-x 4 root root 4096 Aug 2 01:44 APScheduler-3.0.0rc1-py2.7.egg drwxr-xr-x. 4 root root 4096 Jul 26 15:26 APScheduler-3.0.3-py2.7.egg drwxr-xr-x 5 root root 4096 Aug 2 01:44 archipel_agent-0.6.0beta-py2.7.egg -rw-r--r--. 1 root root 62 Aug 2 01:26 archipel-agent-action-scheduler.egg-link -rw-r--r--. 1 root root 55 Aug 2 01:26 archipel-agent-centraldb.egg-link -rw-r--r--. 1 root root 45 Aug 2 01:26 archipel-agent.egg-link -rw-r--r--. 1 root root 72 Aug 2 01:26 archipel-agent-hypervisor-geolocalization.egg-link -rw-r--r--. 1 root root 63 Aug 2 01:26 archipel-agent-hypervisor-health.egg-link -rw-r--r--. 1 root root 64 Aug 2 01:26 archipel-agent-hypervisor-network.egg-link -rw-r--r--. 1 root root 65 Aug 2 01:26 archipel-agent-iphone-notification.egg-link -rw-r--r--. 1 root root 70 Aug 2 01:26 archipel-agent-virtualmachine-oomkiller.egg-link -rw-r--r--. 1 root root 72 Aug 2 01:26 archipel-agent-virtualmachine-snapshoting.egg-link -rw-r--r--. 1 root root 68 Aug 2 01:26 archipel-agent-virtualmachine-storage.egg-link -rw-r--r--. 1 root root 64 Aug 2 01:26 archipel-agent-virtualmachine-vnc.egg-link -rw-r--r--. 1 root root 55 Aug 2 01:26 archipel-agent-vmcasting.egg-link -rw-r--r--. 1 root root 55 Aug 2 01:26 archipel-agent-vmparking.egg-link -rw-r--r--. 1 root root 56 Aug 2 01:27 archipel-agent-xmppserver.egg-link -rw-r--r--. 1 root root 53 Aug 2 01:27 archipel-central-agent.egg-link -rw-r--r--. 1 root root 69 Aug 2 01:27 archipel-central-agent-platformrequest.egg-link -rw-r--r--. 1 root root 44 Aug 2 01:27 archipel-core.egg-link -rw-r--r--. 1 root root 76 Aug 2 01:27 archipel-platformrequest-defaultcomputingunit.egg-link drwxr-xr-x. 3 root root 4096 Jul 25 02:11 backports drwxr-xr-x. 2 root root 4096 Jul 25 02:11 backports.ssl_match_hostname-3.4.0.2-py2.7.egg-info drwxr-xr-x 2 root root 4096 Aug 2 01:32 bitlyapi drwxr-xr-x 2 root root 4096 Aug 2 01:32 bitlyapi-0.1.1-py2.7.egg-info drwxr-xr-x 3 root root 4096 Aug 2 01:32 bugwarrior drwxr-xr-x 2 root root 4096 Aug 2 01:32 bugwarrior-0.7.0-py2.7.egg-info drwxr-xr-x 2 root root 4096 Aug 2 01:32 bugzilla drwxr-xr-x 2 root root 4096 Aug 2 01:32 chardet drwxr-xr-x 2 root root 4096 Aug 2 01:32 chardet-2.2.1-py2.7.egg-info -rw-r--r--. 1 root root 2135 Jun 10 2014 configobj-4.7.2-py2.7.egg-info -rw-r--r--. 1 root root 88163 Feb 27 2010 configobj.py -rw-r--r--. 2 root root 66278 Jun 10 2014 configobj.pyc -rw-r--r--. 2 root root 66278 Jun 10 2014 configobj.pyo drwxr-xr-x 3 root root 4096 Aug 2 01:32 dateutil drwxr-xr-x. 2 root root 4096 Jul 25 02:10 decorator-3.4.0-py2.7.egg-info -rw-r--r--. 1 root root 10639 Oct 18 2012 decorator.py -rw-r--r--. 1 root root 8563 Jun 9 2014 decorator.pyc -rw-r--r--. 1 root root 8516 Jun 9 2014 decorator.pyo drwxr-xr-x 4 root root 4096 Aug 2 01:32 dogpile drwxr-xr-x 2 root root 4096 Aug 2 01:32 dogpile.cache-0.5.5-py2.7.egg-info -rw-r--r-- 1 root root 310 Jan 21 2015 dogpile.cache-0.5.5-py2.7-nspkg.pth drwxr-xr-x 2 root root 4096 Aug 2 01:32 dogpile.core-0.4.1-py2.7.egg-info -rw-r--r-- 1 root root 310 Jan 28 2014 dogpile.core-0.4.1-py2.7-nspkg.pth -rw-r--r--. 1 root root 1439 Aug 2 01:44 easy-install.pth -rw-r--r--. 1 root root 126 Jul 15 2013 easy_install.py -rw-r--r--. 2 root root 315 Jun 9 2014 easy_install.pyc -rw-r--r--. 2 root root 315 Jun 9 2014 easy_install.pyo drwxr-xr-x. 5 root root 4096 Jul 25 02:13 firewall drwxr-xr-x. 4 root root 4096 Jul 26 15:26 futures-3.0.3-py2.7.egg drwxr-xr-x. 2 root root 4096 Jul 25 02:45 gluster -rw-r--r--. 1 root root 837 Mar 5 20:46 glusterfs_api-3.6.0.29-py2.7.egg-info drwxr-xr-x. 2 root root 4096 Jul 25 02:11 iniparse -rw-r--r--. 1 root root 1083 Jun 9 2014 iniparse-0.4-py2.7.egg-info drwxr-xr-x 5 root root 4096 Aug 2 01:32 keyring drwxr-xr-x 2 root root 4096 Aug 2 01:32 keyring-5.0-py2.7.egg-info -rw-r--r-- 1 root root 217 Jun 10 2014 Magic_file_extensions-0.2-py2.7.egg-info -rw-r--r-- 1 root root 6558 Sep 22 2011 magic.py -rw-r--r-- 2 root root 8202 Jun 10 2014 magic.pyc -rw-r--r-- 2 root root 8202 Jun 10 2014 magic.pyo drwxr-xr-x. 2 root root 4096 Jul 25 02:11 _markerlib drwxr-xr-x. 6 root root 4096 Jul 25 15:04 nose drwxr-xr-x. 2 root root 4096 Jul 25 15:04 nose-1.3.0-py2.7.egg-info drwxr-xr-x 2 root root 4096 Aug 2 01:32 offtrac -rw-r--r-- 1 root root 330 Dec 16 2013 offtrac-0.1.0-py2.7.egg-info -rw-r--r-- 1 root root 183 Jan 10 2014 ordereddict-1.1-py2.7.egg-info -rw-r--r-- 1 root root 4221 Oct 28 2010 ordereddict.py -rw-r--r-- 2 root root 4372 Jan 10 2014 ordereddict.pyc -rw-r--r-- 2 root root 4372 Jan 10 2014 ordereddict.pyo -rw-r--r--. 1 root root 101108 Jul 15 2013 pkg_resources.py -rw-r--r--. 1 root root 108033 Jun 9 2014 pkg_resources.pyc -rw-r--r--. 1 root root 108001 Jun 9 2014 pkg_resources.pyo drwxr-xr-x 2 root root 4096 Aug 2 01:32 python_bugzilla-1.2.1-py2.7.egg-info drwxr-xr-x 2 root root 4096 Aug 2 01:32 python_dateutil-1.5-py2.7.egg-info drwxr-xr-x 2 root root 4096 Aug 2 01:32 pytz -rw-r--r-- 1 root root 23309 Jun 9 2014 pytz-2012d-py2.7.egg-info -rw-r--r--. 1 root root 476270 Jul 26 15:26 pytz-2015.4-py2.7.egg drwxr-xr-x. 2 root root 4096 Jul 25 02:11 pyudev drwxr-xr-x. 2 root root 4096 Jul 25 02:11 pyudev-0.15-py2.7.egg-info drwxr-xr-x 3 root root 4096 Aug 2 01:32 requests -rw-r--r-- 1 root root 40357 Jul 22 17:14 requests-2.6.0-py2.7.egg-info drwxr-xr-x. 2 root root 4096 Jul 25 02:12 rpmUtils drwxr-xr-x. 4 root root 4096 Jul 25 02:11 setuptools drwxr-xr-x. 2 root root 4096 Jul 25 02:11 setuptools-0.9.8-py2.7.egg-info -rw-r--r-- 1 root root 1249 Jun 9 2014 six-1.3.0-py2.7.egg-info drwxr-xr-x. 3 root root 4096 Jul 26 15:26 six-1.9.0-py2.7.egg -rw-r--r-- 1 root root 12415 Mar 18 2013 six.py -rw-r--r-- 2 root root 13768 Jun 9 2014 six.pyc -rw-r--r-- 2 root root 13768 Jun 9 2014 six.pyo drwxr-xr-x. 5 root root 4096 Jul 25 02:11 slip -rw-r--r--. 1 root root 196 Jun 9 2014 slip-0.4.0-py2.7.egg-info -rw-r--r--. 1 root root 269 Jun 9 2014 slip.dbus-0.4.0-py2.7.egg-info -rw-r--r--. 1 root root 2237781 Jul 26 15:27 SQLAlchemy-1.0.8-py2.7-linux-x86_64.egg drwxr-xr-x 3 root root 4096 Aug 2 01:32 taskw drwxr-xr-x 2 root root 4096 Aug 2 01:32 taskw-0.8.6-py2.7.egg-info drwxr-xr-x. 12 root root 4096 Jul 25 02:14 tuned drwxr-xr-x 4 root root 4096 Aug 2 01:32 twiggy -rw-r--r-- 1 root root 823 Sep 17 2014 Twiggy-0.4.5-py2.7.egg-info -rw-r--r--. 1 root root 26120 Jul 26 15:26 tzlocal-1.2-py2.7.egg drwxr-xr-x. 2 root root 4096 Jul 25 02:11 urlgrabber -rw-r--r--. 1 root root 2265 Mar 6 02:15 urlgrabber-3.10-py2.7.egg-info drwxr-xr-x 5 root root 4096 Aug 2 01:32 urllib3 drwxr-xr-x 2 root root 4096 Aug 2 01:32 urllib3-1.10.2-py2.7.egg-info -rw-r--r--. 1 root root 46303 Jun 10 2014 validate.py -rw-r--r--. 2 root root 46711 Jun 10 2014 validate.pyc -rw-r--r--. 2 root root 46711 Jun 10 2014 validate.pyo drwxr-xr-x. 2 root root 4096 Jul 25 02:12 yum

easy_install -m archipel_agent

Searching for archipel-agent Best match: archipel-agent 0.6.0beta Processing archipel_agent-0.6.0beta-py2.7.egg Removing archipel-agent 0.6.0beta from easy-install.pth file Installing archipel-command script to /usr/bin Installing archipel-commandsbytag script to /usr/bin Installing archipel-initinstall script to /usr/bin Installing archipel-updatedomain script to /usr/bin Installing archipel-importvirtualmachine script to /usr/bin Installing runarchipel script to /usr/bin

Using /usr/lib/python2.7/site-packages/archipel_agent-0.6.0beta-py2.7.egg

Because this distribution was installed --multi-version, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version:

pkg_resources.require("archipel-agent")  # latest installed version
pkg_resources.require("archipel-agent==0.6.0beta")  # this exact version
pkg_resources.require("archipel-agent>=0.6.0beta")  # this version or higher

Processing dependencies for archipel-agent Finished processing dependencies for archipel-agent

rm -rf /usr/lib/python2.7/site-packages/archipel_agent-0.6.0beta-py2.7.egg

Run now: ./buildAgent -d ./buildCentralAgent -d archipel-initinstall

No problem!

YATV commented 9 years ago

ll /usr/lib/python2.7/site-packages/

total 3892 drwxr-xr-x 4 root root 4096 Aug 2 01:44 APScheduler-3.0.0rc1-py2.7.egg drwxr-xr-x. 4 root root 4096 Jul 26 15:26 APScheduler-3.0.3-py2.7.egg -rw-r--r--. 1 root root 62 Aug 2 01:49 archipel-agent-action-scheduler.egg-link -rw-r--r--. 1 root root 55 Aug 2 01:49 archipel-agent-centraldb.egg-link -rw-r--r--. 1 root root 45 Aug 2 01:48 archipel-agent.egg-link -rw-r--r--. 1 root root 72 Aug 2 01:49 archipel-agent-hypervisor-geolocalization.egg-link -rw-r--r--. 1 root root 63 Aug 2 01:49 archipel-agent-hypervisor-health.egg-link -rw-r--r--. 1 root root 64 Aug 2 01:49 archipel-agent-hypervisor-network.egg-link -rw-r--r--. 1 root root 65 Aug 2 01:49 archipel-agent-iphone-notification.egg-link -rw-r--r--. 1 root root 70 Aug 2 01:49 archipel-agent-virtualmachine-oomkiller.egg-link -rw-r--r--. 1 root root 72 Aug 2 01:49 archipel-agent-virtualmachine-snapshoting.egg-link -rw-r--r--. 1 root root 68 Aug 2 01:49 archipel-agent-virtualmachine-storage.egg-link -rw-r--r--. 1 root root 64 Aug 2 01:49 archipel-agent-virtualmachine-vnc.egg-link -rw-r--r--. 1 root root 55 Aug 2 01:49 archipel-agent-vmcasting.egg-link -rw-r--r--. 1 root root 55 Aug 2 01:49 archipel-agent-vmparking.egg-link -rw-r--r--. 1 root root 56 Aug 2 01:49 archipel-agent-xmppserver.egg-link -rw-r--r--. 1 root root 53 Aug 2 01:27 archipel-central-agent.egg-link -rw-r--r--. 1 root root 69 Aug 2 01:27 archipel-central-agent-platformrequest.egg-link -rw-r--r--. 1 root root 44 Aug 2 01:49 archipel-core.egg-link -rw-r--r--. 1 root root 76 Aug 2 01:27 archipel-platformrequest-defaultcomputingunit.egg-link .......

Maybe problem with version APScheduler

YATV commented 9 years ago

archipel-initinstall asks an older version APScheduler (((

CyrilPeponnet commented 9 years ago

Apscheduler < 3 si needed. They change their API with 3.x. Don't install archipel from pypi its outdated. Use nightlies or master and read the wiki for installation instructions.