can't access vm console

2022-07-23 Thread technologyrss.mail

*Hi,*

ACS version 4.17, all server Centos7.9 storage is trunass nfs share.

After connecting then see Failed to connect to server

https://prnt.sc/6qCPQnO8zcpi

022-07-23 02:18:00,171 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-3:ctx-a3f21d85) (logid:57db7e5f) HA health 
check task is running...
2022-07-23 02:18:04,173 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-5:ctx-25bc5c69) (logid:5ffaca66) HA health 
check task is running...
2022-07-23 02:18:07,239 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-5:null) (logid:) SeqA 2-72: Processing Seq 2-72:  
{ Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11, 
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":"2","_loadInfo":"{

  "connections": [
    {
  "id": 5,
  "clientInfo": "",
  "host": "10.66.10.27",
  "port": 5901,
  "tag": "df861bf0-87bd-4ad0-bab9-082f60874574",
  "createTime": 1658557011478,
  "lastUsedTime": 1658557011478
    }
  ]
}","wait":"0","bypassHostMaintenance":"false"}}] }
2022-07-23 02:18:07,246 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-5:null) (logid:) SeqA 2-72: Sending Seq 2-72:  { 
Ans: , MgmtId: 8796752343080, via: 2, Ver: v1, Flags: 100010, 
[{"com.cloud.agent.api.AgentControlAnswer":{"result":"true","wait":"0","bypassHostMaintenance":"false"}}] 
}
2022-07-23 02:18:08,176 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-6:ctx-85d082ce) (logid:9fd285cf) HA health 
check task is running...
2022-07-23 02:18:09,795 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-6:ctx-f552737b) (logid:45eb89df) AutoScaling Monitor is 
running...
2022-07-23 02:18:11,503 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-1:ctx-b1d75e46) (logid:44f749b4) HostStatsCollector is 
running...
2022-07-23 02:18:11,522 DEBUG [c.c.a.t.Request] 
(StatsCollector-1:ctx-b1d75e46) (logid:44f749b4) Seq 
1-6669831048135704692: Received:  { Ans: , MgmtId: 8796752343080, via: 
1(kvm), Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2022-07-23 02:18:12,086 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-6:null) (logid:) Ping from Routing host 1(kvm)



I create basic zone only for LAN network. and all servers are connected 
from LAN, how do I find out what is issue?


--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter 
 | YouTube 
 | LinkedIn 
*


*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


Not start ssvm & cpvm

2022-07-22 Thread technologyrss.mail

*Hi,*

I am using truenas storage server with two nfs share, *primary *state is 
UP and *secondary *Access ReadWrite is ok, but my ssvm and cpvm not 
properly running.


https://prnt.sc/tjqG0ZDdRnh0

Error from kvm agent log.

2022-07-22 20:23:25,769 WARN  [kvm.resource.KVMHAMonitor] 
(Thread-1:null) (logid:) Write heartbeat for pool 
[3225b5a4-3254-307f-b5cc-4e5b9a824b8b] failed: Failed to create 
/mnt/3225b5a4-3254-307f-b5cc-4e5b9a824b8b/KVMHA//hb-10.66.10.27; 
stopping cloudstack-agent.


please help me how do I find out what is issue,? I see sometime agent 
stop and my server not ping, and then get back after 1 min..


ACS version 4.16. centos 7.

--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter 
 | YouTube 
 | LinkedIn 
*


*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


Can I use OLD UI for ACS version 4.17

2022-07-07 Thread technologyrss.mail

*Hi,*

is it possible use old UI for latest version of ACS?

--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter 
 | YouTube 
 | LinkedIn 
*


*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


Unable to start agent: The UUID of local storage pools must be non-blank

2022-07-06 Thread technologyrss.mail

*Hi,*

libvirtd status is fine but ACS agent not start. Server centos7.9

*From status Error:*
ERROR [cloud.agent.AgentShell] (main:) (logid:) Unable to start agent: 
The UUID of local sto...on-blank
Jul 06 13:35:47 kvm java[4871]: Unable to start agent: The UUID of local 
storage pools must be non-blank


*From debug Error:*

