Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCP: increase image size to 10G #492

Closed
dustymabe opened this issue May 22, 2020 · 5 comments
Closed

GCP: increase image size to 10G #492

dustymabe opened this issue May 22, 2020 · 5 comments
Labels
jira for syncing to jira

Comments

@dustymabe
Copy link
Member

The GCP has shared anecdotal advice with us that image sizes <10G can suffer performance issues. We need to develop a way to get the images we create for GCP at least 10G. This would include a change to COSA and possibly a chance to the configs to specify an image size per platform.

@dustymabe dustymabe added the jira for syncing to jira label May 22, 2020
@jlebon
Copy link
Member

jlebon commented May 25, 2020

Do you have more details on this? What kind of performance issues?

@zmarano
Copy link

zmarano commented May 26, 2020

I wish I had more details but it is anecdotal evidence from an old study on persistent disk performance. Our recommendation is that images are at least 10GB in size.

@pierre-emmanuelJ
Copy link

This request can be also useful for Exoscale image.
Because to register a custom Template(image) (or official one in internal) we accept only qcow2 file with minimum virtual size of 10G.

This would include a change to COSA and possibly a chance to the configs to specify an image size per platform.

Yes I think we can do something generic to let providers choose the size of the image,

@dustymabe
Copy link
Member Author

Looks like this is resolved now that we've increased our disk size to 10G across the board. With the latest stable (33.20210314.3.0):

[core@fcos-node01 ~]$ lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0   10G  0 disk 
├─sda1   8:1    0    1M  0 part 
├─sda2   8:2    0  127M  0 part 
├─sda3   8:3    0  384M  0 part /boot
└─sda4   8:4    0  9.5G  0 part /sysroot
[core@fcos-node01 ~]$ sudo systemctl start afterburn.service
[core@fcos-node01 ~]$ 
[core@fcos-node01 ~]$ cat /run/metadata/afterburn
AFTERBURN_GCP_HOSTNAME=fcos-node01.us-east1-b.c.dusty-test-april-12.internal
AFTERBURN_GCP_IP_LOCAL_0=10.142.0.2
AFTERBURN_GCP_MACHINE_TYPE=projects/655567497558/machineTypes/n1-standard-1
AFTERBURN_GCP_IP_EXTERNAL_0=35.227.92.91

@pierre-emmanuelJ
Copy link

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira for syncing to jira
Projects
None yet
Development

No branches or pull requests

4 participants