guest image elements have malformed lines that are causing strange objects in the created image

Bug #1406581 reported by Amrith Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trove Integration
Fix Committed
Low
Unassigned

Bug Description

15-reddwarf-dep has the following:

amrith@amrith-vm:/opt/stack/trove-integration/scripts/files/elements$ more ubuntu-guest/install.d/15-reddwarf-dep
#!/bin/bash

# CONTEXT: GUEST during CONSTRUCTION as ROOT
# PURPOSE: Install trove guest python dependencies - see redstack functions_qemu

set -e
set -o xtrace

export DEBIAN_FRONTEND=noninteractive
apt-get -y install python-dev libxml2-dev libxslt1-dev python-setuptools python-pip python-sqlalchemy python-lxml \
    python-routes python-eventlet python-webob python-pastedeploy python-paste python-netaddr \
    python-httplib2 python-iso8601 python-pexpect python-mysqldb python-migrate

pip install extras python-novaclient python-swiftclient python-cinderclient \
    kombu>2.4.7 six babel python-heatclient passlib jinja2 python-neutronclient netifaces \
    oslo.config>=1.2.0 oslo.messaging>=1.4.0 oslo.i18n>=1.0.0 oslo.serialization>=1.0.0 oslo.utils>=1.0.0 \
    osprofiler>=0.3.0

This is leading to strange objects in the root file system of the guest ;)

root@u1:/# ls -l
total 100
-rw-r--r-- 1 root root 0 Dec 28 23:44 2.4.7
-rw-r--r-- 1 root root 24628 Dec 28 23:45 =0.3.0
-rw-r--r-- 1 root root 0 Dec 28 23:44 =1.0.0
-rw-r--r-- 1 root root 0 Dec 28 23:44 =1.2.0
-rw-r--r-- 1 root root 0 Dec 28 23:44 =1.4.0
drwxr-xr-x 2 root root 4096 Dec 28 23:39 bin
drwxr-xr-x 3 root root 4096 Dec 28 23:43 boot
drwxr-xr-x 5 root root 380 Dec 29 00:04 dev
drwxr-xr-x 76 root root 4096 Dec 29 00:04 etc
drwxr-xr-x 4 root root 4096 Dec 28 23:39 home
lrwxrwxrwx 1 root root 33 Dec 28 23:43 initrd.img -> /boot/initrd.img-3.2.0-74-generic
lrwxrwxrwx 1 root root 33 Dec 22 16:42 initrd.img.old -> /boot/initrd.img-3.2.0-74-virtual

Amrith Kumar (amrith)
Changed in trove:
assignee: nobody → Amrith (amrith)
importance: Undecided → Low
Revision history for this message
Amrith Kumar (amrith) wrote :
affects: trove → trove-integration
Changed in trove-integration:
status: New → Fix Committed
Amrith Kumar (amrith)
Changed in trove-integration:
assignee: Amrith Kumar (amrith) → nobody
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.