2022-07-06 13:37:40,340 DEBUG [utils.script.Script] (main:null) (logid:) 
Looking for pingtest.sh in /usr/share/pingtest.sh
2022-07-06 13:37:40,340 DEBUG [utils.script.Script] (main:null) (logid:) 
Looking for pingtest.sh in /usr/pingtest.sh
2022-07-06 13:37:40,340 DEBUG [utils.script.Script] (main:null) (logid:) 
Looking for pingtest.sh in /pingtest.sh
2022-07-06 13:37:40,340 DEBUG [utils.script.Script] (main:null) (logid:) 
Searching in environment.properties
2022-07-06 13:37:40,341 DEBUG [utils.script.Script] (main:null) (logid:) 
environment.properties says scripts should be in 
/usr/share/cloudstack-common
2022-07-06 13:37:40,342 DEBUG [utils.script.Script] (main:null) (logid:) 
Looking for pingtest.sh in 
/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/pingtest.sh
2022-07-06 13:37:40,342 DEBUG [utils.script.Script] (main:null) (logid:) 
Looking for pingtest.sh in 
/usr/share/cloudstack-common/scripts/vm/hypervisor/pingtest.sh
2022-07-06 13:37:40,343 DEBUG [utils.script.Script] (main:null) (logid:) 
Looking for pingtest.sh in 
/usr/share/cloudstack-common/scripts/vm/pingtest.sh
2022-07-06 13:37:40,344 INFO [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Failed to find keystore file: cloud.jks
2022-07-06 13:37:40,346 ERROR [cloud.agent.AgentShell] (main:null) 
(logid:) Unable to start agent: The UUID of local storage pools must be 
non-blank


how can I solve this ? please help me.

--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter 
 | YouTube 
 | LinkedIn 
*


*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


Deploy multiple management server

2022-07-05 Thread technologyrss.mail

*Hi,*

I want to deploy multiple management server, please suggest me how to 
deploy?

ACS version 4.17, and Server all Centos7.9

--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter 
 | YouTube 
 | LinkedIn 
*


*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


Re: How To Increase RAM on SSVM or CPVM

2022-06-20 Thread technologyrss.mail

@Pearl

your tips is ok. Thank you so much!

@Harikrishna

I followed  then CPVM is ok but SSVM create using default template.



On 6/20/2022 11:17 AM, Pearl d'Silva wrote:

In addition, one could also override the default system offerings, by creating 
a new service offering and pass the uuid of the new offering to 
'consoleproxy.service.offering' or 'secstorage.service.offering' global 
settings. Changing these global settings would require the Management server(s) 
to be restarted and the VMs - SSVM / CPVM to be recreated.

Thanks,
Pearl


From: Harikrishna Patnala
Sent: Monday, June 20, 2022 8:56 AM
To:users@cloudstack.apache.org  
;d...@cloudstack.apache.org  

Subject: Re: How To Increase RAM on SSVM or CPVM

Hi,

   1.  Create a new system offering based on your RAM need and others
   2.  Stop the SSVM/CPVM
   3.  Scale the SSVM/CPVM to the newly created system offering

Hope this helps.

Thanks,
Harikrishna


From: technologyrss.mail
Sent: Sunday, June 19, 2022 3:03 PM
To:users@cloudstack.apache.org  
;d...@cloudstack.apache.org  

Subject: How To Increase RAM on SSVM or CPVM

Hi,

How To Increase RAM size on SSVM and CPVM.

--

*Thanks & Regards.*

*Support Admin*



*Facebook<https://www.facebook.com/TechnologyRSS>  | Twitter
<https://twitter.com/technologyrss1>  | YouTube
<https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw>  | LinkedIn
<https://www.linkedin.com/company/technologyrss/>*

*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :*support.ad...@technologyrss.com

*Web 
:*www.technologyrss.com<http://www.technologyrss.com><http://www.technologyrss.com<http://www.technologyrss.com>>




  




--

*Thanks & Regards.*

*Support Admin*



*Facebook <https://www.facebook.com/TechnologyRSS> | Twitter 
<https://twitter.com/technologyrss1> | YouTube 
<https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn 
<https://www.linkedin.com/company/technologyrss/>*


*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


Re: Can't open vm console for access

2022-06-19 Thread technologyrss.mail

Hi,

root@v-7-VM:~# telnet 10.66.10.26 5901
Trying 10.66.10.26...
telnet: Unable to connect to remote host: No route to host
root@v-7-VM:~#
root@v-7-VM:~# telnet 10.66.10.26 22
Trying 10.66.10.26...
Connected to 10.66.10.26.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.4

CPVM error below:

ERROR: NFS is not currently mounted

root@v-7-VM:~# rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - No such 
file or directory


but SSVM is ok and mount storage

root@s-8-VM:~# rpcinfo -p
   program vers proto   port  service
    10    4   tcp    111  portmapper
    10    3   tcp    111  portmapper
    10    2   tcp    111  portmapper
    10    4   udp    111  portmapper
    10    3   udp    111  portmapper
    10    2   udp    111  portmapper

I am already drop both vms and try using new but no any change, How can 
I solve ?


On 6/19/2022 4:30 PM, Wei ZHOU wrote:


Hi,

Can you check if the host/port is reachable from CPVM ?

"host": "10.66.10.26",
"port": 5901,

-Wei

On Sun, 19 Jun 2022 at 09:04, technologyrss.mail <
technologyrss.m...@gmail.com> wrote:


*Hi,*

My ACS version is 4.16.1.0. VM State - *Running* and Agent State - *Up*

Can't open vm console - Connecting .

Log as like below

2022-06-07 20:12:45,521 DEBUG [c.c.a.t.Request]
(StatsCollector-6:ctx-ffab8c2d) (logid:80fcd021) Seq
1-7583498822538494072: Received:  { Ans: , MgmtId: 8796761302113, via:
1(kvm), Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2022-06-07 20:12:48,411 DEBUG [o.a.c.h.HAManagerImpl]
(BackgroundTaskPollManager-6:ctx-b1c6b7e0) (logid:8a1f2059) HA health
check task is running...
2022-06-07 20:12:49,016 DEBUG [c.c.s.d.DownloadListener]
(Timer-7:ctx-b390a849) (logid:e960625f) Scheduling timeout at 3 ms,
TEMPLATE: 4 at host 3
2022-06-07 20:12:49,946 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-4:null) (logid:) SeqA 2-92: Processing Seq 2-92:
{ Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11,

[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":"1","_loadInfo":"{
"connections": [
  {
"id": 4,
"clientInfo": "",
"host": "10.66.10.26",
"port": 5901,
"tag": "d3e73567-8176-499a-967a-5888e24bd9ff",
"createTime": 1655621960763,
"lastUsedTime": 1655621960763
  }
]
}","wait":"0","bypassHostMaintenance":"false"}}] }
2022-06-07 20:12:49,954 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-4:null) (logid:) SeqA 2-92: Sending Seq 2-92:  {
Ans: , MgmtId: 8796761302113, via: 2, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.AgentControlAnswer":{"result":"true","wait":"0","bypassHostMaintenance":"false"}}]

}
2022-06-07 20:12:51,671 DEBUG [c.c.s.StatsCollector]
(StatsCollector-5:ctx-117d80ba) (logid:b3bf0e00) StorageCollector is
running...
2022-06-07 20:12:51,681 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru]
(StatsCollector-5:ctx-117d80ba) (logid:b3bf0e00)
getCommandHostDelegation: class com.cloud.agent.api.GetStorageStatsCommand
2022-06-07 20:12:51,682 DEBUG [c.c.h.XenServerGuru]
(StatsCollector-5:ctx-117d80ba) (logid:b3bf0e00) We are returning the
default host to execute commands because the command is not of Copy type.
2022-06-07 20:12:52,175 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-6:null) (logid:) Ping from Routing host 1(kvm)


--

*Thanks & Regards.*

*Support Admin*



*Facebook<https://www.facebook.com/TechnologyRSS>  | Twitter
<https://twitter.com/technologyrss1>  | YouTube
<https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw>  | LinkedIn
<https://www.linkedin.com/company/technologyrss/>*

*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :*support.ad...@technologyrss.com

*Web :*www.technologyrss.com


--

*Thanks & Regards.*

*Support Admin*



*Facebook <https://www.facebook.com/TechnologyRSS> | Twitter 
<https://twitter.com/technologyrss1> | YouTube 
<https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn 
<https://www.linkedin.com/company/technologyrss/>*


*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


How To Increase RAM on SSVM or CPVM

2022-06-19 Thread technologyrss.mail

Hi,

How To Increase RAM size on SSVM and CPVM.

--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter 
 | YouTube 
 | LinkedIn 
*


*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


Can't open vm console for access

2022-06-19 Thread technologyrss.mail

*Hi,*

