VMware Cloud Community
ThiagoVieira
Contributor
Contributor

After upgrade VIO 1 to 2 - Backup error

root@localhost:/home/viouser# viocli backup -v openstack_db 10.210.80.111:/nfs

Starting backup of OpenStack database...

PLAY [db] *********************************************************************

GATHERING FACTS ***************************************************************

ok: [10.210.36.122]

ok: [10.210.36.124]

ok: [10.210.36.123]

TASK: [create-nfs-mount | install nfs common if not installed] ****************

skipping: [10.210.36.123]

skipping: [10.210.36.124]

failed: [10.210.36.122] => {"failed": true, "parsed": false}

SUDO-SUCCESS-sgpoohtuxnlodhxkdbeghjlpcyadiakw

Traceback (most recent call last):

  File "/home/viouser/.ansible/tmp/ansible-tmp-1447765141.76-26684197009549/apt", line 2167, in <module>

    main()

  File "/home/viouser/.ansible/tmp/ansible-tmp-1447765141.76-26684197009549/apt", line 547, in main

    cache.update()

  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 440, in update

    raise FetchFailedException(e)

apt.cache.FetchFailedException: W:Failed to fetch http://10.210.36.120/apt/viobaseos/dists/trusty/icehouse/main/binary-amd64/Packages  404  Not Found

, W:Failed to fetch http://10.210.36.120/apt/viobaseos/dists/trusty/icehouse/universe/binary-amd64/Packages  404  Not Found

, E:Some index files failed to download. They have been ignored, or old ones used instead.

FATAL: all hosts have already failed -- aborting

0 Kudos
1 Reply
ThiagoVieira
Contributor
Contributor

To temporarily  do the backups without error I make the copy...

root@localhost:/var/www/apt/viobaseos/dists/trusty# cp -Rf kilo/ icehouse

root@localhost:~# cd /var/www/apt/viobaseos/dists/trusty/

root@localhost:/var/www/apt/viobaseos/dists/trusty# ll

total 16

drwxr-xr-x 4 root root 4096 Nov 17 13:02 ./

drwxr-xr-x 3 root root 4096 Jun 17 04:15 ../

drwxr-xr-x 4 root root 4096 Nov 17 13:02 icehouse/

drwxr-xr-x 4 root root 4096 Nov 17 11:08 kilo/

root@localhost:/var/www/apt/viobaseos/dists/trusty#

And it works, but how to change the ansible file???????

0 Kudos