[
https://issues.apache.org/jira/browse/CLOUDSTACK-8571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14592974#comment-14592974
]
Abhinandan Prateek commented on CLOUDSTACK-8571:
------------------------------------------------
Changing the priority to major as it appears to be a corner case as it is
difficult to reproduce.
> KVM agent is refused connection when using dynamic offering
> -----------------------------------------------------------
>
> Key: CLOUDSTACK-8571
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8571
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: KVM
> Affects Versions: 4.5.1
> Reporter: Abhinandan Prateek
> Assignee: Abhinandan Prateek
>
> management server refuses to allow agent connection if a VM with local
> storage and dynamic offering was deployed to it:
> 1. Deploy/start local storage VMs that have a dynamic service offering.
> 2. Get a VM into a state where it is stopped, but has a last_host_id (stop a
> vm that you just created).
> 3. Restart the agent.
> The management server fails to allow agent connect, until you clear the
> last_host_id field in the db for any stopped vm that ran on this host. This
> may actually not be specific to local storage VMs, but we think it might,
> because the vms may start elsewhere and auto-reset this field without local
> storage. It seems to be related to the vm sync process that occurs during
> agent join.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)