[PKG-Openstack-devel] OpenStack image for debian-testing

Thomas Goirand zigo at debian.org
Thu May 12 08:45:46 UTC 2016


On 05/10/2016 04:01 PM, Steve McIntyre wrote:
> On Tue, May 10, 2016 at 03:00:40PM +0100, Steve McIntyre wrote:
>> On Tue, May 10, 2016 at 01:53:38PM +0100, Steve McIntyre wrote:
>>> On Sun, May 08, 2016 at 02:38:41PM +0200, Thomas Goirand wrote:
>>>>
>>>> Steve, how come we don't have a new image? I thought it was generated
>>>> weekly, and automatically? We'd need a fixed version with biosdevname=0
>>>> net.ifnames=0 from the latest openstack-debian-images package...
>>>>
>>>>> It looks like there have been no new testing images for half a year now.
>>>>
>>>> I can seen images from 2nd of April:
>>>> http://cdimage.debian.org/cdimage/openstack/current/
>>>>
>>>> I'm not sure what the difference is between "current" and "testing"
>>>> though. Maybe Steve can also tell...
>>>
>>> Apologies, I disabled live image production a while ago due to
>>> breakages and it looks like I disabled openstack too by mistake. I've
>>> just fixed that now, and I've just triggered a build by hand.
>>
>> Which failed. I'm re-running with more debug now.
> 
> And here's the failure:
> 
> ...
> Running hooks in /etc/ca-certificates/update.d...
> done.
> Processing triggers for initramfs-tools (0.125) ...
> update-initramfs: Generating /boot/initrd.img-4.5.0-1-amd64
> Errors were encountered while processing:
>  python3-cryptography
>  python3-oauthlib
>  cloud-init
> dpkg: dependency problems prevent configuration of
> python3-cryptography:
>  python3-cryptography depends on python3-cffi-backend-api-9729;
>  however:
>   Package python3-cffi-backend-api-9729 is not installed.
> 
> dpkg: error processing package python3-cryptography (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3-oauthlib:
>  python3-oauthlib depends on python3-cryptography; however:
>   Package python3-cryptography is not configured yet.
> 
> dpkg: error processing package python3-oauthlib (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of cloud-init:
>  cloud-init depends on python3-oauthlib; however:
>   Package python3-oauthlib is not configured yet.
> 
> dpkg: error processing package cloud-init (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  python3-cryptography
>  python3-oauthlib
>  cloud-init
> ...
> 

Hi Steve,

I investigated a little bit, and found out. The problem is that
python-cryptography needs python3-cffi-backend-9729, which is a
Provides: of python-cffi-backend, but the later doesn't get installed
automatically. Manually adding python-cffi-backend to the list of
package to install using debootstrap fixed the problem.

After this was fixed, I bumped into another problem: /etc/kbd/config
doesn't exist anymore in Stretch, and the script was attempting to edit
it with sed (to disable console blanking, which is annoying in the
cloud). So I had to test if the file is there (since we still want to
retain compatibility with Jessie, where the setterm will happen), and
also added consoleblank=0 to the kernel command line, so that in Stretch
we still have no console blanking. If anyone knows a better way than the
kernel command line, please let me know.

All of this is now included in version 1.8 of openstack-debian-images
which I have just uploaded to Sid. Please use that fixed version and try
again to manually generate the image, then when it migrate to Stretch,
maybe you can re-activate automated generation of the image?

Thanks a lot for your help and support of that image,
Cheers,

Thomas Goirand (zigo)

P.S: It's still on my TODO to: 1/ merge Waldi's patch for Azure 2/
Switch to grub. Help on this welcome...




More information about the Openstack-devel mailing list