My ACS version is 4.16.1.0. VM State - *Running* and Agent State - *Up*

Can't open vm console - Connecting .

Log as like below

2022-06-07 20:12:45,521 DEBUG [c.c.a.t.Request] 
(StatsCollector-6:ctx-ffab8c2d) (logid:80fcd021) Seq 
1-7583498822538494072: Received:  { Ans: , MgmtId: 8796761302113, via: 
1(kvm), Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2022-06-07 20:12:48,411 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-6:ctx-b1c6b7e0) (logid:8a1f2059) HA health 
check task is running...
2022-06-07 20:12:49,016 DEBUG [c.c.s.d.DownloadListener] 
(Timer-7:ctx-b390a849) (logid:e960625f) Scheduling timeout at 3 ms, 
TEMPLATE: 4 at host 3
2022-06-07 20:12:49,946 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-4:null) (logid:) SeqA 2-92: Processing Seq 2-92:  
{ Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11, 
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":"1","_loadInfo":"{

  "connections": [
    {
  "id": 4,
  "clientInfo": "",
  "host": "10.66.10.26",
  "port": 5901,
  "tag": "d3e73567-8176-499a-967a-5888e24bd9ff",
  "createTime": 1655621960763,
  "lastUsedTime": 1655621960763
    }
  ]
}","wait":"0","bypassHostMaintenance":"false"}}] }
2022-06-07 20:12:49,954 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-4:null) (logid:) SeqA 2-92: Sending Seq 2-92:  { 
Ans: , MgmtId: 8796761302113, via: 2, Ver: v1, Flags: 100010, 
[{"com.cloud.agent.api.AgentControlAnswer":{"result":"true","wait":"0","bypassHostMaintenance":"false"}}] 
}
2022-06-07 20:12:51,671 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-5:ctx-117d80ba) (logid:b3bf0e00) StorageCollector is 
running...
2022-06-07 20:12:51,681 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru] 
(StatsCollector-5:ctx-117d80ba) (logid:b3bf0e00) 
getCommandHostDelegation: class com.cloud.agent.api.GetStorageStatsCommand
2022-06-07 20:12:51,682 DEBUG [c.c.h.XenServerGuru] 
(StatsCollector-5:ctx-117d80ba) (logid:b3bf0e00) We are returning the 
default host to execute commands because the command is not of Copy type.
2022-06-07 20:12:52,175 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-6:null) (logid:) Ping from Routing host 1(kvm)



--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter 
 | YouTube 
 | LinkedIn 
*


*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


Re: Unable to create a deployment for VM

2021-11-26 Thread technologyrss.mail

Yes, Thank you so much, You find out exact reason. Now I fix this issue.

:)

Thanks again.

On 11/27/2021 12:46 AM, Wei ZHOU wrote:

Hi,

This is indeed a capacity issue with memory (capacity Type : 0).

2021-11-26 18:47:42,550 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Searching all possible resources under this Zone: 1
2021-11-26 18:47:42,554 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Listing clusters in order of aggregate capacity, that have (at least 
one host with) enough CPU and RAM capacity under this Zone: 1
2021-11-26 18:47:42,561 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Removing from the clusterId list these clusters from avoid set: []
2021-11-26 18:47:42,582 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Cannot allocate cluster list [1] for vm creation since their allocated 
percentage crosses the disable capacity threshold defined at each 
cluster/ at global value for capacity Type : 0, skipping these clusters
2021-11-26 18:47:42,582 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
No clusters found after removing disabled clusters and clusters in 
avoid list, returning.
2021-11-26 18:47:42,590 DEBUG [c.c.v.UserVmManagerImpl] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Destroying vm VM[User|i-2-3-VM] as it failed to create on Host with 
Id:null


-Wei

On Fri, 26 Nov 2021 at 14:40, technologyrss.mail 
 wrote:


Please download and see full log from ACS


https://drive.google.com/file/d/1BEB6HYgI8VWTjg9rwk3BZlfLlpPaRzZL/view?usp=sharing

Thank you so much.

On 11/26/2021 7:18 PM, Wei ZHOU wrote:

Hi,

Normally it is not a capacity issue. It might be caused by the systemvm
template, VR, etc. Please share the full log (from job-16 is started).

-Wei

On Fri, 26 Nov 2021 at 14:12, technologyrss.mail <
technologyrss.m...@gmail.com> wrote:


*Hi, *

Please see error log:

