Updating cloud based OS images - configuration required for Azure RHEL LVM images
See original GitHub issueIs your feature request related to a problem? Azure RHEL RAW images are no longer being produced in favor of LVM-partitioned images (link). To have the latest updates we need to switch to LVM images. The default file system configuration in LVM images is not sufficient for Epiphany. Partitioning for a 64GB disk is as follows:
[operations@ci-devazurrhelflannel-kubernetes-master-vm-0 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.4G 0 3.4G 0% /dev
tmpfs 3.4G 0 3.4G 0% /dev/shm
tmpfs 3.4G 9.1M 3.4G 1% /run
tmpfs 3.4G 0 3.4G 0% /sys/fs/cgroup
/dev/mapper/rootvg-rootlv 2.0G 66M 2.0G 4% /
/dev/mapper/rootvg-usrlv 10G 1.4G 8.7G 14% /usr
/dev/mapper/rootvg-varlv 8.0G 7.9G 96M 99% /var
/dev/sda2 494M 77M 418M 16% /boot
/dev/mapper/rootvg-homelv 1014M 33M 982M 4% /home
/dev/mapper/rootvg-optlv 2.0G 140M 1.9G 7% /opt
/dev/sda1 500M 9.7M 491M 2% /boot/efi
/dev/mapper/rootvg-tmplv 2.0G 96M 1.9G 5% /tmp
/dev/sdb1 14G 41M 13G 1% /mnt
tmpfs 680M 0 680M 0% /run/user/1000
which results in an issue downloading the requirements: Error writing blob: write /var/tmp/docker-tarfile-blob336544209: no space left on device
.
Describe the solution you’d like
LVM must be reconfigured to give us the ability to use the latest RHEL LVM images RedHat:RHEL:7-LVM:7.8.2020042719
. Until then we use the latest RAW image RedHat:RHEL:7-RAW:7.7.2019090418
.
Describe alternatives you’ve considered
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Overview of Red Hat Enterprise Linux images in Azure
Microsoft and Red Hat update images as new minor versions are released, as required to address specific common vulnerabilities and exposures ( ...
Read more >Chapter 1. Deploying a Red Hat Enterprise Linux image as a ...
To manually configure a virtual machine (VM), first create a base (starter) VM image. Then, you can modify configuration settings and add the...
Read more >Building a RHEL gold image for Azure - GitLab
9.1. Verify the admin user account · 9.2. Verify httpd is installed · 9.3. Verify example configuration file · 9.4. Verify that the...
Read more >Import virtual disks | Compute Engine Documentation
To enable a seamless experience when importing images, ensure that you've granted required IAM roles to your account, the Cloud Build service account,...
Read more >Adding Azure hosts to Satellite - IBM Cloud Docs
You can create your IBM Cloud Satellite location by using hosts that you added from Microsoft Azure. If you want to use Red...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is quite crazy it’s in todo just like that after the spike 😃 It’s a complex and dangerous procedure, IMO it requires further research and maybe some working ansible POC first? 🤔
✔️ Fixed. Now Ansible waits for
epiphany-lvm-merge.service
to finish.Tested with the image
RedHat:RHEL:7-LVM:7.9.2020111202
and the following config (had to increase the disk size to 64GB).Partitioning for a 64GB disk is as follows: