[upgrade] Periodically untar of upgrade script fails with 'tar: This does not look like a tar archive'

Bug #1448904 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel QA Team
7.0.x
Won't Fix
High
Fuel QA Team

Bug Description

Reproduced on fuel-6.1-upgrade-352-2015-04-26_22-54-38.tar.lrz

Steps:
1. Install 6.0-58 fuel
2. Upload 6.1 upgrade script to master
3. Run command:
lrzuntar fuel-6.1-upgrade-352-2015-04-26_22-54-38.tar.lrz

Actual result - it failed periodically with
Decompressing...
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

It is reproduced in many tests on CI last time.

We need to decide how to solve it - add retry in tests to untar it twice or fix problem in tarball if there is some.

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Looks like root cause here is issue with copying of tarball. It is not about creation of broken tarball or incorrect unpack procedure. Moving this bug back to QA team

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Fuel QA Team (fuel-qa)
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

As I know Igor also had this issue on local environment.

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Fuel Python Team (fuel-python)
Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

Well, I got this issue two. When I remove this tarball from master node and re-upload it again (with 'sync' command)

    lrzuntar fuel-6.1-upgrade-352-2015-04-26_22-54-38.tar.lrz; sync

the tarball was extracted correctly. That basically means that the tarball is ok and there're some issues with syncing buffers on fs or something like that (please note, i don't redownload the tarball. just re-scp to my master node vm).

Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

Sorry, I just paste wrong command. I perform `scp` with sync, not `lrzuntar`.

    scp fuel-6.1-upgrade-352-2015-04-26_22-54-38.tar.lrz root@masternode:/var/tmp; sync

Changed in fuel:
status: New → Invalid
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

Got the same issue on swarm for 7.0 MU1:

2015-11-08 14:26:33,700 - DEBUG helpers.py:328 -- Executing command: 'cd /var && lrzuntar MirantisOpenStack-7.0-upgrade.tar.lrz'
...
2015-11-08 14:27:12,015 - DEBUG helpers.py:328 -- Executing command: 'chmod 755 /var/upgrade.sh'
2015-11-08 14:27:12,073 - DEBUG checkers.py:276 -- Result of cmod is {'exit_code': 1, 'stderr': ["chmod: cannot access `/var/upgrade.sh': No such file or directory\n"], 'stdout': []}

Test failed because upgrade tarball wasn't copied to master node properly. But some time after the test failed I was able to unpack the archive manually, so most probably this bug is about how we upload upgrade tarball. The issue needs further investigation.

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Fuel QA Team (fuel-qa)
status: Invalid → Confirmed
milestone: 6.1 → 8.0
Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/8.0.x
tags: added: area-qa
tags: added: 70-mu1-new-bug
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

Moving to 'invalid' for 8.0 because Fuel upgrade using tarball was deprecated and is not supported anymore.

Changed in fuel:
status: Confirmed → Invalid
tags: added: non-release
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

We no longer support MOS5.1, MOS6.0, MOS6.1
We deliver only Critical/Security fixes to MOS7.0, MOS8.0.
We deliver only High/Critical/Security fixes to MOS9.2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.