(logid:9bd01412) Searching all possible resources under this Zone: 1
2021-11-26 18:47:42,554 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Listing clusters in order of aggregate capacity, that have (at least one
host with) enough CPU and RAM capacity under this Zone: 1
2021-11-26 18:47:42,561 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Removing from the clusterId list these clusters from avoid set: []
2021-11-26 18:47:42,582 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Cannot allocate cluster list [1] for vm creation since their allocated
percentage crosses the disable capacity threshold defined at each
cluster/ at global value for capacity Type : 0, skipping these clusters
2021-11-26 18:47:42,582 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
No clusters found after removing disabled clusters and clusters in avoid
list, returning.
2021-11-26 18:47:42,590 DEBUG [c.c.v.UserVmManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Destroying vm VM[User|i-2-3-VM] as it failed to create on Host with Id:null
2021-11-26 18:47:42,626 DEBUG [c.c.c.CapacityManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
VM state transitted from :Stopped to Error with event:
OperationFailedToErrorvm's original host id: null new host id: null host
id before state transition: null
2021-11-26 18:47:42,659 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Updating resource Type = volume count for Account = 2 Operation =
decreasing Amount = 1
2021-11-26 18:47:42,680 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Updating resource Type = primary_storage count for Account = 2 Operation
= decreasing Amount = (20.00 GB) 21474836480
2021-11-26 18:47:42,714 WARN  [c.c.a.AlertManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
AlertType:: 8 | dataCenterId:: 1 | podId:: null | clusterId:: null |
message:: Failed to deploy Vm with Id: 3, on Host with Id: null
2021-11-26 18:47:42,727 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Updating resource Type = user_vm count for Account = 2 Operation =
decreasing Amount = 1
2021-11-26 18:47:42,737 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) 

Re: Unable to create a deployment for VM

2021-11-26 Thread technologyrss.mail

Please download and see full log from ACS

https://drive.google.com/file/d/1BEB6HYgI8VWTjg9rwk3BZlfLlpPaRzZL/view?usp=sharing

Thank you so much.

On 11/26/2021 7:18 PM, Wei ZHOU wrote:

Hi,

Normally it is not a capacity issue. It might be caused by the systemvm
template, VR, etc. Please share the full log (from job-16 is started).

-Wei

On Fri, 26 Nov 2021 at 14:12, technologyrss.mail <
technologyrss.m...@gmail.com> wrote:


*Hi, *

Please see error log:

(logid:9bd01412) Searching all possible resources under this Zone: 1
2021-11-26 18:47:42,554 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Listing clusters in order of aggregate capacity, that have (at least one
host with) enough CPU and RAM capacity under this Zone: 1
2021-11-26 18:47:42,561 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Removing from the clusterId list these clusters from avoid set: []
2021-11-26 18:47:42,582 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Cannot allocate cluster list [1] for vm creation since their allocated
percentage crosses the disable capacity threshold defined at each
cluster/ at global value for capacity Type : 0, skipping these clusters
2021-11-26 18:47:42,582 DEBUG [c.c.d.FirstFitPlanner]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
No clusters found after removing disabled clusters and clusters in avoid
list, returning.
2021-11-26 18:47:42,590 DEBUG [c.c.v.UserVmManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Destroying vm VM[User|i-2-3-VM] as it failed to create on Host with Id:null
2021-11-26 18:47:42,626 DEBUG [c.c.c.CapacityManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
VM state transitted from :Stopped to Error with event:
OperationFailedToErrorvm's original host id: null new host id: null host
id before state transition: null
2021-11-26 18:47:42,659 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Updating resource Type = volume count for Account = 2 Operation =
decreasing Amount = 1
2021-11-26 18:47:42,680 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Updating resource Type = primary_storage count for Account = 2 Operation
= decreasing Amount = (20.00 GB) 21474836480
2021-11-26 18:47:42,714 WARN  [c.c.a.AlertManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
AlertType:: 8 | dataCenterId:: 1 | podId:: null | clusterId:: null |
message:: Failed to deploy Vm with Id: 3, on Host with Id: null
2021-11-26 18:47:42,727 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Updating resource Type = user_vm count for Account = 2 Operation =
decreasing Amount = 1
2021-11-26 18:47:42,737 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Updating resource Type = cpu count for Account = 2 Operation =
decreasing Amount = 1
2021-11-26 18:47:42,748 DEBUG [c.c.r.ResourceLimitManagerImpl]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Updating resource Type = memory count for Account = 2 Operation =
decreasing Amount = 1024
2021-11-26 18:47:42,768 INFO  [o.a.c.a.c.u.v.DeployVMCmd]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
com.cloud.exception.InsufficientServerCapacityException: Unable to
create a deployment for VM[User|i-2-3-VM]Scope=interface
com.cloud.dc.DataCenter; id=1
2021-11-26 18:47:42,768 INFO  [o.a.c.a.c.u.v.DeployVMCmd]
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412)
Unable to create a deployment for VM[User|i-2-3-VM]
com.cloud.exception.InsufficientServerCapacityException: Unable to
create a deployment for VM[User|i-2-3-VM]Scope=interface
com.cloud.dc.DataCenter; id=1
  at

org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:225)
  at

org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:202)
  at

com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:4929)
  at

com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:4466)
  at

com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:4455)
  at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
  at

java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at

java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.ja

Unable to create a deployment for VM

2021-11-26 Thread technologyrss.mail

*Hi, *

Please see error log:

(logid:9bd01412) Searching all possible resources under this Zone: 1
2021-11-26 18:47:42,554 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Listing clusters in order of aggregate capacity, that have (at least one 
host with) enough CPU and RAM capacity under this Zone: 1
2021-11-26 18:47:42,561 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Removing from the clusterId list these clusters from avoid set: []
2021-11-26 18:47:42,582 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Cannot allocate cluster list [1] for vm creation since their allocated 
percentage crosses the disable capacity threshold defined at each 
cluster/ at global value for capacity Type : 0, skipping these clusters
2021-11-26 18:47:42,582 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
No clusters found after removing disabled clusters and clusters in avoid 
list, returning.
2021-11-26 18:47:42,590 DEBUG [c.c.v.UserVmManagerImpl] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Destroying vm VM[User|i-2-3-VM] as it failed to create on Host with Id:null
2021-11-26 18:47:42,626 DEBUG [c.c.c.CapacityManagerImpl] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
VM state transitted from :Stopped to Error with event: 
OperationFailedToErrorvm's original host id: null new host id: null host 
id before state transition: null
2021-11-26 18:47:42,659 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Updating resource Type = volume count for Account = 2 Operation = 
decreasing Amount = 1
2021-11-26 18:47:42,680 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Updating resource Type = primary_storage count for Account = 2 Operation 
= decreasing Amount = (20.00 GB) 21474836480
2021-11-26 18:47:42,714 WARN  [c.c.a.AlertManagerImpl] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
AlertType:: 8 | dataCenterId:: 1 | podId:: null | clusterId:: null | 
message:: Failed to deploy Vm with Id: 3, on Host with Id: null
2021-11-26 18:47:42,727 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Updating resource Type = user_vm count for Account = 2 Operation = 
decreasing Amount = 1
2021-11-26 18:47:42,737 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Updating resource Type = cpu count for Account = 2 Operation = 
decreasing Amount = 1
2021-11-26 18:47:42,748 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Updating resource Type = memory count for Account = 2 Operation = 
decreasing Amount = 1024
2021-11-26 18:47:42,768 INFO  [o.a.c.a.c.u.v.DeployVMCmd] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
com.cloud.exception.InsufficientServerCapacityException: Unable to 
create a deployment for VM[User|i-2-3-VM]Scope=interface 
com.cloud.dc.DataCenter; id=1
2021-11-26 18:47:42,768 INFO  [o.a.c.a.c.u.v.DeployVMCmd] 
(API-Job-Executor-8:ctx-dfeedfec job-16 ctx-0f3c8323) (logid:9bd01412) 
Unable to create a deployment for VM[User|i-2-3-VM]
com.cloud.exception.InsufficientServerCapacityException: Unable to 
create a deployment for VM[User|i-2-3-VM]Scope=interface 
com.cloud.dc.DataCenter; id=1
    at 
org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:225)
    at 
org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:202)
    at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:4929)
    at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:4466)
    at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:4455)
    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    at 

unable to add host

2021-11-12 Thread technologyrss.mail

*Hi,*

I am using vmwere nested kvm vm for host, all servers are centos 7.9 and 
ACS version is 4.15.2, But I can't add kvm host on my ACS mgmt server 
from gui.



