(Open Stack )Image Upload in Open Stack in a Bulk
Hi Team,
Any hints, if i want to upload images in a bulk in a Open Stack , because it takes some time for the image to copy if we go one by one, or even of we go with script
Also if there is a scenario where glance mount point fails and we can create the same Share path and Copy the Image from the source , Will the OpenStack glance Service will start detecting those images upload in a share
Regards Adivya Singh
Hi Team,
Any thoughts on this ?
Regards Adivya Singh
On Mon, Mar 27, 2023 at 5:06 PM Adivya Singh adivya1.singh@gmail.com wrote:
Hi Team,
Any hints, if i want to upload images in a bulk in a Open Stack , because it takes some time for the image to copy if we go one by one, or even of we go with script
Also if there is a scenario where glance mount point fails and we can create the same Share path and Copy the Image from the source , Will the OpenStack glance Service will start detecting those images upload in a share
Regards Adivya Singh
There's no server-side support for bulk upload of images in glance API. But I see no reason why client-side tooling would work for that. Simplest thing would be using xargs in some bash one-liner.
If talking about python and sdk, should be also quite trivial to implement that leveraging multiprocessing or joblib libraries.
On Mon, Mar 27, 2023 at 5:06 PM Adivya Singh adivya1.singh@gmail.com wrote:
Hi Team,
Any hints, if i want to upload images in a bulk in a Open Stack , because it takes some time for the image to copy if we go one by one, or even of we go with script
Sorry, made a confusing typo in my reply, what I meant was that some client-side script will work just nicely for this purpose if it's written in a way to execute multiple processes simultaneously.
вт, 28 мар. 2023 г., 07:59 Dmitriy Rabotyagov noonedeadpunk@gmail.com:
There's no server-side support for bulk upload of images in glance API. But I see no reason why client-side tooling would work for that. Simplest thing would be using xargs in some bash one-liner.
If talking about python and sdk, should be also quite trivial to implement that leveraging multiprocessing or joblib libraries.
On Mon, Mar 27, 2023 at 5:06 PM Adivya Singh adivya1.singh@gmail.com wrote:
Hi Team,
Any hints, if i want to upload images in a bulk in a Open Stack , because it takes some time for the image to copy if we go one by one, or even of we go with script
participants (2)
-
Adivya Singh
-
Dmitriy Rabotyagov