[Openstack-devel] Bug#726619: Debian cloud image built with openstack-debian-images shows no output in the log tab of Horizon

Jordan Pittier jordan.pittier-ext at cloudwatt.com
Fri Dec 6 11:47:00 UTC 2013


Hi,
I confirm that both the console (Spice) and the logs (in Horizon parlance) works with this change. I tested both wheezy and jessie, with the following procedure :

#From a fresh Debian Jessie server :
apt-get update && apt-get install -f -y openstack-debian-images python-glanceclient
sed -i s/"ro quiet\""/"ro quiet console=ttyS0\""/g /usr/sbin/build-openstack-debian-image
build-openstack-debian-image -r jessie && glance -k image-create --progress --name "Debian 8" --disk-format=qcow2 --container-format=bare --is-public false --file debian-jessie-7.0.0-3-amd64.qcow2
build-openstack-debian-image -r wheezy && glance -k image-create --progress --name "Debian 7" --disk-format=qcow2 --container-format=bare --is-public false --file debian-wheezy-7.0.0-3-amd64.qcow2

Both images work completely on a Havana installation.

If you are not sure about this change, don't include it. We are fine with applying the small sed patch manually.

Jordan


----- Original Message -----
From: "Thomas Goirand" <zigo at debian.org>
To: "Jordan Pittier" <jordan.pittier-ext at cloudwatt.com>, 726619 at bugs.debian.org
Sent: Friday, December 6, 2013 8:58:04 AM
Subject: Re: Debian cloud image built with openstack-debian-images shows no output in the log tab of Horizon

Hi Jordan,

As I'm trying to clean all the bugs currently opened against the
OpenStack packages in Debian, I came across this one, which reminded me
that you wrote to me about it on IRC.

You wrote:

<JordanP> zigo, we manage to get both spice and the log via Horizon with
a small patch to your openstack-debian-image
<JordanP> zigo, sed -i s/"ro quiet\""/"ro quiet console=ttyS0\""/g
/usr/sbin/build-openstack-debian-image
<JordanP> if you ever decide to include this change, thanks Sahid
Ferdjaoui from Cloudwatt for that

Though according to my tests, using console=ttyS0 made the Spice console
not work anymore.

So if you don't mind, before uploading a "fix" that breaks things more,
could you please confirm that what you wrote above is the correct fix?

Cheers,

Thomas Goirand (zigo)

P.S: Thanks a lot for your support and bug reports, this really is helpful.



More information about the Openstack-devel mailing list