lpouillo / vm5k

A Python module to help you to manage virtual machines on the Grid'5000 platform
https://www.grid5000.fr/
Other
6 stars 4 forks source link

Problem during APT configuration #63

Closed badock closed 10 years ago

badock commented 10 years ago

Hi,

when I run the following command: jpastor@fnancy:~$ vm5k --n_vm 336 -j 48591 -e wheezy-x64-prod --forcedeploy -k

I get this output

2014-01-27 14:23:21,132 INFO: Using n_vm = 336, vm_template = and resources grid5000 2014-01-27 14:23:21,137 INFO: Reservation 2014-01-27 14:23:21,137 INFO: Using an existing job: 48591 2014-01-27 14:23:21,137 INFO: Retrieving hosts and network parameters 2014-01-27 14:24:19,808 INFO: STARTING vm5k_deployment
2014-01-27 14:24:22,391 INFO: 4 sites 4 clusters 40 hosts 336 vms 2014-01-27 14:24:22,391 INFO: Deploying the hosts
2014-01-27 14:24:22,391 INFO: Deploying 40 hosts sol-5 sol-6 sol-9 sol-7 sol-8 sol-46 sol-49 sol-50 sol-48 sol-45 graphene-4 graphene-33 graphene-38 graphene-78 graphene-34 graphene-30 graphene-41 graphene-32 graphene-31 graphene-40 petitprince-2 petitprince-5 petitprince-4 petitprince-9 petitprince-14 petitprince-8 petitprince-13 petitprince-15 petitprince-6 petitprince-7 edel-14 edel-16 edel-3 edel-13 edel-36 edel-18 edel-17 edel-4 edel-19 edel-15 2014-01-27 14:31:48,017 WARNING: <Kadeployer(Deployment(hosts=set(['petitprince-4.luxembourg.grid5000.fr', 'petitprince-9.luxembourg.grid5000.fr', 'edel-15.grenoble.grid5000.fr', 'sol-7.sophia.grid5000.fr', 'edel-4.grenoble.grid5000.fr', 'edel-16.grenoble.grid5000.fr', 'petitprince-15.luxembourg.grid5000.fr', 'sol-5.sophia.grid5000.fr', 'edel-17.grenoble.grid5000.fr', 'petitprince-2.luxembourg.grid5000.fr', 'petitprince-13.luxembourg.grid5000.fr', 'graphene-30.nancy.grid5000.fr', 'sol-6.sophia.grid5000.fr', 'graphene-38.nancy.grid5000.fr', 'edel-3.grenoble.grid5000.fr', 'graphene-4.nancy.grid5000.fr', 'petitprince-6.luxembourg.grid5000.fr', 'graphene-31.nancy.grid5000.fr', 'sol-50.sophia.grid5000.fr', 'edel-13.grenoble.grid5000.fr', 'sol-48.sophia.grid5000.fr', 'sol-49.sophia.grid5000.fr', 'edel-36.grenoble.grid5000.fr', 'petitprince-14.luxembourg.grid5000.fr', 'sol-8.sophia.grid5000.fr', 'graphene-34.nancy.grid5000.fr', 'petitprince-8.luxembourg.grid5000.fr', 'edel-18.grenoble.grid5000.fr', 'petitprince-5.luxembourg.grid5000.fr', 'graphene-33.nancy.grid5000.fr', 'graphene-40.nancy.grid5000.fr', 'sol-9.sophia.grid5000.fr', 'graphene-32.nancy.grid5000.fr', 'edel-19.grenoble.grid5000.fr', 'graphene-78.nancy.grid5000.fr', 'sol-45.sophia.grid5000.fr', 'edel-14.grenoble.grid5000.fr', 'petitprince-7.luxembourg.grid5000.fr', 'graphene-41.nancy.grid5000.fr', 'sol-46.sophia.grid5000.fr']), env_name='wheezy-x64-base', vlan=11), name=Kadeployer on 40 hosts / 4 frontends, started=True, start_date='2014-01-27 14:24:22+01:00', ended=False, end_date='2014-01-27 14:31:48+01:00', num_processes=4, num_started=4, num_ended=4, num_timeouts=0, num_errors=0, num_forced_kills=0, num_non_zero_exit_codes=0, num_ok=4, num_finished_ok=4, ok=True, total/deployed/undeployed = 40/39/1)>: deploy on grenoble, total/deployed/undeployed = 10/9/1 2014-01-27 14:31:48,034 INFO: Deployed 39 hosts edel-13 edel-14 edel-15 edel-16 edel-17 edel-18 edel-19 edel-3 edel-4 graphene-30 graphene-31 graphene-32 graphene-33 graphene-34 graphene-38 graphene-4 graphene-40 graphene-41 graphene-78 petitprince-13 petitprince-14 petitprince-15 petitprince-2 petitprince-4 petitprince-5 petitprince-6 petitprince-7 petitprince-8 petitprince-9 sol-45 sol-46 sol-48 sol-49 sol-5 sol-50 sol-6 sol-7 sol-8 sol-9 2014-01-27 14:31:51,184 INFO: Managing packages
2014-01-27 14:31:51,185 INFO: Configuring APT Traceback (most recent call last): File "/home/jpastor/vm5k/bin/vm5k", line 292, in vm5k.packages_management(upgrade = True, other_packages = 'hwloc') File "/home/jpastor/.local/lib/python2.7/site-packages/vm5k/deployment.py", line 429, in packages_management self._configure_apt() File "/home/jpastor/.local/lib/python2.7/site-packages/vm5k/deployment.py", line 461, in _configure_apt remote_location = '/etc/apt/').run() File "/home/jpastor/.local/lib/python2.7/site-packages/execo/action.py", line 1635, in get_fileput return ChainPut(_args, *_kwargs) File "/home/jpastor/.local/lib/python2.7/site-packages/execo/action.py", line 1505, in init super(ChainPut, self).init([]) File "/home/jpastor/.local/lib/python2.7/site-packages/execo/action.py", line 1342, in init self._init_actions() File "/home/jpastor/.local/lib/python2.7/site-packages/execo/action.py", line 1531, in _init_actions raise EnvironmentError, "unable to find execo-chainput"

EnvironmentError: unable to find execo-chainput

Thanks

lpouillo commented 10 years ago

This a problem of path. You should configure your .profile to add .local/bin in your path : export PATH="$HOME/.local/bin${PATH:+:${PATH}}"