| Summary: | Use reap action as default for running deleted instances from nova-dist.conf | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Stephen Gordon <sgordon> |
| Component: | openstack-nova | Assignee: | Xavier Queralt <xqueralt> |
| Status: | CLOSED ERRATA | QA Contact: | Pavel Sedlák <psedlak> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.0 | CC: | ajeain, breeler, dallan, hateya, ndipanov, sputhenp, yeylon |
| Target Milestone: | rc | Keywords: | OtherQA |
| Target Release: | 4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-nova-2013.2-5.el6ost | Doc Type: | Enhancement |
| Doc Text: |
The Compute service periodically checks for instances that have been deleted in the database but remain running on a compute node. The action to take when such instances are identified is determined by the value of the "running_deleted_instance_action" configuration key in the OpenStack Compute (/etc/nova/nova.conf) file.
The default value of the "running_deleted_instance_action" configuration key has been changed to "reap". In previous releases the default value of this configuration key was "log".
As a result of this change when running instances are discovered that have previously been deleted from the database they are now stopped and removed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-20 00:35:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Stephen Gordon
2013-11-13 01:53:20 UTC
We changed this to be the default upstream for the Icehouse release. It's not the kind of thing I would want to change within a release. Since RHOS 4 has not been released yet, I would be OK with changing the default to 'reap'. The key running_deleted_instance_action is set to "reap" by default in nova-dist.conf: [root@rhos1 ~]# rpm -qa openstack-nova-common openstack-nova-common-2013.2-5.el6ost.noarch [root@rhos1 ~]# grep running_deleted_instance_action /usr/share/nova/nova-dist.conf running_deleted_instance_action=reap Verified, in new version option is there in nova-dist.conf: # rpm -qa openstack-nova-common > openstack-nova-common-2013.2-5.el6ost.noarch # grep deleted_inst /etc/nova/* > /etc/nova/nova.conf:#running_deleted_instance_action=log > /etc/nova/nova.conf:#running_deleted_instance_poll_interval=1800 > /etc/nova/nova.conf:#running_deleted_instance_timeout=0 # grep deleted_inst /usr/share/nova/nova-dist.conf > running_deleted_instance_action=reap in older version there was no entry like that at all: # rpm -qa openstack-nova-common > openstack-nova-common-2013.2-0.24.rc1.el6ost.noarch # grep deleted_inst /etc/nova/* > /etc/nova/nova.conf:#running_deleted_instance_action=log > /etc/nova/nova.conf:#running_deleted_instance_poll_interval=1800 > /etc/nova/nova.conf:#running_deleted_instance_timeout=0 # grep deleted_inst /usr/share/nova/nova-dist.conf > # cat /usr/share/nova/nova-dist.conf > [DEFAULT] > log_dir = /var/log/nova > state_path = /var/lib/nova > lock_path = /var/lib/nova/tmp > dhcpbridge = /usr/bin/nova-dhcpbridge > dhcpbridge_flagfile = /usr/share/nova/nova-dist.conf > dhcpbridge_flagfile = /etc/nova/nova.conf > force_dhcp_release = True > injected_network_template = /usr/share/nova/interfaces.template > libvirt_nonblocking = True > libvirt_inject_partition = -1 > network_manager = nova.network.manager.FlatDHCPManager > compute_driver = libvirt.LibvirtDriver > firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver > rpc_backend = nova.openstack.common.rpc.impl_qpid > rootwrap_config = /etc/nova/rootwrap.conf > > [database] > connection = mysql://nova:nova@localhost/nova > max_retries = -1 > > [keystone_authtoken] > admin_tenant_name = %SERVICE_TENANT_NAME% > admin_user = %SERVICE_USER% > admin_password = %SERVICE_PASSWORD% > auth_host = 127.0.0.1 > auth_port = 35357 > auth_protocol = http > signing_dir = /tmp/keystone-signing-nova > # Workaround for https://bugs.launchpad.net/nova/+bug/1154809 > auth_version = v2.0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1859.html |