Re: ConsoleProxy VM: Unable to post agent control request as link is not available

2023-01-24 Thread Wei ZHOU
Hi,

The fastest way to fix systemvm issues is,
1. destroy system vm
2. Wait cloudstack to recreate a new system vm

Hope it solves your issue.

-Wei


On Tuesday, 24 January 2023, Leandro Ramos  wrote:

> Hi :)
>
> I'm running some VMs with sufficient resources now. But I can't access the
> VM console due to an error:
>
> "2023-01-24 19:56:57,983 ERROR [resource.consoleproxy.ConsoleProxyResource]
> (Console Proxy GC Thread:null) Unable to send out load info due to Unable to
>  post agent control request as link is not available
>
>
> com.cloud.exception.AgentControlChannelException: Unable to post agent
> control request as link is not available"
>
> Anyone can show me a way to fix it?
>
> I am attaching output from cloud.log
>
>
> Thank you.
>


ConsoleProxy VM: Unable to post agent control request as link is not available

2023-01-24 Thread Leandro Ramos

Hi :)

I'm running some VMs with sufficient resources now. But I can't access 
the VM console due to an error:


"2023-01-24 19:56:57,983 ERROR 
[resource.consoleproxy.ConsoleProxyResource] (Console Proxy GC 
Thread:null) Unable to send out load info due to Unable to

 post agent control request as link is not available
com.cloud.exception.AgentControlChannelException: Unable to post agent 
control request as link is not available"


Anyone can show me a way to fix it?

I am attaching output from cloud.log


Thank you.
2023-01-24 19:56:55,184 INFO  [cloud.agent.Agent] (Agent-Handler-1:null) Lost connection to host: 192.168.122.2. Attempting reconnection while we still
 have 0 commands in progress.
2023-01-24 19:56:55,191 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) NioClient connection closed
2023-01-24 19:56:57,983 INFO  [utils.exception.CSExceptionErrorCode] (Console Proxy GC Thread:null) Could not find exception: com.cloud.exception.Agent
ControlChannelException in error code list for exceptions
2023-01-24 19:56:57,983 ERROR [resource.consoleproxy.ConsoleProxyResource] (Console Proxy GC Thread:null) Unable to send out load info due to Unable to
 post agent control request as link is not available
com.cloud.exception.AgentControlChannelException: Unable to post agent control request as link is not available
at com.cloud.agent.Agent.postRequest(Agent.java:961)
at com.cloud.agent.Agent.postRequest(Agent.java:949)
at com.cloud.agent.resource.consoleproxy.ConsoleProxyResource.reportLoadInfo(ConsoleProxyResource.java:417)
at jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.cloud.consoleproxy.ConsoleProxy.reportLoadInfo(ConsoleProxy.java:222)
at com.cloud.consoleproxy.ConsoleProxyGCThread.run(ConsoleProxyGCThread.java:104)
2023-01-24 19:57:00,191 INFO  [cloud.agent.Agent] (Agent-Handler-1:null) Reconnecting to host:192.168.122.2
2023-01-24 19:57:00,192 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) Connecting to 192.168.122.2:8250
2023-01-24 19:57:00,192 WARN  [utils.nio.NioConnection] (Agent-Handler-1:null) Unable to connect to remote: is there a server running on port 8250
2023-01-24 19:57:05,212 INFO  [cloud.agent.Agent] (Agent-Handler-1:null) Reconnecting to host:192.168.122.2
2023-01-24 19:57:05,212 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) Connecting to 192.168.122.2:8250
2023-01-24 19:57:05,214 WARN  [utils.nio.NioConnection] (Agent-Handler-1:null) Unable to connect to remote: is there a server running on port 8250
2023-01-24 19:57:07,983 INFO  [utils.exception.CSExceptionErrorCode] (Console Proxy GC Thread:null) Could not find exception: com.cloud.exception.Agent
ControlChannelException in error code list for exceptions
2023-01-24 19:57:07,983 ERROR [resource.consoleproxy.ConsoleProxyResource] (Console Proxy GC Thread:null) Unable to send out load info due to Unable to
 post agent control request as link is not available
