On 9/24/24 07:44, Adithya Anand wrote:
> Hi Powder Community
>
> I recently created a disk image of my current experiment so I can use it
> in the future with a different profile. After creating the image I ran
> into an issue where my server has been stuck in the changing status for
> over 24 hours, I talked about this in office hours and was recommended
> to make a post about it.
> Screenshot 2024-09-24 093949.png
Hi. Most likely some package was installed that broke reboot. What
things did you do (e.g. installed packages, changing OS configuration,
etc) before you captured your image? Did you try to reboot and make
sure everything was as desired, before you captured the image?
The experiment status page allows you to view the node's serial console
log, in the per-node action menu. This could give you useful
information as to where boot is hanging. If you don't understand the
problem, please point us to your experiment without terminating it, and
hopefully we can help before it expires.
> In the meantime I figured I would replicate the same experiment using
> the created disk image but identical profile types (single node running
> ubuntu 22.04 or any ubuntu) are not allowing me to provide a disk image.
> Is there a way to provide a disk image on these profiles or do I have to
> chose a profile that allows me to provide a disk image in the
> parameterize step.
>
> As another option, I do plan on creating a profile eventually. Is it
> possible to use a disk image when creating a profile?
Yes, if you create a custom image, one easy way to use it is to create
your own profile. We recommend you create your profile using a geni-lib
python script. Please take a look at the documentation, especially this
example profile:
https://docs.powderwireless.net/geni-lib.html#%28part._geni-lib-example-os-install-scripts%29
. It shows you how to request a single node with a specific disk image
and boot-time configuration scripts that run at experiment startup.
David