relax requirements check for RAM

Bug #2045258 reported by Andre Ruiz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Snap
Fix Committed
Low
Guillaume Boutry

Bug Description

I have a system which does have 4 cpus and 16GB of ram, but I still see the message:

WARNING: Minimum system requirements (4 core CPU, 16 GB RAM) not met.

My guess is that the memory reported by "free" is slightly less than the exact 16GB.

ubuntu@ob76-node0:~/andre-ruiz/sunbeam$ free
               total used free shared buff/cache available
Mem: 16233656 5675852 1061624 151420 9496180 10058456
Swap: 33554428 780032 32774396

Maybe the check should be relaxed a bit to account for it?

Revision history for this message
Guillaume Boutry (gboutry) wrote :

A fix has been committed on https://github.com/canonical/snap-openstack/commit/ca4b0c78fa2532d067ead31debc7619644c8132d. Should be available on 2023.2/edge soon.

Requirements lowered from 16GiB to 16GB. (from 17179869184 bytes to 16000000000 bytes)

Changed in snap-openstack:
assignee: nobody → Guillaume Boutry (gboutry)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Andre Ruiz (andre-ruiz) wrote :

This fix really seem to have solved the issue, I don't see the warnings anymore (using edge).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.