Re: Persistent URLs for Fedora Cloud images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/09/2013 04:11 PM, Lucas Alvares Gomes wrote:
> Would be cool as well to have a persistent file name for the last image created, e.g Fedora-x86_64-19-latest-sda.qcow2

Just before I sent my email, Matthew Miller sent an email with these short URLs:
(Only qcow2 for now)

======
These links all work now:

    http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2

    http://cloud.fedoraproject.org/fedora-19.i386.qcow2

    http://cloud.fedoraproject.org/fedora-latest.i386.qcow2

    http://cloud.fedoraproject.org/fedora-latest.x86_64.qcow2

(They will redirect to a mirror link provided by mirrormanager.)
======

> 
> Cheers,
> Lucas
> 
> ----- Original Message -----
>> From: "Kashyap Chamarthy" <kchamart@xxxxxxxxxx>
>> To: "Fedora Cloud SIG" <cloud@xxxxxxxxxxxxxxxxxxxxxxx>, "Matthew Miller" <mattdm@xxxxxxxxxxxxxxxxx>
>> Cc: "Lucas Alvares Gomes Martins" <lmartins@xxxxxxxxxx>
>> Sent: Tuesday, July 9, 2013 10:27:12 AM
>> Subject: Persistent URLs for Fedora Cloud images
>>
>> Heya,
>>
>>
>> I know Matt is working to get Fedora cloud images in shape.
>>
>> It'd be nice to have Fedora Cloud image URLs be persistent (if they change,
>> maybe symlinks
>> can be created?)
>>
>> For instance, OpenStack's diskimage-builder hard codes[1] path to Fedora 18
>> images
>>
>> -----
>> [...]
>> DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-http://mattdm.fedorapeople.org/cloud-images/}
>> DIB_RELEASE=${DIB_RELEASE:-Fedora18}
>> BASE_IMAGE_FILE=${BASE_IMAGE_FILE:-$DIB_RELEASE-Cloud-$ARCH-latest.qcow2}
>> BASE_IMAGE_TAR=$DIB_RELEASE-Cloud-$ARCH-latest.tgz
>>
>> echo "Fetching Base Image"
>> $TMP_HOOKS_PATH/bin/cache-url $DIB_CLOUD_IMAGES/$BASE_IMAGE_FILE
>> $IMG_PATH/$BASE_IMAGE_FILE
>> [...]
>> -----
>>
>> And, now it throws an HTTP 302 response from the server while trying to fetch
>> either F18
>> or F19 images, although the absolute path to F18 qcow2 image is available via
>> wget.
>>
>> Something has changed on the server.
>>
>> Can we please try to make these URLs persistent?
>>
>> Thanks.
>>
>> ~~~~~~
>> [1]
>> https://github.com/stackforge/diskimage-builder/blob/master/elements/fedora/root.d/10-fedora-cloud-image#L13
>>
>>
>>
>> --
>> /kashyap
>>
> 
> 


-- 
/kashyap
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud





[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux