#184 allow machines to be started with more than 1GB
Opened 6 years ago by benesv. Modified 5 years ago

We need to be able to specify (ideally in yml) memory the machine should be started with. 1GB is not sufficient for desktop. We need at least 2GB .. 4GB will be probably better. If we have more RAM dedicated to machines by default then we don't need yaml changes.

Thank you,
Vladimir


This issue is a blocker at the moment.

@astepano Has there been progress on this issue? Are there workarounds?

There is no way how to specify required memory in official way right now.
Current STI doesn't define any kind of metadata.
We are working on next STI specification to make this possible.

But there is solution.
Current STI is qute flexible.
DesktopQE can define its own inventory file.
Please check: https://pagure.io/standard-test-roles/blob/master/f/scripts

What you need to do:
1. Create inventory file.
2. Copy https://pagure.io/standard-test-roles/blob/master/f/inventory/standard-inventory-qcow2 file to your repo, made necessary changes.
3. Call your script instead of merge-standard-inventory.

https://fedoraproject.org/wiki/CI/Standard_Test_Roles#Inventory

Seems like local only workaround, do you plan to have more RAM in CI or at least have some possibility to pick role with more RAM?

Hi, #219 should add desired functionality.

If you want to test, you can try temporary Copr build from https://copr.fedorainfracloud.org/coprs/g/osci/standard-test-roles/build/766727/

Put in /tests file such as:

cat provision.fmf 
---

# qemu options: https://qemu.weilnetz.de/doc/qemu-doc.html

standard-inventory-qcow2:
  qemu:
    # RAM size in megabytes. Optionally, a suffix of “M” or “G”.
    m: 3G
    net_nic:
      # Use qemu-system-x86_64 -net nic,model=help for a list of available devices.
      model: e1000

standard-inventory-docker:
  dumb_option: dumb_parameter

# vim:ft=yaml: ts=2 sts=2 sw=2 expandtab

I've added basic documentation including the simple example above here:
https://fedoraproject.org/wiki/CI/Metadata#Provision

Login to comment on this ticket.

Metadata