From GUI error
---
HostIncorrect Network setup on agentReinitialize agent after network 
names are setupdetails : Can not find network: cloudbr112 Nov 2021 06:12:31



Cloud stack management server log

 disconnect
2021-11-12 06:55:11,442 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentConnectTaskPool-133:ctx-2f315d14) (logid:6d17933e) Failed to 
handle host connection:
com.cloud.exception.ConnectionException: Incorrect Network setup on 
agent, Reinitialize agent after network names are setup, details : Can 
not find network: cloudbr1
    at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.processConnect(NetworkOrchestrator.java:3819)
    at 
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:563)
    at 
com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1110)
    at 
com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.runInContext(AgentManagerImpl.java:1194)
    at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
    at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
    at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
    at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
    at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
    at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

    at java.base/java.lang.Thread.run(Thread.java:829)
2021-11-12 06:55:11,453 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentConnectTaskPool-133:ctx-2f315d14) (logid:6d17933e) Can not send 
command com.cloud.agent.api.ReadyCommand due to Host 1 is not up





KVM networking
-
[root@kvm02 network-scripts]# cat ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BONDING_OPTS='mode=1 miimon=100'
BRIDGE=cloudbr0
NM_CONTROLLED=no
[root@kvm02 network-scripts]# cat ifcfg-bond1
DEVICE=bond1
ONBOOT=yes
BONDING_OPTS='mode=1 miimon=100'
BRIDGE=cloudbr1
NM_CONTROLLED=no
[root@kvm02 network-scripts]# cat ifcfg-cloudbr0
DEVICE="cloudbr0"
TYPE="Bridge"
ONBOOT="yes"
NM_CONTROLLED="no"
DELAY="0"
IPADDR="10.10.10.212"
PREFIX="24"
GATEWAY="10.10.10.14"
DNS1="10.10.10.10"
DNS2="8.8.4.4"
[root@kvm02 network-scripts]# cat ifcfg-cloudbr1
DEVICE=cloudbr1
ONBOOT=yes
TYPE=Bridge
NM_CONTROLLED=no
DELAY=0
[root@kvm02 network-scripts]# cat ifcfg-ens192
TYPE="Ethernet"
HWADDR="00:50:56:82:01:82"
BOOTPROTO="none"
DEVICE="ens192"
USERCTL="no"
MASTER="bond0"
SLAVE="yes"
NM_CONTROLLED="no"
ONBOOT="yes"


Please help me any miss config my network.


--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter 
 | YouTube 
 | LinkedIn 
*


*Address : *116/1 West Malibagh, D. I. T Road

Dhaka-1217, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


kubernet with kvm setup

2021-11-08 Thread technologyrss.mail

Hi dear,

what is steps for install kubernet with kvm host? and how it is working 
? please give me any idea.


is it possible 1 host server, 1 cloud stack management and 1 storage server?

--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter 
 | YouTube 
 | LinkedIn 
*


*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com


Re: Can I install all services on same server

2021-10-02 Thread technologyrss.mail

Nice,

Physical server needed ? or Can I use public vps ?

What is server requirements ?

Regards
Alamin



On 10/2/2021 10:31 PM, Cristian Ciobanu wrote:

Hi,

   Yes, it is possible. ( I would not do that for production environment )

Regards
Cristian


On Sat, Oct 2, 2021, 19:19 technologyrss.mail 
wrote:


*Hi,*

Can I install all services on same server? like ACS management, NFS and
KVM host on same server.

Is it possible or not?


Thanks, Alamin




Can I install all services on same server

2021-10-02 Thread technologyrss.mail

*Hi,*

Can I install all services on same server? like ACS management, NFS and 
KVM host on same server.


Is it possible or not?


Thanks, Alamin



Unable to create Instance from user account

2021-09-15 Thread technologyrss.mail

*Hi,*

I am successfully create vpc and tier then create Instance using root 
admin account. But when I create another account and create another 
domain. Then I login using this account. This account permission is 
domain admin.  I try to create Instance but failed action.


Then I try to create vpc & tier also it is failed.

What can I do now? what is permission needed for different domain admin.


---
Alamin



Re: Unable to add host

2021-09-14 Thread technologyrss.mail

Yes, I am able ssh.

ssh root@10.66.100.15
Warning: Permanently added '10.66.100.15' (RSA) to the list of known hosts.
root@10.66.100.15's password:
X11 forwarding request failed on channel 0
Last login: Tue Sep 14 21:25:14 2021 from 10.66.100.6
[root@cloud ~]#
[root@cloud ~]# ssh root@10.66.100.50
The authenticity of host '10.66.100.50 (10.66.100.50)' can't be established.
ECDSA key fingerprint is SHA256:iQPJSwVYqZ+Hg80zh+MAv16z32IsKn5TAFJU2ehXmLU.
ECDSA key fingerprint is 
MD5:8b:21:7d:6d:c4:8d:33:63:c5:d0:a2:3e:ce:64:ee:78.

Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.66.100.50' (ECDSA) to the list of known 
hosts.

root@10.66.100.50's password:
Last login: Tue Sep 14 12:46:07 2021 from 10.66.100.6
[root@kvm ~]#
[root@kvm ~]#
[root@kvm ~]#


---
alamin

On 9/15/2021 1:28 AM, James Steele wrote:

Hi,

can you SSH succesfully from the Management Server to the host you wish to add?

Jim

On 2021/09/14 16:02:44, "technologyrss.mail"  
wrote:

*Hi, *

Please see my log, I can't understand why not added host on my Advanced
zone. All servers are CentOS Linux release 7.9.2009 (Core).

|ca.plugin.root.auth.strictness|is set to|false
|

for ssh setting below config

PubkeyAcceptedKeyTypes=+ssh-dss
HostKeyAlgorithms=+ssh-dss
KexAlgorithms=+diffie-hellman-group1-sha1

please see my log error from ACS mgmt server

2021-09-14 21:43:01,298 DEBUG [c.c.u.s.SSHCmdHelper]
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) SSH
command: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
SSH command output:
cat: /etc/cloudstack/agent/cloud.csr: No such file or directory
chmod: cannot access ‘/etc/cloudstack/agent/cloud.csr’: No such file or
directory

