GitHub user saengraciaEspe closed a discussion: The consoleproxy is not 
starting and console of the instance not starting, too

<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete the 
comments.
-->

##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
 * Bug Report

##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
API
~~~

##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main 
branch.
-->

~~~
4.19.0.1 
~~~

##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network, advanced 
networking, etc.  N/A otherwise
-->


##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
Ubuntu Server 24.04

##### SUMMARY
<!-- Explain the problem/feature briefly -->
Although it is possible to create the instance, it is not possible to access 
the instance console.

##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal test-case. 
Use Screenshots if accurate.

For new features, show how the feature would be used.
-->

<!-- Paste example playbooks or commands between quotes below -->
~~~

~~~
When starting the console of the instance an error occurs
![imagen_2024-06-20_132400366](https://github.com/apache/cloudstack/assets/90356721/715c7c5a-0308-4448-9b4f-99c46caa0b2e)

In consoleproxy it does not start either
![image](https://github.com/apache/cloudstack/assets/90356721/e2235896-7947-4ba7-b97d-0cc1c26b61a0)

Filter by date
~~~
grep -a '2024-06-22' management-server.log.copy
~~~

![image](https://github.com/apache/cloudstack/assets/90356721/b3f1cec7-ddcc-40f5-845c-294d9c4d7b70)
![image](https://github.com/apache/cloudstack/assets/90356721/2fab754f-73f8-48b9-938a-fa0dc5793d9b)
![image](https://github.com/apache/cloudstack/assets/90356721/f429d4c4-db68-48ac-8e21-a75aec6364d6)
![image](https://github.com/apache/cloudstack/assets/90356721/932e99f7-67b9-42a8-b81e-251752c28fa3)

The file is very long, so I share the complete log by  
[gist](https://gist.github.com/saengraciaEspe/261a4bb5562bacb6ee8df163836e7653)

Last error with console proxy failure
2024-06-22 18:17:20,047 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(Work-Job-Executor-106:ctx-f07acb36 job-1655/job-1761) (logid:79ff0ac2) Remove 
job-1761 from job monitoring
2024-06-22 18:17:20,066 DEBUG [c.c.c.CapacityManagerImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) VM instance 
{"id":486,"instanceName":"v-486-VM","type":"ConsoleProxy","uuid":"1d39808f-517f-461c-b0c8-7dcfe259185d"}
 state transited from [Stopped] to [Expunging] with event [ExpungeOperation]. 
VM's original host: null, new host: null, host before state transition: null
2024-06-22 18:17:20,072 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Expunging vm VM instance 
{"id":486,"instanceName":"v-486-VM","type":"ConsoleProxy","uuid":"1d39808f-517f-461c-b0c8-7dcfe259185d"}
2024-06-22 18:17:20,072 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Cleaning up NICS [] of VM 
instance 
{"id":486,"instanceName":"v-486-VM","type":"ConsoleProxy","uuid":"1d39808f-517f-461c-b0c8-7dcfe259185d"}.
2024-06-22 18:17:20,072 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Cleaning network for vm: 486
2024-06-22 18:17:20,080 DEBUG [c.c.n.NetworkModelImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Service SecurityGroup is not 
supported in the network id=208
2024-06-22 18:17:20,083 DEBUG [c.c.n.g.DirectNetworkGuru] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Deallocate network: networkId: 
208, ip: null
2024-06-22 18:17:20,088 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Removed nic id=1395
2024-06-22 18:17:20,090 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Revoving nic secondary ip entry 
...
2024-06-22 18:17:20,101 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Removed nic id=1396
2024-06-22 18:17:20,104 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Revoving nic secondary ip entry 
...
2024-06-22 18:17:20,120 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Removed nic id=1397
2024-06-22 18:17:20,122 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Revoving nic secondary ip entry 
...
2024-06-22 18:17:20,123 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Cleaning up hypervisor data 
structures (ex. SRs in XenServer) for managed storage. Data from VM instance 
{"id":486,"instanceName":"v-486-VM","type":"ConsoleProxy","uuid":"1d39808f-517f-461c-b0c8-7dcfe259185d"}.
2024-06-22 18:17:20,126 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Cleaning storage for VM [null].
2024-06-22 18:17:20,163 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Expunge volume with no data 
store specified
2024-06-22 18:17:20,167 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Volume 489 is not referred 
anywhere, remove it from volumes table
2024-06-22 18:17:20,167 DEBUG [c.c.s.d.VolumeDaoImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Removing volume 489 from DB
2024-06-22 18:17:20,180 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Expunged VM instance 
{"id":486,"instanceName":"v-486-VM","type":"ConsoleProxy","uuid":"1d39808f-517f-461c-b0c8-7dcfe259185d"}
2024-06-22 18:17:20,190 DEBUG [c.c.a.ConsoleProxyAlertAdapter] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) received console proxy alert
2024-06-22 18:17:20,191 DEBUG [c.c.a.ConsoleProxyAlertAdapter] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) Console proxy creation failure. 
Zone [cloud-zone].
2024-06-22 18:17:20,193 WARN  [c.c.a.AlertManagerImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) alertType=[10] dataCenterId=[2] 
podId=[null] clusterId=[null] message=[Console proxy creation failure. Zone 
[cloud-zone]. Error details: null].
2024-06-22 18:17:20,199 WARN  [c.c.a.AlertManagerImpl] 
(consoleproxy-1:ctx-ecf20f94) (logid:6b8fc04e) No recipients set in global 
setting 'alert.email.addresses', skipping sending alert with subject [Console 
proxy creation failure. Zone [cloud-zone]. Error details: null] and content 
[Console proxy creation failure (zone cloud-zone)].
2024-06-22 18:17:23,187 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-6:ctx-40668147) (logid:591f5e3e) HA health check 
task is running...
2024-06-22 18:17:24,094 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-5:null) (logid:) Ping from 21(s-461-VM)
2024-06-22 18:17:27,190 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-1:ctx-3df156e4) (logid:35a16dad) HA health check 
task is running...

In the libvirtd service
![image](https://github.com/apache/cloudstack/assets/90356721/3be7eb64-a447-4814-90e1-e72e267108ff)

<!-- You can also paste gist.github.com links for larger files -->

##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->

~~~
To start the virtual machine console
~~~

##### ACTUAL RESULTS
<!-- What actually happened? -->

<!-- Paste verbatim command output between quotes below -->
~~~
Unable to start virtual machine console
~~~


GitHub link: https://github.com/apache/cloudstack/discussions/9383

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to