com.cloud.exception.AgentControlChannelException: Unable to post agent control request as link is not available
at com.cloud.agent.Agent.postRequest(Agent.java:961)
at com.cloud.agent.Agent.postRequest(Agent.java:949)
at com.cloud.agent.resource.consoleproxy.ConsoleProxyResource.reportLoadInfo(ConsoleProxyResource.java:417)
at jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.cloud.consoleproxy.ConsoleProxy.reportLoadInfo(ConsoleProxy.java:222)
at com.cloud.consoleproxy.ConsoleProxyGCThread.run(ConsoleProxyGCThread.java:104)
2023-01-24 19:57:10,221 INFO  [cloud.agent.Agent] (Agent-Handler-1:null) Reconnecting to host:192.168.122.2
2023-01-24 19:57:10,221 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) Connecting to 192.168.122.2:8250
2023-01-24 19:57:10,224 INFO  [utils.nio.Link] (Agent-Handler-1:null) Conf file found: /usr/local/cloud/systemvm/conf/agent.properties
2023-01-24 19:57:10,403 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) SSL: Handshake done
2023-01-24 19:57:10,404 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) Connected to 192.168.122.2:8250
2023-01-24 19:57:10,459 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) Process agent startup answer, agent id = 0
2023-01-24 19:57:10,460 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) Set agent id 0
2023-01-24 19:57:10,460 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) Startup Response Received: agent id = 0
2023-01-24 19:57:10,651 INFO  [resource.consoleproxy.ConsoleProxyResource] (agentRequest-Handler-3:null) Invoke launchConsoleProxy() in responding to S
tartConsoleProxyAgentHttpHan

RE: CloudStack and Tungsten Fabric Solution Brief

2023-01-24 Thread Alex Mattioli
+1 on that, and especially useful for Edge zones.

 


-Original Message-
From: Nux  
Sent: 24 January 2023 14:43
To: d...@cloudstack.apache.org
Cc: users@cloudstack.apache.org; Apache CloudStack Marketing 

Subject: Re: CloudStack and Tungsten Fabric Solution Brief

Thanks Ivet, this is amazing!
ACS does need a new SDN story and Tungsten looks the real deal here, can't wait 
to try it!

Also cheers to EWERK and ENA for their involvement to make this happen!

Regards

On 2023-01-24 11:31, Ivet Petrova wrote:
> Hi all,
> 
> I am happy to share a new solution brief we have developed together 
> with the team of Tungsten Fabric:
> https://blogs.apache.org/cloudstack/entry/apache-cloudstack-and-tungst
> en-fabric If you are interested to learn more for SDN and how tungsten 
> integrates with CloudStack take a look.
> 
> Kind regards,



Re: CloudStack and Tungsten Fabric Solution Brief

2023-01-24 Thread Nicolas Vazquez
This is great, many thanks Ivet!

Regards,
Nicolas Vazquez


From: Ivet Petrova 
Date: Tuesday, 24 January 2023 at 08:31
To: users@cloudstack.apache.org , 
d...@cloudstack.apache.org , Apache CloudStack 
Marketing 
Subject: CloudStack and Tungsten Fabric Solution Brief
Hi all,

I am happy to share a new solution brief we have developed together with the 
team of Tungsten Fabric: 
https://blogs.apache.org/cloudstack/entry/apache-cloudstack-and-tungsten-fabric
If you are interested to learn more for SDN and how tungsten integrates with 
CloudStack take a look.

Kind regards,




 



Re: CloudStack and Tungsten Fabric Solution Brief

2023-01-24 Thread Nux

Thanks Ivet, this is amazing!
ACS does need a new SDN story and Tungsten looks the real deal here, 
can't wait to try it!


Also cheers to EWERK and ENA for their involvement to make this happen!

Regards

On 2023-01-24 11:31, Ivet Petrova wrote:

Hi all,

I am happy to share a new solution brief we have developed together 
with the team of Tungsten Fabric: 
https://blogs.apache.org/cloudstack/entry/apache-cloudstack-and-tungsten-fabric
If you are interested to learn more for SDN and how tungsten integrates 
with CloudStack take a look.


Kind regards,


Re: List users in the same account

2023-01-24 Thread Nicolas Vazquez
Hi Mevludin,

As far as I know it’s not possible to list the other users in the same account 
for a user, however with that setting it is possible to list other user 
accounts that exist in the same domain

Regards,
Nicolas Vazquez


From: Mevludin Blazevic 
Date: Tuesday, 24 January 2023 at 09:41
To: users@cloudstack.apache.org 
Subject: List users in the same account
Hi all,

is there a way to allow users of a specific account to list the other
users under the same account? The only setting I can find is
allow.user.view.all.domain.accounts that does something similar..

Regards,

Mevludin

 



List users in the same account

2023-01-24 Thread Mevludin Blazevic

Hi all,

is there a way to allow users of a specific account to list the other 
users under the same account? The only setting I can find is 
allow.user.view.all.domain.accounts that does something similar..


Regards,

Mevludin



Re: KVM host UEFI allow guest UEFI Secure boot

2023-01-24 Thread pavan aravapalli
Yes,  I have tested and am able to run Windows Server 2016 and Server 2019
in secure mode with cloudstack as part of
https://github.com/apache/cloudstack/pull/3638 pull request with
cloudstack.

With the recent version I haven't checked.

Thanks & Regards,
Pavan Aravapalli.
Architect.
https://www.linkedin.com/in/pavan-a-70995a27/


On Tue, 24 Jan 2023 at 16:18, Gary Dixon 
wrote:

> Thanks Pavan
>
> Are you successfully running Windows Server VM's in uefi secure boot mode
> in Cloudstack ?
>
> Gary Dixon​
> Senior Technical Consultant
> T:  +44 161 537 4990
> E:  *v* <+44%207989717661>ms@quadris‑support.com
> W: www.quadris.co.uk
> The information contained in this e-mail from Quadris may be confidential
> and privileged for the private use of the named recipient.  The contents of
> this e-mail may not necessarily represent the official views of Quadris.
> If you have received this information in error you must not copy,
> distribute or take any action or reliance on its contents.  Please destroy
> any hard copies and delete this message.
> -Original Message-
> From: pavan aravapalli 
> Sent: 24 January 2023 07:47
> To: users@cloudstack.apache.org
> Subject: Re: KVM host UEFI allow guest UEFI Secure boot
>
> Hi Gary,
>
> If you don't have any specific dependencies with Ubunut version try with
> the latest Ubuntu 22.04, it has secure files. I verified and it supports
> secure files.
>
> Thanks & Regards,
> Pavan Aravapalli.
> Architect.
>
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fpavan-a-70995a27%2F&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7Cf26e2c788cae4190af3008dafddf2f3a%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C638101432282521311%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lorVxhzKY8skt0LMTiDaby63B%2BA7EpSJv02hHNvzZls%3D&reserved=0
>
>
>
> On Mon, 23 Jan 2023 at 23:08, Gary Dixon  >
> wrote:
>
> > Thanks Pavan
> >
> > Unfortunately, in the Ubuntu OVMF package it does not install a
> > "OVMF_VARS.secboot.fd" file in the /usr/share/OVMF/ path This VARS
> > file does not exist it appears on an ubuntu system.
> >
> > BR
> >
> > Gary
> >
> > Gary Dixon​
> > Senior Technical Consultant
> > T: +44 161 537 4990
> > E: *v* <+44%207989717661>ms@quadris‑support.com
> > W:
> > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.q
> > uadris.co.uk%2F&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7Cf26e2c788c
> > ae4190af3008dafddf2f3a%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63
> > 8101432282521311%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
> > 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9sQKrpy2Xs
> > 1yrXYliGQSfPtARsaafISJIJ17JTFhB4s%3D&reserved=0
> > The information contained in this e-mail from Quadris may be
> > confidential and privileged for the private use of the named
> > recipient. The contents of this e-mail may not necessarily represent the
> official views of Quadris.
> > If you have received this information in error you must not copy,
> > distribute or take any action or reliance on its contents. Please
> > destroy any hard copies and delete this message.
> > -Original Message-
> > From: pavan aravapalli 
> > Sent: 23 January 2023 11:48
> > To: gary.di...@quadris.co.uk.invalid
> > Cc: users@cloudstack.apache.org
> > Subject: Re: KVM host UEFI allow guest UEFI Secure boot
> >
> > I see wrong vars configured for secure VAR. * > template='/usr/share/OVMF/OVMF_VARS.fd'> *
> >
> > It should be something like
> > "/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd",
> > or the file should be like path to the OVMF_VARS.secboot.fd inside
> > uefi.properties on the Ubuntu Host. I hope this helps.
> >
> >
> > Thanks & Regards,
> > Pavan Aravapalli.
> > Architect.
> >
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> > linkedin.com%2Fin%2Fpavan-a-70995a27%2F&data=05%7C01%7CGary.Dixon%40qu
> > adris.co.uk%7Cf26e2c788cae4190af3008dafddf2f3a%7Cf1d6abf3d3b44894ae16d
> > b0fb93a96a2%7C0%7C0%7C638101432282521311%7CUnknown%7CTWFpbGZsb3d8eyJWI
> > joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7
> > C%7C%7C&sdata=lorVxhzKY8skt0LMTiDaby63B%2BA7EpSJv02hHNvzZls%3D&reserve
> > d=0
> >
> >
> >
> >
> > On Fri, 20 Jan 2023 at 16:01, Gary Dixon
> >  > >
> > wrote:
> >
> > > I think this is possibly a bug in CS 4.15.2 with KVM hypervisor on
> > > Ubuntu
> > > 20.04
> > >
> > >
> > >
> > > I have evicted one of our hosts from the cloudstack cluster and
> > > added the /etc/cloudstack/agent/uefi.properties file.
> > >
> > >
> > >
> > > Cleared out the keystore and set the libvirtd.conf file back to
> > > listen_tls=0, listen_tcp=1 and re-added the host back in to the
> > > cluster in Cloudstack
> > >
> > >
> > >
> > > In the agent logs I can see that it detects the uefi.properties file
> > > and enumerates the paths.
> > >
> > >
> > >
> > > The host is added back into Cloudstack – but in 

CloudStack and Tungsten Fabric Solution Brief

2023-01-24 Thread Ivet Petrova
Hi all,

I am happy to share a new solution brief we have developed together with the 
team of Tungsten Fabric: 
https://blogs.apache.org/cloudstack/entry/apache-cloudstack-and-tungsten-fabric
If you are interested to learn more for SDN and how tungsten integrates with 
CloudStack take a look.

Kind regards,


 



RE: KVM host UEFI allow guest UEFI Secure boot

2023-01-24 Thread Gary Dixon
Thanks Pavan

Are you successfully running Windows Server VM's in uefi secure boot mode in 
Cloudstack ?


Gary Dixon
Senior Technical Consultant
T:  +44 161 537 4990
E:  v...@quadris-support.com
W: www.quadris.co.uk
The information contained in this e-mail from Quadris may be confidential and 
privileged for the private use of the named recipient.  The contents of this 
e-mail may not necessarily represent the official views of Quadris.  If you 
have received this information in error you must not copy, distribute or take 
any action or reliance on its contents.  Please destroy any hard copies and 
delete this message.
-Original Message-
From: pavan aravapalli 
Sent: 24 January 2023 07:47
To: users@cloudstack.apache.org
Subject: Re: KVM host UEFI allow guest UEFI Secure boot

Hi Gary,

If you don't have any specific dependencies with Ubunut version try with the 
latest Ubuntu 22.04, it has secure files. I verified and it supports secure 
files.

Thanks & Regards,
Pavan Aravapalli.
Architect.
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fpavan-a-70995a27%2F&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7Cf26e2c788cae4190af3008dafddf2f3a%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C638101432282521311%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lorVxhzKY8skt0LMTiDaby63B%2BA7EpSJv02hHNvzZls%3D&reserved=0



On Mon, 23 Jan 2023 at 23:08, Gary Dixon 
wrote:

> Thanks Pavan
>
> Unfortunately, in the Ubuntu OVMF package it does not install a
> "OVMF_VARS.secboot.fd" file in the /usr/share/OVMF/ path This VARS
> file does not exist it appears on an ubuntu system.
>
> BR
>
> Gary
>
> Gary Dixon​
> Senior Technical Consultant
> T:  +44 161 537 4990
> E:  *v* <+44%207989717661>ms@quadris‑support.com
> W:
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.q
> uadris.co.uk%2F&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7Cf26e2c788c
> ae4190af3008dafddf2f3a%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63
> 8101432282521311%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
> 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9sQKrpy2Xs
> 1yrXYliGQSfPtARsaafISJIJ17JTFhB4s%3D&reserved=0
> The information contained in this e-mail from Quadris may be
> confidential and privileged for the private use of the named
> recipient.  The contents of this e-mail may not necessarily represent the 
> official views of Quadris.
> If you have received this information in error you must not copy,
> distribute or take any action or reliance on its contents.  Please
> destroy any hard copies and delete this message.
> -Original Message-
> From: pavan aravapalli 
> Sent: 23 January 2023 11:48
> To: gary.di...@quadris.co.uk.invalid
> Cc: users@cloudstack.apache.org
> Subject: Re: KVM host UEFI allow guest UEFI Secure boot
>
> I see wrong vars configured for secure VAR. * template='/usr/share/OVMF/OVMF_VARS.fd'> *
>
> It should be something like
> "/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd",
> or the file should be like path to the OVMF_VARS.secboot.fd inside
> uefi.properties on the Ubuntu Host. I hope this helps.
>
>
> Thanks & Regards,
> Pavan Aravapalli.
> Architect.
>
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> linkedin.com%2Fin%2Fpavan-a-70995a27%2F&data=05%7C01%7CGary.Dixon%40qu
> adris.co.uk%7Cf26e2c788cae4190af3008dafddf2f3a%7Cf1d6abf3d3b44894ae16d
> b0fb93a96a2%7C0%7C0%7C638101432282521311%7CUnknown%7CTWFpbGZsb3d8eyJWI
> joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7
> C%7C%7C&sdata=lorVxhzKY8skt0LMTiDaby63B%2BA7EpSJv02hHNvzZls%3D&reserve
> d=0
>
>
>
>
> On Fri, 20 Jan 2023 at 16:01, Gary Dixon
>  >
> wrote:
>
> > I think this is possibly a bug in CS 4.15.2 with KVM hypervisor on
> > Ubuntu
> > 20.04
> >
> >
> >
> > I have evicted one of our hosts from the cloudstack cluster and
> > added the /etc/cloudstack/agent/uefi.properties file.
> >
> >
> >
> > Cleared out the keystore and set the libvirtd.conf file back to
> > listen_tls=0, listen_tcp=1 and re-added the host back in to the
> > cluster in Cloudstack
> >
> >
> >
> > In the agent logs I can see that it detects the uefi.properties file
> > and enumerates the paths.
> >
> >
> >
> > The host is added back into Cloudstack – but in the database in the
> > “host_details” table I see the “host.uefi.enable” value is set to “false”
> > for this host ?
> >
> >
> >
> > We then manually set “host.uefi.enable” to true in the database
> >
> >
> >
> > I then provision a new instance and use a Windows Server2016 ISO to
> > provision the machine on this uefi enabled host. I set the adv
> > settings to
> > BIOS: UEFI BOOT MODE: Secure
> >
> > The VM starts but when I console on to it there is an error message
> > on the console window saying “*Guest has not initialized the display
> > (yet)”*
> >
> > So at this point it appears we are unable to create any VM’s with