2021-09-14 21:43:01,299 DEBUG [c.c.u.s.SSHCmdHelper]
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) Executing
cmd: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
2021-09-14 21:43:03,881 DEBUG [c.c.s.StatsCollector]
(StatsCollector-6:ctx-f2675358) (logid:2fb31c5c) StorageCollector is
running...
2021-09-14 21:43:03,894 DEBUG [c.c.s.StatsCollector]
(StatsCollector-3:ctx-240201ac) (logid:a7801c31) AutoScaling Monitor is
running...
2021-09-14 21:43:03,947 DEBUG [c.c.s.StatsCollector]
(StatsCollector-5:ctx-c7e24e1f) (logid:d16881a3) HostStatsCollector is
running...
2021-09-14 21:43:06,826 DEBUG [c.c.u.s.SSHCmdHelper]
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) SSH
command: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
SSH command output:
cat: /etc/cloudstack/agent/cloud.csr: No such file or directory
chmod: cannot access ‘/etc/cloudstack/agent/cloud.csr’: No such file or
directory

2021-09-14 21:43:06,826 DEBUG [c.c.u.s.SSHCmdHelper]
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) Executing
cmd: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
2021-09-14 21:43:09,204 DEBUG [c.c.u.s.SSHCmdHelper]
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) SSH
command: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
SSH command output:
cat: /etc/cloudstack/agent/cloud.csr: No such file or directory
chmod: cannot access ‘/etc/cloudstack/agent/cloud.csr’: No such file or
directory

2021-09-14 21:43:09,205 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) can't
setup agent, due to com.cloud.utils.exception.CloudRuntimeException:
Failed to setup keystore on the KVM host: 10.66.100.50 - Failed to setup
keystore on the KVM host: 10.66.100.50
2021-09-14 21:43:09,206 WARN  [c.c.r.ResourceManagerImpl]
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) Unable to
find the server resources at http://10.66.100.50
2021-09-14 21:43:09,206 INFO  [c.c.u.e.CSExceptionErrorCode]
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) Could not
find exception: com.cloud.exception.DiscoveryException in error code
list for exceptions
2021-09-14 21:43:09,212 WARN  [o.a.c.a.c.a.h.AddHostCmd]
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
      at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:825)
      at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:611)
      at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
      at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at

Unable to add host

2021-09-14 Thread technologyrss.mail

*Hi, *

Please see my log, I can't understand why not added host on my Advanced 
zone. All servers are CentOS Linux release 7.9.2009 (Core).


|ca.plugin.root.auth.strictness|is set to|false
|

for ssh setting below config

PubkeyAcceptedKeyTypes=+ssh-dss
HostKeyAlgorithms=+ssh-dss
KexAlgorithms=+diffie-hellman-group1-sha1

please see my log error from ACS mgmt server

2021-09-14 21:43:01,298 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) SSH 
command: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/

SSH command output:
cat: /etc/cloudstack/agent/cloud.csr: No such file or directory
chmod: cannot access ‘/etc/cloudstack/agent/cloud.csr’: No such file or 
directory


2021-09-14 21:43:01,299 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) Executing 
cmd: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
2021-09-14 21:43:03,881 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-6:ctx-f2675358) (logid:2fb31c5c) StorageCollector is 
running...
2021-09-14 21:43:03,894 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-3:ctx-240201ac) (logid:a7801c31) AutoScaling Monitor is 
running...
2021-09-14 21:43:03,947 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-5:ctx-c7e24e1f) (logid:d16881a3) HostStatsCollector is 
running...
2021-09-14 21:43:06,826 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) SSH 
command: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/

SSH command output:
cat: /etc/cloudstack/agent/cloud.csr: No such file or directory
chmod: cannot access ‘/etc/cloudstack/agent/cloud.csr’: No such file or 
directory


2021-09-14 21:43:06,826 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) Executing 
cmd: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
2021-09-14 21:43:09,204 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) SSH 
command: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/

SSH command output:
cat: /etc/cloudstack/agent/cloud.csr: No such file or directory
chmod: cannot access ‘/etc/cloudstack/agent/cloud.csr’: No such file or 
directory


2021-09-14 21:43:09,205 WARN  [c.c.h.k.d.LibvirtServerDiscoverer] 
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) can't 
setup agent, due to com.cloud.utils.exception.CloudRuntimeException: 
Failed to setup keystore on the KVM host: 10.66.100.50 - Failed to setup 
keystore on the KVM host: 10.66.100.50
2021-09-14 21:43:09,206 WARN  [c.c.r.ResourceManagerImpl] 
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) Unable to 
find the server resources at http://10.66.100.50
2021-09-14 21:43:09,206 INFO  [c.c.u.e.CSExceptionErrorCode] 
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) Could not 
find exception: com.cloud.exception.DiscoveryException in error code 
list for exceptions
2021-09-14 21:43:09,212 WARN  [o.a.c.a.c.a.h.AddHostCmd] 
(qtp1136768342-268:ctx-9737fb53 ctx-4efc5a53) (logid:83b994d6) Exception:

com.cloud.exception.DiscoveryException: Unable to add the host
    at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:825)
    at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:611)
    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)

    at com.sun.proxy.$Proxy192.discoverHosts(Unknown Source)
    at 
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)

    at 

Re: For Advanced Zone

2021-09-09 Thread technologyrss.mail
I have kvm host server with two NIC, which method I use for create 
Advanced zone?


 For physical NIC one and add all Management, Public & Guest values are 
cloudbr0,?


or Physical NIC one for Management value cloudbr0

 and another NIC Public & Guest values cloudbr1 this is correct or wrong ?

Please give me idea.


---
Alamin

On 9/10/2021 12:04 AM, Vivek Kumar wrote:

Yes, you can create Advance Zone without having any actual public IP range. You 
can use your exiting LAN range and setup CloudStack. Then obviously you can 
only access from that network only. ( I hope this is for testing purpose or 
in-house deployment )


Vivek Kumar
Sr. Manager - Cloud & DevOps
IndiQus Technologies
M +91 7503460090
www.indiqus.com





On 09-Sep-2021, at 6:12 PM, technologyrss.mail  
wrote:

Hi,

I have one query like can I create Advanced Zone without public ip range only 
LAN?


---
Alamin



For Advanced Zone

2021-09-09 Thread technologyrss.mail

Hi,

I have one query like can I create Advanced Zone without public ip range 
only LAN?



---
Alamin



Re: Console proxy creation failure

2021-09-03 Thread technologyrss.mail

Thank you so much ! It helps for me.


*---**
**Alamin*


