+++ Kevin Wilson [27/09/16 14:53 +0300]:
Hello, There is a configuration setting called: remove_unused_original_minimum_age_secondsby which you can define the timeout by which used instances will be removed. This instances are cached under: /var/lib/nova/instances/_base/ see for example: http://docs.openstack.org/developer/openstack-ansible/liberty/install-guide/configure-openstack.html My first question is: what is the value of this remove_unused_original_minimum_age_seconds setting ? I think I somewhere saw that it is (or was) 24 hours but I am not sure. is there a way I can query for this value (apart from probing into the code).
Check the reference configuration file for each version, form your above link I'll supose liberty: http://docs.openstack.org/liberty/config-reference/content/list-of-compute-config-options.html If you scroll down to Table 4.39 it lists the "configuration option = Default value", which stands to: remove_unused_original_minimum_age_seconds = 86400 And the description: (IntOpt) Unused unresized base images younger than this will not be removed
My second question is: I want to change the value of remove_unused_original_minimum_age_seconds(assuming that it is indeed 24 or event 12 or 3 hours) to be 120 seconds or 60 seconds. I tried adding an entry in /etc/nova/nova.conf saying remove_unused_original_minimum_age_seconds = 60
Is it under DEFAULT ? Try to set log level to Debug and check what are the options defined on the logs for nova. Regards, Pablo
And then restart the nova-compute service by: service nova-compute stop and then service nova-compute start but this seems not to achieve the expected result; I still see unused images under for time intervals way too larger than 60 seconds. Can anyone advise about this ? should I restart additional nova services ? Regards, Kevin _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-- Pablo Iranzo Gómez (pablo.ira...@redhat.com) GnuPG: 0x5BD8E1E4 Senior Software Maintenance Engineer - OpenStackRHC{A,SS,DS,VA,E,SA,SP,AOSP}, JBCAA #110-215-852
signature.asc
Description: PGP signature
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack