Bug 1279626

Summary: During launch-fusor-undercloud-installer, Unexpected EOF in archive
Product: Red Hat Quickstart Cloud Installer Reporter: Thom Carlin <tcarlin>
Component: fusor-installerAssignee: John Matthews <jmatthew>
Status: CLOSED WORKSFORME QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0   
Target Milestone: ---   
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-10 21:54:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thom Carlin 2015-11-09 21:34:54 UTC
Description of problem:

Failure during launch-fusor-undercloud-installer

Version-Release number of selected component (if applicable):


How reproducible:

100% on this system

Steps to Reproduce:
1. Install Triple-O ISO
2. Log in to launch-fusor-undercloud-installer
3.

Actual results:

Errors, failure

Expected results:

No error, successful install

Additional info:

console output excerpt:

WARNING: The attribute flags -A and --attribute are deprecated and will be removed in a later release. Use -P and --parameter instead.
ERROR (shell) Exiting due to an error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tuskarclient/shell.py", line 248, in main
    TuskarShell(sys.argv[1:]).run()
  File "/usr/lib/python2.7/site-packages/tuskarclient/shell.py", line 76, in run
    args.func(tuskar_client, args)
  File "/usr/lib/python2.7/site-packages/tuskarclient/v2/plans_shell.py", line 289, in do_plan_templates
    os.mkdir(output_dir)
OSError: [Errno 13] Permission denied: 'tuskar_templates'
Testing http://192.0.2.1:8774
{"versions": [{"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://192.0.2.1:8774/v2/", "rel": "self"}], "min_version": "", "version": "", "id": "v2.0"}, {"status": "CURRENT", "updated": "2013-07-23T11:33:21Z", "links": [{"href": "http://192.0.2.1:8774/v2.1/", "rel": "self"}], "min_version": "2.1", "version": "2.3", "id": "v2.1"}]}
Port 8774 is open
Testing http://192.0.2.1:9292
{"versions": [{"status": "CURRENT", "id": "v2.3", "links": [{"href": "http://192.0.2.1:9292/v2/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.2", "links": [{"href": "http://192.0.2.1:9292/v2/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.1", "links": [{"href": "http://192.0.2.1:9292/v2/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.0", "links": [{"href": "http://192.0.2.1:9292/v2/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v1.1", "links": [{"href": "http://192.0.2.1:9292/v1/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v1.0", "links": [{"href": "http://192.0.2.1:9292/v1/", "rel": "self"}]}]}
Port 9292 is open
Testing http://192.0.2.1:8777
Authentication required
Port 8777 is open
Testing http://192.0.2.1:9696
{"versions": [{"status": "CURRENT", "id": "v2.0", "links": [{"href": "http://192.0.2.1:9696/v2.0", "rel": "self"}]}]}
Port 9696 is open
Testing http://192.0.2.1:8004
{"versions": [{"status": "CURRENT", "id": "v1.0", "links": [{"href": "http://192.0.2.1:8004/v1/", "rel": "self"}]}]}
Port 8004 is open
Testing http://192.0.2.1:5000
{"versions": {"values": [{"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://192.0.2.1:5000/v3/", "rel": "self"}]}, {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://192.0.2.1:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}]}}
Port 5000 is open
Testing http://192.0.2.1:8585
Authentication required
Port 8585 is open
Testing http://192.0.2.1:15672
<html>
  <head>
    <title>RabbitMQ Management</title>
    <script src="js/ejs.min.js" type="text/javascript"></script>
    <script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="js/jquery.flot.min.js" type="text/javascript"></script>
    <script src="js/jquery.flot.time.min.js" type="text/javascript"></script>
    <script src="js/sammy-0.6.0.min.js" type="text/javascript"></script>
    <script src="js/json2.js" type="text/javascript"></script>
    <script src="js/base64.js" type="text/javascript"></script>
    <script src="js/global.js" type="text/javascript"></script>
    <script src="js/main.js" type="text/javascript"></script>
    <script src="js/prefs.js" type="text/javascript"></script>
    <script src="js/help.js" type="text/javascript"></script>
    <script src="js/formatters.js" type="text/javascript"></script>
    <script src="js/charts.js" type="text/javascript"></script>

    <link href="css/main.css" rel="stylesheet" type="text/css"/>
    <link href="favicon.ico" rel="shortcut icon" type="image/x-icon"/>

<!--[if lte IE 8]>
    <script src="js/excanvas.min.js" type="text/javascript"></script>
    <link href="css/evil.css" rel="stylesheet" type="text/css"/>
<![endif]-->
  </head>
  <body>
    <div id="outer"></div>
    <div id="debug"></div>
    <div id="scratch"></div>
  </body>
</html>
Port 15672 is open
Importing Overcloud images.
tar: Unexpected EOF in archive
tar: rmtlseek not stopped at a record boundary
tar: Error is not recoverable: exiting now

Comment 1 Thom Carlin 2015-11-09 21:51:04 UTC
ll /root/images/*.tar
-r--r--r--. 1 root root  61388800 Nov  9 16:02 /root/images/deploy-ramdisk-ironic.tar
-r--r--r--. 1 root root 155269120 Nov  9 16:03 /root/images/discovery-ramdisk.tar
-r--r--r--. 1 root root 860225536 Nov  9 16:08 /root/images/overcloud-full.tar
# tar tvf  /root/images/deploy-ramdisk-ironic.tar 
-rw-r--r-- root/root  56355601 2015-07-30 16:49 deploy-ramdisk-ironic.initramfs
-rwxr-xr-x root/root   5027584 2015-07-30 16:49 deploy-ramdisk-ironic.kernel
# tar tvf  /root/images/discovery-ramdisk.tar 
-rw-r--r-- root/root 150230861 2015-07-30 17:02 discovery-ramdisk.initramfs
-rwxr-xr-x root/root   5027584 2015-07-30 17:02 discovery-ramdisk.kernel
# tar tvf  /root/images/overcloud-full.tar 
-rw-r--r-- root/root 913954816 2015-07-30 17:10 overcloud-full.qcow2

tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

 ll /home/stack/images
total 1051636
-rw-r--r--. 1 root root  56355601 Jul 30 16:49 deploy-ramdisk-ironic.initramfs
-rwxr-xr-x. 1 root root   5027584 Jul 30 16:49 deploy-ramdisk-ironic.kernel
-rw-r--r--. 1 root root 150230861 Jul 30 17:02 discovery-ramdisk.initramfs
-rwxr-xr-x. 1 root root   5027584 Jul 30 17:02 discovery-ramdisk.kernel
-rw-------. 1 root root 860225024 Nov  9 16:32 overcloud-full.qcow2

Should overcloud-full.qcow2 be 0666?

Comment 2 Thom Carlin 2015-11-10 21:54:26 UTC
This appears to be due to 1 of 2 causes:
1) Old ISO (1006 version instead of 1104 version)
2) Bad hardware.

Works fine when both are corrected.  Closing...