On 9/3/2021 11:06 AM, David Jumani wrote:
If that's the case, you can remove the host, reset the IP table rules, 
reinstall the cloudstack agent and add the required IP tables rules as 
mentioned here (as some iptable rules are added to allow the console 
proxy communicate with the vnc port on the host)
https://docs.cloudstack.apache.org/en/latest/installguide/hypervisor/kvm.html 
<https://docs.cloudstack.apache.org/en/latest/installguide/hypervisor/kvm.html>
https://docs.cloudstack.apache.org/en/latest/installguide/hypervisor/kvm.html#open-ports-in-rhel-centos 
<https://docs.cloudstack.apache.org/en/latest/installguide/hypervisor/kvm.html#open-ports-in-rhel-centos>



----
*From:* technologyrss.mail 
*Sent:* Thursday, September 2, 2021 11:13 AM
*To:* David Jumani ; 
users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 

*Subject:* Re: Console proxy creation failure

I see iptables issue from my kvm host. after some time iptables 
service stop then I can't access any vm.



*---*

*Alamin*



On 9/2/2021 10:12 AM, David Jumani wrote:
Could you send the /var/log/cloud.log in the console proxy VM ? Also 
try destroying and recreating the proxy VM



----
*From:* technologyrss.mail  
<mailto:technologyrss.m...@gmail.com>

*Sent:* Wednesday, September 1, 2021 6:58 AM
*To:* users@cloudstack.apache.org 
<mailto:users@cloudstack.apache.org>  
<mailto:users@cloudstack.apache.org>; David Jumani 
 <mailto:david.jum...@shapeblue.com>; 
d...@cloudstack.apache.org <mailto:d...@cloudstack.apache.org> 
 <mailto:d...@cloudstack.apache.org>

*Subject:* Fwd: Console proxy creation failure

*Thank you so much ! *Yes, RAM issue. I increase RAM then fix but I 
see different error like I can't access vm console from browser. 
Please see below image.



ACS log file from below link.

https://drive.google.com/file/d/15C20k1wYlDFNReyY1iYoyfRdJodwdxiU/view?usp=sharing 
<https://drive.google.com/file/d/15C20k1wYlDFNReyY1iYoyfRdJodwdxiU/view?usp=sharing>




*---**
**Alamin.*


On 8/31/2021 2:38 PM, David Jumani wrote:

Hi

At just a glance, It looks like there isn't sufficient memory for 
the Console proxy to come up (by default it needs 1024 MB)
Try adding more memory or increasing the memory overprovisioning 
factor in the configuration / global settings tab



--------
*From:* technologyrss.mail  
<mailto:technologyrss.m...@gmail.com>

*Sent:* Tuesday, August 31, 2021 12:31 PM
*To:* users@cloudstack.apache.org 
<mailto:users@cloudstack.apache.org>  
<mailto:users@cloudstack.apache.org>; d...@cloudstack.apache.org 
<mailto:d...@cloudstack.apache.org>  
<mailto:d...@cloudstack.apache.org>

*Subject:* Console proxy creation failure

*Hi,*

I am able to setup ACS using centos 7.9. all service are properly 
working fine. But when I create basic zone then I see error like below .


ACS server : Centos 0s 7.9
NFS server : Centos 0s 7.8
KVM server : Centos 0s 7.8

Secondary Storage VM working fine but can't start proxy vm. what is 
issue?


This is system capacity like as below.



Please give me any idea..


*Thanks, Alamin*



Can I use only LAN for Advanced Zone

2021-09-02 Thread technologyrss.mail

*Hi,*

Can I use only LAN for Advanced Zone? is it possible ? If possible so 
how can I setup network from.


    Management, Public & Guest interface.

All interface connected is LAN then set value is cloudbr0, is it correct?

*or,*

How can I create Advanced Zone without public ip for testing purposes?

please give me some idea


*---**
**Thanks, alamin*



Re: Console proxy creation failure

2021-09-01 Thread technologyrss.mail
I see iptables issue from my kvm host. after some time iptables service 
stop then I can't access any vm.



*---*

*Alamin*



On 9/2/2021 10:12 AM, David Jumani wrote:
Could you send the /var/log/cloud.log in the console proxy VM ? Also 
try destroying and recreating the proxy VM




*From:* technologyrss.mail 
*Sent:* Wednesday, September 1, 2021 6:58 AM
*To:* users@cloudstack.apache.org ; David 
Jumani ; d...@cloudstack.apache.org 


*Subject:* Fwd: Console proxy creation failure

*Thank you so much ! *Yes, RAM issue. I increase RAM then fix but I 
see different error like I can't access vm console from browser. 
Please see below image.



ACS log file from below link.

https://drive.google.com/file/d/15C20k1wYlDFNReyY1iYoyfRdJodwdxiU/view?usp=sharing 
<https://drive.google.com/file/d/15C20k1wYlDFNReyY1iYoyfRdJodwdxiU/view?usp=sharing>




*---**
**Alamin.*


On 8/31/2021 2:38 PM, David Jumani wrote:

Hi

At just a glance, It looks like there isn't sufficient memory for the 
Console proxy to come up (by default it needs 1024 MB)
Try adding more memory or increasing the memory overprovisioning 
factor in the configuration / global settings tab




*From:* technologyrss.mail  
<mailto:technologyrss.m...@gmail.com>

*Sent:* Tuesday, August 31, 2021 12:31 PM
*To:* users@cloudstack.apache.org 
<mailto:users@cloudstack.apache.org>  
<mailto:users@cloudstack.apache.org>; d...@cloudstack.apache.org 
<mailto:d...@cloudstack.apache.org>  
<mailto:d...@cloudstack.apache.org>

*Subject:* Console proxy creation failure

*Hi,*

I am able to setup ACS using centos 7.9. all service are properly 
working fine. But when I create basic zone then I see error like below .


ACS server : Centos 0s 7.9
NFS server : Centos 0s 7.8
KVM server : Centos 0s 7.8

Secondary Storage VM working fine but can't start proxy vm. what is 
issue?


This is system capacity like as below.



Please give me any idea..


*Thanks, Alamin*



Fwd: Console proxy creation failure

2021-08-31 Thread technologyrss.mail


*Thank you so much ! *Yes, RAM issue. I increase RAM then fix but I see 
different error like I can't access vm console from browser. Please see 
below image.



ACS log file from below link.

https://drive.google.com/file/d/15C20k1wYlDFNReyY1iYoyfRdJodwdxiU/view?usp=sharing



*---**
**Alamin.*


On 8/31/2021 2:38 PM, David Jumani wrote:

Hi

At just a glance, It looks like there isn't sufficient memory for the 
Console proxy to come up (by default it needs 1024 MB)
Try adding more memory or increasing the memory overprovisioning 
factor in the configuration / global settings tab




*From:* technologyrss.mail 
*Sent:* Tuesday, August 31, 2021 12:31 PM
*To:* users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 

*Subject:* Console proxy creation failure

*Hi,*

I am able to setup ACS using centos 7.9. all service are properly 
working fine. But when I create basic zone then I see error like below .


ACS server : Centos 0s 7.9
NFS server : Centos 0s 7.8
KVM server : Centos 0s 7.8

Secondary Storage VM working fine but can't start proxy vm. what is 
issue?


This is system capacity like as below.



Please give me any idea..


*Thanks, Alamin*



Re: Unable to start agent: Failed to get private nic name

2021-08-31 Thread technologyrss.mail
My kvm server is centos 8, I can't understand this link content details. 
Please give me exact document link for kvm bridge setup.



*---**
**Alamin*


On 8/31/2021 2:30 PM, David Jumani wrote:

Hi,

You can have a look at the Trillian GitHub project, it is used to 
automate CloudStack deployments.


For Centos8, the Network Manager is used to create bridges and you can 
take reference from it to create the bridges in your setup
https://github.com/shapeblue/Trillian/blob/master/Ansible/roles/kvm/tasks/kvm_networking_bridge8.yml 
<https://github.com/shapeblue/Trillian/blob/master/Ansible/roles/kvm/tasks/kvm_networking_bridge8.yml>




*From:* technologyrss.mail 
*Sent:* Sunday, August 29, 2021 4:57 PM
*To:* users-h...@cloudstack.apache.org 
; users@cloudstack.apache.org 


*Subject:* Unable to start agent: Failed to get private nic name

*Hi,*

I am setup CentOS Linux release 8.0.1905 (Core) server for kvm. 
libvirtd service properly running but ACS agent not working.


I think my bridge networking not setup properly. My physical kvm 
server have two interface but only allow one interface for internet 
traffic as LAN network *(enp2s0). *


Error as like below, also I send my agent.log file from attachment.

How to setup bridge networking for centos 8 on my kvm server. ? I am 
already success using centos 7.9 kvm server bridge networking.


And I am using as same for centos 8 but not working.

-- *
Thanks & Regards.**
Support Admin*



*Facebook <https://www.facebook.com/TechnologyRSS> | Twitter 
<https://twitter.com/technologyrss1> | YouTube 
<https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn 
<https://www.linkedin.com/company/technologyrss/>**

Address : *116/1 West Malibagh, D. I. T Road
Dhaka-1217, Bangladesh*
Mob :* +88 01716915504*
Email :* support.ad...@technologyrss.com 
<mailto:support.ad...@technologyrss.com>*

Web :* www.technologyrss.com <http://www.technologyrss.com>





Re: Mysql 5.7 error for setup ACS DB

2021-08-29 Thread technologyrss.mail

*Thank you so much ! Working fine.*

---
*Alamin*

On 8/29/2021 10:19 PM, Vivek Kumar wrote:
Password for cloud user is weak...! Set some complex password for 
cloud user ..! If you see the error it's clearly saying that your 
password doesn't satisfying the current policy.!




On Sun, 29 Aug, 2021, 21:43 technologyrss.mail, 
mailto:technologyrss.m...@gmail.com>> 
wrote:


Thanks for your reply.

root user may be not needed for % grants, please see my image for
details. I am not able grants for % for root user.

Also I try to Mysql 8.0 same error


---
Alamin

On 8/29/2021 9:31 PM, Kiran manohar Chavala wrote:

Hi Alamin

Can you check if the grant privileges were given to the root user

mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY
'password';

Also, you can try to edit vi /etc/my.cnf and an entry

validate_password_policy=LOW

Regards
Kiran

On Sun, Aug 29, 2021 at 6:02 PM technologyrss.mail
mailto:technologyrss.m...@gmail.com>> wrote:

HI,

Mysql 5.7 error when install ACS 4.15.1.0, I am use strong
password but show current policy not full fill.

Any idea how to solve this erro?





Thanks, Alamin



Re: Mysql 5.7 error for setup ACS DB

2021-08-29 Thread technologyrss.mail

*Thank you so much ! Working fine.
*

---

Alamin

On 8/29/2021 10:19 PM, Vivek Kumar wrote:
Password for cloud user is weak...! Set some complex password for 
cloud user ..! If you see the error it's clearly saying that your 
password doesn't satisfying the current policy.!




On Sun, 29 Aug, 2021, 21:43 technologyrss.mail, 
mailto:technologyrss.m...@gmail.com>> 
wrote:


Thanks for your reply.

root user may be not needed for % grants, please see my image for
details. I am not able grants for % for root user.

Also I try to Mysql 8.0 same error


---
Alamin

On 8/29/2021 9:31 PM, Kiran manohar Chavala wrote:

Hi Alamin

Can you check if the grant privileges were given to the root user

mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY
'password';

Also, you can try to edit vi /etc/my.cnf and an entry

validate_password_policy=LOW

Regards
Kiran

On Sun, Aug 29, 2021 at 6:02 PM technologyrss.mail
mailto:technologyrss.m...@gmail.com>> wrote:

HI,

Mysql 5.7 error when install ACS 4.15.1.0, I am use strong
password but show current policy not full fill.

Any idea how to solve this erro?





Thanks, Alamin



Re: Mysql 5.7 error for setup ACS DB

2021-08-29 Thread technologyrss.mail

Thanks for your reply.

root user may be not needed for % grants, please see my image for 
details. I am not able grants for % for root user.


Also I try to Mysql 8.0 same error


---
Alamin

On 8/29/2021 9:31 PM, Kiran manohar Chavala wrote:

Hi Alamin

Can you check if the grant privileges were given to the root user

mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password';

Also, you can try to edit vi /etc/my.cnf and an entry

validate_password_policy=LOW

Regards
Kiran

On Sun, Aug 29, 2021 at 6:02 PM technologyrss.mail 
mailto:technologyrss.m...@gmail.com>> 
wrote:


HI,

Mysql 5.7 error when install ACS 4.15.1.0, I am use strong
password but show current policy not full fill.

Any idea how to solve this erro?





Thanks, Alamin



Mysql 5.7 error for setup ACS DB

2021-08-29 Thread technologyrss.mail

HI,

Mysql 5.7 error when install ACS 4.15.1.0, I am use strong password but 
show current policy not full fill.


Any idea how to solve this erro?





Thanks, Alamin