Unable to Upload ISO from local

2024-01-30 Thread Bharat Bhushan Saini
Hi All,

I am going to upload the ISO from local and it is not uploaded through GUI, 
reflects Network Error.
Kindly help on that, If more information is needed then let me know I will 
share that and also the uploading of ISO or template has been happened from 
backend or not. If yes, then please guide me how to do that.
Hypervisor is KVM based and the nfs is configured on the hypervisor machine 
itself.
I am sharing the SSVM.sh output as below

root@s-6-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh



First DNS server is  10.1.10.1

PING 10.1.10.1 (10.1.10.1): 56 data bytes

64 bytes from 10.1.10.1: icmp_seq=0 ttl=64 time=0.542 ms

64 bytes from 10.1.10.1: icmp_seq=1 ttl=64 time=0.593 ms

--- 10.1.10.1 ping statistics ---

2 packets transmitted, 2 packets received, 0% packet loss

round-trip min/avg/max/stddev = 0.542/0.568/0.593/0.026 ms

Good: Can ping DNS server



Good: DNS resolves cloudstack.apache.org



nfs is currently mounted

Mount point is /mnt/SecStorage/5de00212-4849-33e4-b1a1-f25e065a8cd0

Good: Can write to mount point



Management server is 10.1.10.2. Checking connectivity.

Good: Can connect to management server 10.1.10.2 port 8250



Good: Java process is running



Tests Complete. Look for ERROR or WARNING above.


Thanks and Regards,
Bharat Saini

[signature_3690210920]

--- Disclaimer: --
This message and its contents are intended solely for the designated addressee 
and are proprietary to Kloudspot. The information in this email is meant 
exclusively for Kloudspot business use. Any use by individuals other than the 
addressee constitutes misuse and an infringement of Kloudspot's proprietary 
rights. If you are not the intended recipient, please return this email to the 
sender. Kloudspot cannot guarantee the security or error-free transmission of 
e-mail communications. Information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. Therefore, Kloudspot 
shall not be liable for any issues arising from the transmission of this email.


Re: VM spin fails with "com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM"

2024-01-30 Thread Francisco Arencibia Quesada
This fixed my issue..thanks wei

On Tue, 30 Jan 2024, 18:16 Wei ZHOU,  wrote:

> Hi,
>
> The root cause seems to be
> """
> 2024-01-30 16:32:03,185 DEBUG [c.c.n.r.NetworkHelperImpl]
> (Work-Job-Executor-155:ctx-7c14ec55 job-2072/job-2073 ctx-32c09872)
> (logid:baa568fc) KVM won't support system vm, skip it
> """
>
> Please check the global setting and zone setting "router.template.kvm", and
> verify if the template is good or not.
>
> -Wei
>
>
> On Tue, 30 Jan 2024 at 17:55, Kapil Bhuskute  >
> wrote:
>
> > Hello Wei,
> > I have ensured the systemvm template is also in ready state now. And
> tried
> > to re-spin another instance, but it is still complaining for the same
> > reason. And the Instance is going to Error state again.
> >
> > Logs indicate the same InsufficientServerCapacityException errors:
> > [HOST]# egrep
> > "job-2072|job-2073|9d85fa79-da41-4090-9411-54520792f89e|i-2-390-VM"
> > /var/log/cloudstack/management/management-server.log
> > 2024-01-30 16:32:01,766 INFO  [c.c.v.VirtualMachineManagerImpl]
> > (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f)
> allocating
> > virtual machine from template:62077549-9c1f-442a-ad97-ce42cd7c63fe with
> > hostname:i-2-390-VM and 1 networks
> > 2024-01-30 16:32:01,767 DEBUG [c.c.v.VirtualMachineManagerImpl]
> > (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f)
> Allocating
> > entries for VM: VM instance
> >
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> > 2024-01-30 16:32:01,768 DEBUG [c.c.v.VirtualMachineManagerImpl]
> > (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f)
> Allocating
> > nics for VM instance
> >
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> > 2024-01-30 16:32:01,769 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> > (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f)
> Allocating
> > nic for vm VM instance
> >
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> > in network Network {"id": 247, "name": "10.252.1.x", "uuid":
> > "f2971bd7-4635-48f2-8b05-75b5d5a4705c", "networkofferingid": 8} with
> > requested profile NicProfile
> >
> {"broadcastUri":null,"iPv4Address":null,"id":0,"reservationId":null,"vmId":0}
> > 2024-01-30 16:32:01,791 DEBUG [c.c.v.VirtualMachineManagerImpl]
> > (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f)
> Allocating
> > disks for VM instance
> >
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> > 2024-01-30 16:32:01,791 INFO  [o.a.c.e.o.VolumeOrchestrator]
> > (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f ctx-f0fd01cd)
> > (logid:b68ac14f) Adding disk object [ROOT-390] to VM [VM instance
> >
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}]
> > 2024-01-30 16:32:01,800 DEBUG [c.c.v.VirtualMachineManagerImpl]
> > (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f)
> Allocation
> > completed for VM: VM instance
> >
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> > 2024-01-30 16:32:01,801 DEBUG [c.c.v.UserVmManagerImpl]
> > (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f)
> > Successfully allocated DB entry for VM instance
> >
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> > 2024-01-30 16:32:01,819 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
> > (API-Job-Executor-9:ctx-a5c8e722 job-2072) (logid:493589da) Add job-2072
> > into job monitoring
> > 2024-01-30 16:32:01,824 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> > (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) submit
> > async job-2072, details: AsyncJobVO: {id:2072, userId: 2, accountId: 2,
> > instanceType: VirtualMachine, instanceId: 390, cmd:
> > org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin, cmdInfo:
> >
> {"iptonetworklist[0].networkid":"f2971bd7-4635-48f2-8b05-75b5d5a4705c","hostid":"5e6f1b73-5f0a-4ab1-b424-42dc16fc9810","httpmethod":"GET","ctxAccountId":"2","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc","cmdEventType":"VM.CREATE","bootmode":"LEGACY","iothreadsenabled":"false","rootdisksize":"50","ctxStartEventId":"3911","id":"390","ctxDetails":"{\"interface
> >
> com.cloud.offering.ServiceOffering\":\"abb92858-9eb9-45bb-8cce-9778113fe54f\",\"interface
> >
> com.cloud.host.Host\":\"5e6f1b73-5f0a-4ab1-b424-42dc16fc9810\",\"interface
> >
> com.cloud.dc.DataCenter\":\"bef7ac55-3bb8-4211-bbc7-1e708bb36083\",\"interface
> >
> com.cloud.org.Cluster\":\"35c1a5be-5609-4a39-bcf8-1940c0fc3e64\",\"interface
> > com.cloud.dc.Pod\":\"364522fe-d989-4cee-bc1c-7489aa54f113\",\"interface
> >
> com.cloud.template.VirtualMachineTemplate\":\"62077549-9c1f-442a-ad97-ce42cd7c63fe\",\"interface
> >
> 

Re: Method to edit global settings from command line

2024-01-30 Thread Marcus Torres
Hello Suresh

1. Cloudstack version 4.18.1.0
2. Management server = Rocky Linux 8.5
3. Hypervisors = Rocky Linux 8.5
4. the only change was enabling SAML in the global config in the UI.
5. I saw some entries in the log regarding SAML and the 'admin' user not
being able to authenticate against SAML. not sure if it's related

I've sent the you management log to your gmail address if that's OK. it's
pretty large and i've scrubbed it of any sensitive data

Thanks Suresh.

On Tue, Jan 30, 2024 at 11:52 AM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> Hi Marcus,
>
> Thanks for the update.
>
> Maybe some issue after enabling SAML, can you share the cloudstack version,
> and error log from the management server?
>
> Regards,
> Suresh
>
> On Tue, Jan 30, 2024 at 9:21 PM Marcus Torres  wrote:
>
> > @SureshKumarAnaparti
> >
> > That worked! after a restart of the management service, I'm able to hit
> the
> > UI on port 8080 now! thank you for that tip!!
> >
> > It's peculiar that simply enabling SAML in the global config and having a
> > fault SAML config would stop the UI from opening port 8080 to access the
> > webpage.
> >
> > Thanks again!
> >
> > On Mon, Jan 29, 2024 at 11:32 PM Suresh Kumar Anaparti <
> > sureshkumar.anapa...@gmail.com> wrote:
> >
> > > Hi Marcus,
> > >
> > > You can revert the config (disable saml) using the update sql query
> > below.
> > >
> > > UPDATE cloud.configuration SET value = 'false' WHERE name =
> > > 'saml2.enabled';
> > >
> > > Regards,
> > > Suresh
> > >
> > > On Tue, Jan 30, 2024 at 5:41 AM Marcus Torres 
> wrote:
> > >
> > > > Hi!
> > > > i recently enabled saml in the global config settings in the UI and
> > upon
> > > a
> > > > restart of the management service , the cloudstack-management process
> > > > starts successfully and i'm seeing activity and traffic to and from
> the
> > > > hypervisors, looks like the management server is working, but the UI
> is
> > > not
> > > > reachable at all on port 8080.
> > > >
> > > >
> > > >   *   i do not have ssl https enabled
> > > >   *   selinux is disabled
> > > >   *   iptables is disabled
> > > >   *   i don't see 8080 port open/listening  in netstat
> > > >   *   port 9090 is open and listening
> > > >   *   mysql is up and running fine
> > > >   *   cloudmonkey api no longer able to connect since 8080 is down
> > > >
> > > > the saml config could in fact be a red herring and unrelated but
> that's
> > > > the last change besides adding a new isolated vlan guest network.
> > > >
> > > > does the ability exist to revert or edit global config settings from
> > > > command line ,  that were originally made in the ui  ?
> > > >
> > > > thanks for your time !
> > > >
> > >
> >
>


Re: VM spin fails with "com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM"

2024-01-30 Thread Wei ZHOU
Hi,

The root cause seems to be
"""
2024-01-30 16:32:03,185 DEBUG [c.c.n.r.NetworkHelperImpl]
(Work-Job-Executor-155:ctx-7c14ec55 job-2072/job-2073 ctx-32c09872)
(logid:baa568fc) KVM won't support system vm, skip it
"""

Please check the global setting and zone setting "router.template.kvm", and
verify if the template is good or not.

-Wei


On Tue, 30 Jan 2024 at 17:55, Kapil Bhuskute 
wrote:

> Hello Wei,
> I have ensured the systemvm template is also in ready state now. And tried
> to re-spin another instance, but it is still complaining for the same
> reason. And the Instance is going to Error state again.
>
> Logs indicate the same InsufficientServerCapacityException errors:
> [HOST]# egrep
> "job-2072|job-2073|9d85fa79-da41-4090-9411-54520792f89e|i-2-390-VM"
> /var/log/cloudstack/management/management-server.log
> 2024-01-30 16:32:01,766 INFO  [c.c.v.VirtualMachineManagerImpl]
> (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) allocating
> virtual machine from template:62077549-9c1f-442a-ad97-ce42cd7c63fe with
> hostname:i-2-390-VM and 1 networks
> 2024-01-30 16:32:01,767 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Allocating
> entries for VM: VM instance
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> 2024-01-30 16:32:01,768 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Allocating
> nics for VM instance
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> 2024-01-30 16:32:01,769 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Allocating
> nic for vm VM instance
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> in network Network {"id": 247, "name": "10.252.1.x", "uuid":
> "f2971bd7-4635-48f2-8b05-75b5d5a4705c", "networkofferingid": 8} with
> requested profile NicProfile
> {"broadcastUri":null,"iPv4Address":null,"id":0,"reservationId":null,"vmId":0}
> 2024-01-30 16:32:01,791 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Allocating
> disks for VM instance
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> 2024-01-30 16:32:01,791 INFO  [o.a.c.e.o.VolumeOrchestrator]
> (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f ctx-f0fd01cd)
> (logid:b68ac14f) Adding disk object [ROOT-390] to VM [VM instance
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}]
> 2024-01-30 16:32:01,800 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Allocation
> completed for VM: VM instance
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> 2024-01-30 16:32:01,801 DEBUG [c.c.v.UserVmManagerImpl]
> (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f)
> Successfully allocated DB entry for VM instance
> {"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
> 2024-01-30 16:32:01,819 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
> (API-Job-Executor-9:ctx-a5c8e722 job-2072) (logid:493589da) Add job-2072
> into job monitoring
> 2024-01-30 16:32:01,824 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) submit
> async job-2072, details: AsyncJobVO: {id:2072, userId: 2, accountId: 2,
> instanceType: VirtualMachine, instanceId: 390, cmd:
> org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin, cmdInfo:
> {"iptonetworklist[0].networkid":"f2971bd7-4635-48f2-8b05-75b5d5a4705c","hostid":"5e6f1b73-5f0a-4ab1-b424-42dc16fc9810","httpmethod":"GET","ctxAccountId":"2","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc","cmdEventType":"VM.CREATE","bootmode":"LEGACY","iothreadsenabled":"false","rootdisksize":"50","ctxStartEventId":"3911","id":"390","ctxDetails":"{\"interface
> com.cloud.offering.ServiceOffering\":\"abb92858-9eb9-45bb-8cce-9778113fe54f\",\"interface
> com.cloud.host.Host\":\"5e6f1b73-5f0a-4ab1-b424-42dc16fc9810\",\"interface
> com.cloud.dc.DataCenter\":\"bef7ac55-3bb8-4211-bbc7-1e708bb36083\",\"interface
> com.cloud.org.Cluster\":\"35c1a5be-5609-4a39-bcf8-1940c0fc3e64\",\"interface
> com.cloud.dc.Pod\":\"364522fe-d989-4cee-bc1c-7489aa54f113\",\"interface
> com.cloud.template.VirtualMachineTemplate\":\"62077549-9c1f-442a-ad97-ce42cd7c63fe\",\"interface
> 

VM spin fails with "com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM"

2024-01-30 Thread Kapil Bhuskute
Hello Wei,
I have ensured the systemvm template is also in ready state now. And tried to 
re-spin another instance, but it is still complaining for the same reason. And 
the Instance is going to Error state again.

Logs indicate the same InsufficientServerCapacityException errors:
[HOST]# egrep 
"job-2072|job-2073|9d85fa79-da41-4090-9411-54520792f89e|i-2-390-VM" 
/var/log/cloudstack/management/management-server.log
2024-01-30 16:32:01,766 INFO  [c.c.v.VirtualMachineManagerImpl] 
(qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) allocating 
virtual machine from template:62077549-9c1f-442a-ad97-ce42cd7c63fe with 
hostname:i-2-390-VM and 1 networks
2024-01-30 16:32:01,767 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Allocating 
entries for VM: VM instance 
{"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
2024-01-30 16:32:01,768 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Allocating 
nics for VM instance 
{"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
2024-01-30 16:32:01,769 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Allocating nic 
for vm VM instance 
{"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
 in network Network {"id": 247, "name": "10.252.1.x", "uuid": 
"f2971bd7-4635-48f2-8b05-75b5d5a4705c", "networkofferingid": 8} with requested 
profile NicProfile 
{"broadcastUri":null,"iPv4Address":null,"id":0,"reservationId":null,"vmId":0}
2024-01-30 16:32:01,791 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Allocating 
disks for VM instance 
{"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
2024-01-30 16:32:01,791 INFO  [o.a.c.e.o.VolumeOrchestrator] 
(qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f ctx-f0fd01cd) (logid:b68ac14f) 
Adding disk object [ROOT-390] to VM [VM instance 
{"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}]
2024-01-30 16:32:01,800 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Allocation 
completed for VM: VM instance 
{"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
2024-01-30 16:32:01,801 DEBUG [c.c.v.UserVmManagerImpl] 
(qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) Successfully 
allocated DB entry for VM instance 
{"id":390,"instanceName":"i-2-390-VM","type":"User","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc"}
2024-01-30 16:32:01,819 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-9:ctx-a5c8e722 job-2072) (logid:493589da) Add job-2072 into 
job monitoring
2024-01-30 16:32:01,824 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(qtp1789718525-14144:ctx-b7c95aac ctx-d6bcf85f) (logid:b68ac14f) submit async 
job-2072, details: AsyncJobVO: {id:2072, userId: 2, accountId: 2, instanceType: 
VirtualMachine, instanceId: 390, cmd: 
org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin, cmdInfo: 
{"iptonetworklist[0].networkid":"f2971bd7-4635-48f2-8b05-75b5d5a4705c","hostid":"5e6f1b73-5f0a-4ab1-b424-42dc16fc9810","httpmethod":"GET","ctxAccountId":"2","uuid":"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc","cmdEventType":"VM.CREATE","bootmode":"LEGACY","iothreadsenabled":"false","rootdisksize":"50","ctxStartEventId":"3911","id":"390","ctxDetails":"{\"interface
 
com.cloud.offering.ServiceOffering\":\"abb92858-9eb9-45bb-8cce-9778113fe54f\",\"interface
 com.cloud.host.Host\":\"5e6f1b73-5f0a-4ab1-b424-42dc16fc9810\",\"interface 
com.cloud.dc.DataCenter\":\"bef7ac55-3bb8-4211-bbc7-1e708bb36083\",\"interface 
com.cloud.org.Cluster\":\"35c1a5be-5609-4a39-bcf8-1940c0fc3e64\",\"interface 
com.cloud.dc.Pod\":\"364522fe-d989-4cee-bc1c-7489aa54f113\",\"interface 
com.cloud.template.VirtualMachineTemplate\":\"62077549-9c1f-442a-ad97-ce42cd7c63fe\",\"interface
 
com.cloud.vm.VirtualMachine\":\"98e8bfaa-4bd2-4e23-94ca-b1005a9cf4bc\"}","dynamicscalingenabled":"true","keypairs":"","group":"App","keyboard":"us","boottype":"BIOS","clusterid":"35c1a5be-5609-4a39-bcf8-1940c0fc3e64","templateid":"62077549-9c1f-442a-ad97-ce42cd7c63fe","startvm":"true","serviceofferingid":"abb92858-9eb9-45bb-8cce-9778113fe54f","response":"json","ctxUserId":"2","displayname":"testnode01","name":"testnode01","zoneid":"bef7ac55-3bb8-4211-bbc7-1e708bb36083","podid":"364522fe-d989-4cee-bc1c-7489aa54f113","affinitygroupids":""},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 229310345246465, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null, removed: null}
2024-01-30 16:32:01,826 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-9:ctx-a5c8e722 

Re: Method to edit global settings from command line

2024-01-30 Thread Suresh Kumar Anaparti
Hi Marcus,

Thanks for the update.

Maybe some issue after enabling SAML, can you share the cloudstack version,
and error log from the management server?

Regards,
Suresh

On Tue, Jan 30, 2024 at 9:21 PM Marcus Torres  wrote:

> @SureshKumarAnaparti
>
> That worked! after a restart of the management service, I'm able to hit the
> UI on port 8080 now! thank you for that tip!!
>
> It's peculiar that simply enabling SAML in the global config and having a
> fault SAML config would stop the UI from opening port 8080 to access the
> webpage.
>
> Thanks again!
>
> On Mon, Jan 29, 2024 at 11:32 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > Hi Marcus,
> >
> > You can revert the config (disable saml) using the update sql query
> below.
> >
> > UPDATE cloud.configuration SET value = 'false' WHERE name =
> > 'saml2.enabled';
> >
> > Regards,
> > Suresh
> >
> > On Tue, Jan 30, 2024 at 5:41 AM Marcus Torres  wrote:
> >
> > > Hi!
> > > i recently enabled saml in the global config settings in the UI and
> upon
> > a
> > > restart of the management service , the cloudstack-management process
> > > starts successfully and i'm seeing activity and traffic to and from the
> > > hypervisors, looks like the management server is working, but the UI is
> > not
> > > reachable at all on port 8080.
> > >
> > >
> > >   *   i do not have ssl https enabled
> > >   *   selinux is disabled
> > >   *   iptables is disabled
> > >   *   i don't see 8080 port open/listening  in netstat
> > >   *   port 9090 is open and listening
> > >   *   mysql is up and running fine
> > >   *   cloudmonkey api no longer able to connect since 8080 is down
> > >
> > > the saml config could in fact be a red herring and unrelated but that's
> > > the last change besides adding a new isolated vlan guest network.
> > >
> > > does the ability exist to revert or edit global config settings from
> > > command line ,  that were originally made in the ui  ?
> > >
> > > thanks for your time !
> > >
> >
>


Re: lauch vms fail

2024-01-30 Thread Suresh Kumar Anaparti
Is libvirtd service active/running or not? restart it and check.

Regards,
Suresh

On Tue, Jan 30, 2024 at 8:50 PM Francisco Arencibia Quesada <
arencibia.franci...@gmail.com> wrote:

> Hello guys,
>
> I have a new problem now, I can't launch a new vm, it fails, this is the
> log from cloudstack-agent
> in the hypervisor where I'm trying to launch a machine..
>
>
> Thank you in advance.
> Regards
>
>
>
> 2024-01-30 14:30:56,879 INFO  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-2:null) (logid:f52227b4) No existing libvirtd
> connection found. Opening a new one
> 2024-01-30 14:30:56,881 WARN  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-2:null) (logid:f52227b4) Can not find a connection
> for Instance i-2-13978-VM. Assuming the default connection.
> 2024-01-30 14:30:57,039 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-2:null) (logid:f52227b4) Groovy script
> '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
> available. Transformations will not be applied.
> 2024-01-30 14:30:57,039 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-2:null) (logid:f52227b4) Groovy scripting engine is
> not initialized. Data transformation skipped.
> 2024-01-30 14:32:16,465 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:4a0a3b8f) Trying to fetch storage pool
> 20b6e16a-ae70-3256-ab28-099a287a280c from libvirt
> 2024-01-30 14:32:16,490 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:4a0a3b8f) Asking libvirt to refresh
> storage pool 20b6e16a-ae70-3256-ab28-099a287a280c
> 2024-01-30 14:33:54,259 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-5:null) (logid:1aed3bd3) Trying to fetch storage pool
> 20b6e16a-ae70-3256-ab28-099a287a280c from libvirt
> 2024-01-30 14:33:54,286 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-5:null) (logid:1aed3bd3) Asking libvirt to refresh
> storage pool 20b6e16a-ae70-3256-ab28-099a287a280c
> 2024-01-30 14:35:21,921 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:4380fa56) Trying to fetch storage pool
> 20b6e16a-ae70-3256-ab28-099a287a280c from libvirt
> 2024-01-30 14:35:21,946 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:4380fa56) Asking libvirt to refresh
> storage pool 20b6e16a-ae70-3256-ab28-099a287a280c
> 2024-01-30 14:36:32,633 INFO  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-1:null) (logid:449e3167) No existing libvirtd
> connection found. Opening a new one
> 2024-01-30 14:36:32,636 WARN  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-1:null) (logid:449e3167) Can not find a connection
> for Instance i-2-13984-VM. Assuming the default connection.
> 2024-01-30 14:36:32,795 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-1:null) (logid:449e3167) Groovy script
> '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
> available. Transformations will not be applied.
> 2024-01-30 14:36:32,795 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-1:null) (logid:449e3167) Groovy scripting engine is
> not initialized. Data transformation skipped.
> 2024-01-30 14:36:35,233 INFO  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-5:null) (logid:449e3167) No existing libvirtd
> connection found. Opening a new one
> 2024-01-30 14:36:35,236 WARN  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-5:null) (logid:449e3167) Can not find a connection
> for Instance i-2-13984-VM. Assuming the default connection.
> 2024-01-30 14:36:35,389 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-5:null) (logid:449e3167) Groovy script
> '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
> available. Transformations will not be applied.
> 2024-01-30 14:36:35,389 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-5:null) (logid:449e3167) Groovy scripting engine is
> not initialized. Data transformation skipped.
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>


MAC address pool

2024-01-30 Thread Christian Reichert
Hello,

I have an application running on vmware as hypervisor, the vm needs a MAC 
address from the original vmware MAC address pool.
Is there a way to change the pool CloudStack is assigning MAC addresses to a 
new VM?

Thanks and best regards,

Christian


smime.p7s
Description: S/MIME cryptographic signature


Re: [D] Changing compute offering / scaling VM and root disk [cloudstack]

2024-01-30 Thread via GitHub


GitHub user weizhouapache added a comment to the discussion: Changing compute 
offering / scaling VM and root disk

@vonlo123 
there is a global setting `allow.diskoffering.change.during.scale.vm`
you can change the value to `true` and retry

GitHub link: 
https://github.com/apache/cloudstack/discussions/8578#discussioncomment-8307829


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



Re: Method to edit global settings from command line

2024-01-30 Thread Marcus Torres
@SureshKumarAnaparti

That worked! after a restart of the management service, I'm able to hit the
UI on port 8080 now! thank you for that tip!!

It's peculiar that simply enabling SAML in the global config and having a
fault SAML config would stop the UI from opening port 8080 to access the
webpage.

Thanks again!

On Mon, Jan 29, 2024 at 11:32 PM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> Hi Marcus,
>
> You can revert the config (disable saml) using the update sql query below.
>
> UPDATE cloud.configuration SET value = 'false' WHERE name =
> 'saml2.enabled';
>
> Regards,
> Suresh
>
> On Tue, Jan 30, 2024 at 5:41 AM Marcus Torres  wrote:
>
> > Hi!
> > i recently enabled saml in the global config settings in the UI and upon
> a
> > restart of the management service , the cloudstack-management process
> > starts successfully and i'm seeing activity and traffic to and from the
> > hypervisors, looks like the management server is working, but the UI is
> not
> > reachable at all on port 8080.
> >
> >
> >   *   i do not have ssl https enabled
> >   *   selinux is disabled
> >   *   iptables is disabled
> >   *   i don't see 8080 port open/listening  in netstat
> >   *   port 9090 is open and listening
> >   *   mysql is up and running fine
> >   *   cloudmonkey api no longer able to connect since 8080 is down
> >
> > the saml config could in fact be a red herring and unrelated but that's
> > the last change besides adding a new isolated vlan guest network.
> >
> > does the ability exist to revert or edit global config settings from
> > command line ,  that were originally made in the ui  ?
> >
> > thanks for your time !
> >
>


lauch vms fail

2024-01-30 Thread Francisco Arencibia Quesada
Hello guys,

I have a new problem now, I can't launch a new vm, it fails, this is the
log from cloudstack-agent
in the hypervisor where I'm trying to launch a machine..


Thank you in advance.
Regards



2024-01-30 14:30:56,879 INFO  [kvm.resource.LibvirtConnection]
(agentRequest-Handler-2:null) (logid:f52227b4) No existing libvirtd
connection found. Opening a new one
2024-01-30 14:30:56,881 WARN  [kvm.resource.LibvirtConnection]
(agentRequest-Handler-2:null) (logid:f52227b4) Can not find a connection
for Instance i-2-13978-VM. Assuming the default connection.
2024-01-30 14:30:57,039 WARN  [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-2:null) (logid:f52227b4) Groovy script
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
available. Transformations will not be applied.
2024-01-30 14:30:57,039 WARN  [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-2:null) (logid:f52227b4) Groovy scripting engine is
not initialized. Data transformation skipped.
2024-01-30 14:32:16,465 INFO  [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-3:null) (logid:4a0a3b8f) Trying to fetch storage pool
20b6e16a-ae70-3256-ab28-099a287a280c from libvirt
2024-01-30 14:32:16,490 INFO  [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-3:null) (logid:4a0a3b8f) Asking libvirt to refresh
storage pool 20b6e16a-ae70-3256-ab28-099a287a280c
2024-01-30 14:33:54,259 INFO  [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-5:null) (logid:1aed3bd3) Trying to fetch storage pool
20b6e16a-ae70-3256-ab28-099a287a280c from libvirt
2024-01-30 14:33:54,286 INFO  [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-5:null) (logid:1aed3bd3) Asking libvirt to refresh
storage pool 20b6e16a-ae70-3256-ab28-099a287a280c
2024-01-30 14:35:21,921 INFO  [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-3:null) (logid:4380fa56) Trying to fetch storage pool
20b6e16a-ae70-3256-ab28-099a287a280c from libvirt
2024-01-30 14:35:21,946 INFO  [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-3:null) (logid:4380fa56) Asking libvirt to refresh
storage pool 20b6e16a-ae70-3256-ab28-099a287a280c
2024-01-30 14:36:32,633 INFO  [kvm.resource.LibvirtConnection]
(agentRequest-Handler-1:null) (logid:449e3167) No existing libvirtd
connection found. Opening a new one
2024-01-30 14:36:32,636 WARN  [kvm.resource.LibvirtConnection]
(agentRequest-Handler-1:null) (logid:449e3167) Can not find a connection
for Instance i-2-13984-VM. Assuming the default connection.
2024-01-30 14:36:32,795 WARN  [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-1:null) (logid:449e3167) Groovy script
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
available. Transformations will not be applied.
2024-01-30 14:36:32,795 WARN  [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-1:null) (logid:449e3167) Groovy scripting engine is
not initialized. Data transformation skipped.
2024-01-30 14:36:35,233 INFO  [kvm.resource.LibvirtConnection]
(agentRequest-Handler-5:null) (logid:449e3167) No existing libvirtd
connection found. Opening a new one
2024-01-30 14:36:35,236 WARN  [kvm.resource.LibvirtConnection]
(agentRequest-Handler-5:null) (logid:449e3167) Can not find a connection
for Instance i-2-13984-VM. Assuming the default connection.
2024-01-30 14:36:35,389 WARN  [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-5:null) (logid:449e3167) Groovy script
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
available. Transformations will not be applied.
2024-01-30 14:36:35,389 WARN  [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-5:null) (logid:449e3167) Groovy scripting engine is
not initialized. Data transformation skipped.
-- 
*Francisco Arencibia Quesada.*
*DevOps Engineer*


Re: KVM systemvms not responding

2024-01-30 Thread Francisco Arencibia Quesada
We downloaded the systemvm templeate again, and it worked.


Thank you all.

On Tue, Jan 30, 2024 at 9:27 AM Wei ZHOU  wrote:

> Probably not an issue with initramfs.
>
> On the kvm host, you can use "virsh console "  or the following
> command to log into the system vms and check /var/log/cloud.log to see
> what's wrong.
>
> ssh -i /root/.ssh/id_rsa.cloud -p 3922 169.254.x.y
>
> -Wei
>
> On Tue, 30 Jan 2024 at 09:23, Francisco Arencibia Quesada <
> arencibia.franci...@gmail.com> wrote:
>
> > Good morning guys,
> >
> > SystemVMs looks like Up, but the agent status is not green. It seems that
> > SystemsVMs are giving initramfs error, they are not booting, is it
> possible
> > they could be corrupt from origin? We are using cloudstack 4.18.1.0
> >
> > Kind regards
> > Thank you in advance for your valuable help
> >
> > --
> > *Francisco Arencibia Quesada.*
> > *DevOps Engineer*
> >
>


-- 
*Francisco Arencibia Quesada.*
*DevOps Engineer*


Re: [D] Changing compute offering / scaling VM and root disk [cloudstack]

2024-01-30 Thread via GitHub


GitHub user DaanHoogland added a comment to the discussion: Changing compute 
offering / scaling VM and root disk

@vonlo123 , did you investigate restricting the API for adjusting the 
diskoffering?
I expect you would want to disallow the use of 
https://cloudstack.apache.org/api/apidocs-4.18/apis/updateDiskOffering.html

I am not sure what you have configured in terms of roles, but expect you can 
work with those.

GitHub link: 
https://github.com/apache/cloudstack/discussions/8578#discussioncomment-8306647


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



Re: Unable to specify VLAN/VNI range for zone for private networks

2024-01-30 Thread Stefan Alfers
Hi,

thank you for the super fast answer.
Good to know this is already solved, we will be waiting for the new release.

Best regards

Stefan Alfers

Am Di., 30. Jan. 2024 um 11:56 Uhr schrieb Wei ZHOU :

> Hi,
>
> This issue has been resolved by
> https://github.com/apache/cloudstack/pull/8122
>
> It will be included in the coming 4.19.0.0 release (and 4.18.2.0)
>
> -Wei
>
> On Tue, 30 Jan 2024 at 11:41, Stefan Alfers  wrote:
>
> > Hi all,
> >
> > we are in the process of setting up Cloudstack and have hit a roadblock
> > with how private L2 networks are allocated.
> >
> > It is my understanding that during creation of a zone you can specify a
> > range of VLAN/VNI numbers, so that users can then later create private
> > networks with an automatically assigned ID and use them for communication
> > between VMs.
> > Now when we try to edit the Physical Network belonging to the zone
> > Cloudstack returns an error message:
> > (Physical Network 1) Can't add vnet range to the physical network in the
> > zone that supports Advanced network, Security Group enabled: true
> >
> > I can't seem to find any documentation on this limitation or why it
> exists.
> > What I don't understand is that I can create a Guest network of type L2
> and
> > specify vxlan://20001 as the ID, successfully attach it to VMs and pass
> > traffic through it. Works perfectly fine.
> > This method of manual creation is understandably only available to admin
> > users.
> >
> > We're using CloudStack 4.18.1.0. Any advice would be appreciated.
> >
> > Best regards
> >
> > Stefan Alfers
> >
> > --
> > 23M GmbH Johann-Krane-Weg 18 DE-48149 Münster Web: 23M.com Tel.: +49 251
> > 933 944 0
> >
>


-- 
23M GmbH Johann-Krane-Weg 18 DE-48149 Münster Web: 23M.com Tel.: +49 251
933 944 0


Re: VM Login Issue

2024-01-30 Thread Vivek Kumar
Hello Bharat,

Looks like you are trying to access the system VM using wrong key - in you 
message it says no such file or directory, and the key name is -  id_rsa.cloud


1- First find the correct ssh key - 

# find / -name id_rsa.cloud

It should give you the key location, make sure it has 400 permission, 

2- Then run the command 

ssh -I  -p 3922 root@169.254.168.209


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com 
www.indiqus.com 




> On 30-Jan-2024, at 6:06 PM, Wei ZHOU  wrote:
> 
> Hi,
> 
> Sorry my previous reply was not clear.
> 
> for kvm/xen/xcp-ng, please log into system vms/vrs from the kvm host.
> for vmware, please log into the system vms/vrs from the mgmt server.
> 
> -Wei
> 
> 
> 
> On Tue, 30 Jan 2024 at 12:43, Bharat Bhushan Saini
>  wrote:
> 
>> Hi Suresh,
>> 
>> 
>> 
>> It is login from the Host. I tried from management as well same output I
>> got which I shared below.
>> 
>> 
>> 
>> Thanks and Regards,
>> 
>> Bharat Saini
>> 
>> 
>> 
>> [image: signature_3506744539]
>> 
>> 
>> 
>> *From: *Suresh Kumar Anaparti 
>> *Date: *Tuesday, 30 January 2024 at 4:08 PM
>> *To: *users@cloudstack.apache.org 
>> *Subject: *Re: VM Login Issue
>> 
>> EXTERNAL EMAIL: Please verify the sender email address before taking any
>> action, replying, clicking any link or opening any attachment.
>> 
>> 
>> Hi Bharat,
>> 
>> It seems you are trying to login from Host, not the Management Server. Can
>> you check the key file at /root/.ssh/ ? else, try with find.
>> 
>> After that, try cmd:
>> ssh -p 3922 -i /root/.ssh/id_rsa.cloud 169.254.168.209
>> 
>> Regards,
>> Suresh
>> 
>> On Tue, Jan 30, 2024 at 3:38 PM Bharat Bhushan Saini
>>  wrote:
>> 
>>> Hi All,
>>> 
>>> 
>>> 
>>> When I try to login in the ssvm I found below errors,
>>> 
>>> 
>>> 
>>> ssh -i  /var/cloudstack/management/.ssh/id_rsa  -p 3922
>>> root@169.254.168.209
>>> 
>>> Warning: Identity file /var/cloudstack/management/.ssh/id_rsa not
>>> accessible: No such file or directory.
>>> 
>>> root@169.254.168.209: Permission denied (publickey).
>>> 
>>> root@kvm:~# virsh list
>>> 
>>> Id   Name State
>>> 
>>> 
>>> 
>>> 3v-4-VM   running
>>> 
>>> 4s-3-VM   running
>>> 
>>> 
>>> 
>>> I checked file is also not present there.
>>> 
>>> 
>>> 
>>> Thanks and Regards,
>>> 
>>> Bharat Saini
>>> 
>>> 
>>> 
>>> [image: signature_855438220]
>>> 
>>> --- Disclaimer: --
>>> This message and its contents are intended solely for the designated
>>> addressee and are proprietary to Kloudspot. The information in this email
>>> is meant exclusively for Kloudspot business use. Any use by individuals
>>> other than the addressee constitutes misuse and an infringement of
>>> Kloudspot's proprietary rights. If you are not the intended recipient,
>>> please return this email to the sender. Kloudspot cannot guarantee the
>>> security or error-free transmission of e-mail communications. Information
>>> could be intercepted, corrupted, lost, destroyed, arrive late or
>>> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
>>> for any issues arising from the transmission of this email.
>>> 
>> 
>> --- Disclaimer: --
>> This message and its contents are intended solely for the designated
>> addressee and are proprietary to Kloudspot. The information in this email
>> is meant exclusively for Kloudspot business use. Any use by individuals
>> other than the addressee constitutes misuse and an infringement of
>> Kloudspot's proprietary rights. If you are not the intended recipient,
>> please return this email to the sender. Kloudspot cannot guarantee the
>> security or error-free transmission of e-mail communications. Information
>> could be intercepted, corrupted, lost, destroyed, arrive late or
>> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
>> for any issues arising from the transmission of this email.
>> 


-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.


Re: VM Login Issue

2024-01-30 Thread Suresh Kumar Anaparti
Hi Bharat,

Can you share the cloudstack version, and hypervisor details. Able to
locate the key file in Host/MS?

Regards,
Suresh

On Tue, Jan 30, 2024 at 6:07 PM Wei ZHOU  wrote:

> Hi,
>
> Sorry my previous reply was not clear.
>
> for kvm/xen/xcp-ng, please log into system vms/vrs from the kvm host.
> for vmware, please log into the system vms/vrs from the mgmt server.
>
> -Wei
>
>
>
> On Tue, 30 Jan 2024 at 12:43, Bharat Bhushan Saini
>  wrote:
>
> > Hi Suresh,
> >
> >
> >
> > It is login from the Host. I tried from management as well same output I
> > got which I shared below.
> >
> >
> >
> > Thanks and Regards,
> >
> > Bharat Saini
> >
> >
> >
> > [image: signature_3506744539]
> >
> >
> >
> > *From: *Suresh Kumar Anaparti 
> > *Date: *Tuesday, 30 January 2024 at 4:08 PM
> > *To: *users@cloudstack.apache.org 
> > *Subject: *Re: VM Login Issue
> >
> > EXTERNAL EMAIL: Please verify the sender email address before taking any
> > action, replying, clicking any link or opening any attachment.
> >
> >
> > Hi Bharat,
> >
> > It seems you are trying to login from Host, not the Management Server.
> Can
> > you check the key file at /root/.ssh/ ? else, try with find.
> >
> > After that, try cmd:
> > ssh -p 3922 -i /root/.ssh/id_rsa.cloud 169.254.168.209
> >
> > Regards,
> > Suresh
> >
> > On Tue, Jan 30, 2024 at 3:38 PM Bharat Bhushan Saini
> >  wrote:
> >
> > > Hi All,
> > >
> > >
> > >
> > > When I try to login in the ssvm I found below errors,
> > >
> > >
> > >
> > > ssh -i  /var/cloudstack/management/.ssh/id_rsa  -p 3922
> > > root@169.254.168.209
> > >
> > > Warning: Identity file /var/cloudstack/management/.ssh/id_rsa not
> > > accessible: No such file or directory.
> > >
> > > root@169.254.168.209: Permission denied (publickey).
> > >
> > > root@kvm:~# virsh list
> > >
> > >  Id   Name State
> > >
> > > 
> > >
> > >  3v-4-VM   running
> > >
> > >  4s-3-VM   running
> > >
> > >
> > >
> > > I checked file is also not present there.
> > >
> > >
> > >
> > > Thanks and Regards,
> > >
> > > Bharat Saini
> > >
> > >
> > >
> > > [image: signature_855438220]
> > >
> > > --- Disclaimer: --
> > > This message and its contents are intended solely for the designated
> > > addressee and are proprietary to Kloudspot. The information in this
> email
> > > is meant exclusively for Kloudspot business use. Any use by individuals
> > > other than the addressee constitutes misuse and an infringement of
> > > Kloudspot's proprietary rights. If you are not the intended recipient,
> > > please return this email to the sender. Kloudspot cannot guarantee the
> > > security or error-free transmission of e-mail communications.
> Information
> > > could be intercepted, corrupted, lost, destroyed, arrive late or
> > > incomplete, or contain viruses. Therefore, Kloudspot shall not be
> liable
> > > for any issues arising from the transmission of this email.
> > >
> >
> > --- Disclaimer: --
> > This message and its contents are intended solely for the designated
> > addressee and are proprietary to Kloudspot. The information in this email
> > is meant exclusively for Kloudspot business use. Any use by individuals
> > other than the addressee constitutes misuse and an infringement of
> > Kloudspot's proprietary rights. If you are not the intended recipient,
> > please return this email to the sender. Kloudspot cannot guarantee the
> > security or error-free transmission of e-mail communications. Information
> > could be intercepted, corrupted, lost, destroyed, arrive late or
> > incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> > for any issues arising from the transmission of this email.
> >
>


Re: VM spin fails with "com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM"

2024-01-30 Thread Wei ZHOU
Hi,

It looks like the systemvm template is not ready. please check

-Wei

On Tue, 30 Jan 2024 at 13:38, Kapil Bhuskute 
wrote:

> We have been using the CloudStack version 4.18.1.0 with KVM hosts with a
> NFS primary storage pool and a secondary NFS storage pool.
> We have created a shared guest network with "DefaultSharedNetworkOffering"
> network offering with a fixed IP range to spin VMs using a standard linux
> image.
> However, the VM spin keeps failing with errors and the instance goes to
> 'Error' state and the ROOT disk volume for the instance also gets
> destroyed. And no VR gets created.
>
> Please find the detailed errors we see while trying to spin the instance
> using the Shared network.
> Error
> Unable to start a VM [cf941e56-f29d-4442-947a-cd18f5b5d733] due to [Unable
> to create a deployment for VM instance
> {"id":388,"instanceName":"i-2-388-VM","type":"User","uuid":"cf941e56-f29d-4442-947a-cd18f5b5d733"}].
>
> The /var/log/messages show below logs:
> Jan 30 11:54:41 vhs04 java: ERROR [c.c.v.VmWorkJobHandlerProxy]
> (Work-Job-Executor-154:ctx-612d5ad2 job-2070/job-2071 ctx-2570ea30)
> (logid:7b4f2d1b) Invocation exception, caused by:
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for VM instance
> {"id":388,"instanceName":"i-2-388-VM","type":"User","uuid":"cf941e56-f29d-4442-947a-cd18f5b5d733"}Scope=interface
> com.cloud.dc.DataCenter; id=1
> Jan 30 11:54:41 vhs04 java: INFO  [c.c.v.VmWorkJobHandlerProxy]
> (Work-Job-Executor-154:ctx-612d5ad2 job-2070/job-2071 ctx-2570ea30)
> (logid:7b4f2d1b) Rethrow exception
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for VM instance
> {"id":388,"instanceName":"i-2-388-VM","type":"User","uuid":"cf941e56-f29d-4442-947a-cd18f5b5d733"}Scope=interface
> com.cloud.dc.DataCenter; id=1
> Jan 30 11:54:41 vhs04 java: ERROR [c.c.v.VmWorkJobDispatcher]
> (Work-Job-Executor-154:ctx-612d5ad2 job-2070/job-2071) (logid:7b4f2d1b)
> Unable to complete AsyncJobVO: {id:2071, userId: 2, accountId: 2,
> instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkStart,
> cmdInfo:
> rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAACAAIBhHQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAXBzcgAOamF2YS5sYW5nLkxvbmc7i-SQzI8j3wIAAUoABXZhbHVleHIAEGphdmEubGFuZy5OdW1iZXKGrJUdC5TgiwIAAHhwAAFxAH4ACnBwcHEAfgAKcHNyABFqYXZhLnV0aWwuSGFzaE1hcAUH2sHDFmDRAwACRgAKbG9hZEZhY3RvckkACXRocmVzaG9sZHhwP0x3CBABdAAKVm1QYXNzd29yZHQAHHJPMEFCWFFBRG5OaGRtVmtYM0JoYzNOM2IzSmt4cA,
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 229310345246465, completeMsid: null, lastUpdated:
> null, lastPolled: null, created: Tue Jan 30 11:54:40 UTC 2024, removed:
> null}, job origin:2070
> Jan 30 11:54:41 vhs04 java:
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for VM instance
> {"id":388,"instanceName":"i-2-388-VM","type":"User","uuid":"cf941e56-f29d-4442-947a-cd18f5b5d733"}Scope=interface
> com.cloud.dc.DataCenter; id=1
> Jan 30 11:54:41 vhs04 java: at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1226)
> Jan 30 11:54:41 vhs04 java: at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5412)
> Jan 30 11:54:41 vhs04 java: at
> jdk.internal.reflect.GeneratedMethodAccessor882.invoke(Unknown Source)
> Jan 30 11:54:41 vhs04 java: at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Jan 30 11:54:41 vhs04 java: at
> java.base/java.lang.reflect.Method.invoke(Method.java:566)
> Jan 30 11:54:41 vhs04 java: at
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
> Jan 30 11:54:41 vhs04 java: at
> com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5536)
> Jan 30 11:54:41 vhs04 java: at
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
> Jan 30 11:54:41 vhs04 java: at
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:620)
> Jan 30 11:54:41 vhs04 java: at
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
> Jan 30 11:54:41 vhs04 java: at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
> Jan 30 11:54:41 vhs04 java: at
> 

VM spin fails with "com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM"

2024-01-30 Thread Kapil Bhuskute
We have been using the CloudStack version 4.18.1.0 with KVM hosts with a NFS 
primary storage pool and a secondary NFS storage pool.
We have created a shared guest network with "DefaultSharedNetworkOffering" 
network offering with a fixed IP range to spin VMs using a standard linux image.
However, the VM spin keeps failing with errors and the instance goes to 'Error' 
state and the ROOT disk volume for the instance also gets destroyed. And no VR 
gets created.

Please find the detailed errors we see while trying to spin the instance using 
the Shared network.
Error
Unable to start a VM [cf941e56-f29d-4442-947a-cd18f5b5d733] due to [Unable to 
create a deployment for VM instance 
{"id":388,"instanceName":"i-2-388-VM","type":"User","uuid":"cf941e56-f29d-4442-947a-cd18f5b5d733"}].

The /var/log/messages show below logs:
Jan 30 11:54:41 vhs04 java: ERROR [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-154:ctx-612d5ad2 job-2070/job-2071 ctx-2570ea30) 
(logid:7b4f2d1b) Invocation exception, caused by: 
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM instance 
{"id":388,"instanceName":"i-2-388-VM","type":"User","uuid":"cf941e56-f29d-4442-947a-cd18f5b5d733"}Scope=interface
 com.cloud.dc.DataCenter; id=1
Jan 30 11:54:41 vhs04 java: INFO  [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-154:ctx-612d5ad2 job-2070/job-2071 ctx-2570ea30) 
(logid:7b4f2d1b) Rethrow exception 
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM instance 
{"id":388,"instanceName":"i-2-388-VM","type":"User","uuid":"cf941e56-f29d-4442-947a-cd18f5b5d733"}Scope=interface
 com.cloud.dc.DataCenter; id=1
Jan 30 11:54:41 vhs04 java: ERROR [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-154:ctx-612d5ad2 job-2070/job-2071) (logid:7b4f2d1b) Unable 
to complete AsyncJobVO: {id:2071, userId: 2, accountId: 2, instanceType: null, 
instanceId: null, cmd: com.cloud.vm.VmWorkStart, cmdInfo: 
rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAACAAIBhHQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAXBzcgAOamF2YS5sYW5nLkxvbmc7i-SQzI8j3wIAAUoABXZhbHVleHIAEGphdmEubGFuZy5OdW1iZXKGrJUdC5TgiwIAAHhwAAFxAH4ACnBwcHEAfgAKcHNyABFqYXZhLnV0aWwuSGFzaE1hcAUH2sHDFmDRAwACRgAKbG9hZEZhY3RvckkACXRocmVzaG9sZHhwP0x3CBABdAAKVm1QYXNzd29yZHQAHHJPMEFCWFFBRG5OaGRtVmtYM0JoYzNOM2IzSmt4cA,
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 229310345246465, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: Tue Jan 30 11:54:40 UTC 2024, removed: null}, job 
origin:2070
Jan 30 11:54:41 vhs04 java: 
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM instance 
{"id":388,"instanceName":"i-2-388-VM","type":"User","uuid":"cf941e56-f29d-4442-947a-cd18f5b5d733"}Scope=interface
 com.cloud.dc.DataCenter; id=1
Jan 30 11:54:41 vhs04 java: at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1226)
Jan 30 11:54:41 vhs04 java: at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5412)
Jan 30 11:54:41 vhs04 java: at 
jdk.internal.reflect.GeneratedMethodAccessor882.invoke(Unknown Source)
Jan 30 11:54:41 vhs04 java: at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Jan 30 11:54:41 vhs04 java: at 
java.base/java.lang.reflect.Method.invoke(Method.java:566)
Jan 30 11:54:41 vhs04 java: at 
com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
Jan 30 11:54:41 vhs04 java: at 
com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5536)
Jan 30 11:54:41 vhs04 java: at 
com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
Jan 30 11:54:41 vhs04 java: at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:620)
Jan 30 11:54:41 vhs04 java: at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
Jan 30 11:54:41 vhs04 java: at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
Jan 30 11:54:41 vhs04 java: at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
Jan 30 11:54:41 vhs04 java: at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
Jan 

Re: [VOTE] Apache CloudStack 4.19.0.0 RC4

2024-01-30 Thread Rohit Yadav
+1 (binding)

Tested 4.19.0.0 RC4 packages with EL8 (Alma Linux) + KVM using mbx.

Tested the following:

Registered new template
Registered ssh public key
Created isolated network in VM deploy form
Deployed VM as root admin
Allow egress rules for isolated network
Created PF and FW rules, was able to ssh to instance and wget/ping Internet IPs

Created normal user account
Register ssh public key
Created isolated network in VM deploy form
Deployed VM as normal user with ssh key
Allow egress rules for isolated network
Acquire new public IP and SNAT that to the VM
Created FW rules, was able to ssh to instance and wget/ping Internet IPs

Found some UI quirks, issues, but none of them are blockers. Reported them 
here: https://github.com/apache/cloudstack/issues/8576


Regards.

 



From: Abhishek Kumar 
Sent: Monday, January 29, 2024 12:28
To: users ; d...@cloudstack.apache.org 

Cc: PMC 
Subject: [VOTE] Apache CloudStack 4.19.0.0 RC4

Hi All,

I've created a 4.19.0.0 release (RC4), with the following artifacts up for
a vote:

Git Branch and Commit SH:
https://github.com/apache/cloudstack/tree/4.19.0.0-RC20240129T1021
Commit: 2746225b999612f156e421199e34ef8de98a3664

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.19.0.0/

PGP release keys (signed using 65518106473A09D7AF26B384A70BD2EAA74E2866):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

For testing purposes, I have uploaded the different distro packages to:
http://download.cloudstack.org/testing/4.19.0.0-RC4/

Since 4.16 the system VM template registration is no longer mandatory
before upgrading, however, it can be downloaded from here if needed:
https://download.cloudstack.org/systemvm/4.19/

The vote will be open for 72 hours.

For sanity in tallying the vote, can PMC members please be sure to indicate
"(binding)" with their vote?

[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

Regards,
Abhishek


Re: VM Login Issue

2024-01-30 Thread Wei ZHOU
Hi,

Sorry my previous reply was not clear.

for kvm/xen/xcp-ng, please log into system vms/vrs from the kvm host.
for vmware, please log into the system vms/vrs from the mgmt server.

-Wei



On Tue, 30 Jan 2024 at 12:43, Bharat Bhushan Saini
 wrote:

> Hi Suresh,
>
>
>
> It is login from the Host. I tried from management as well same output I
> got which I shared below.
>
>
>
> Thanks and Regards,
>
> Bharat Saini
>
>
>
> [image: signature_3506744539]
>
>
>
> *From: *Suresh Kumar Anaparti 
> *Date: *Tuesday, 30 January 2024 at 4:08 PM
> *To: *users@cloudstack.apache.org 
> *Subject: *Re: VM Login Issue
>
> EXTERNAL EMAIL: Please verify the sender email address before taking any
> action, replying, clicking any link or opening any attachment.
>
>
> Hi Bharat,
>
> It seems you are trying to login from Host, not the Management Server. Can
> you check the key file at /root/.ssh/ ? else, try with find.
>
> After that, try cmd:
> ssh -p 3922 -i /root/.ssh/id_rsa.cloud 169.254.168.209
>
> Regards,
> Suresh
>
> On Tue, Jan 30, 2024 at 3:38 PM Bharat Bhushan Saini
>  wrote:
>
> > Hi All,
> >
> >
> >
> > When I try to login in the ssvm I found below errors,
> >
> >
> >
> > ssh -i  /var/cloudstack/management/.ssh/id_rsa  -p 3922
> > root@169.254.168.209
> >
> > Warning: Identity file /var/cloudstack/management/.ssh/id_rsa not
> > accessible: No such file or directory.
> >
> > root@169.254.168.209: Permission denied (publickey).
> >
> > root@kvm:~# virsh list
> >
> >  Id   Name State
> >
> > 
> >
> >  3v-4-VM   running
> >
> >  4s-3-VM   running
> >
> >
> >
> > I checked file is also not present there.
> >
> >
> >
> > Thanks and Regards,
> >
> > Bharat Saini
> >
> >
> >
> > [image: signature_855438220]
> >
> > --- Disclaimer: --
> > This message and its contents are intended solely for the designated
> > addressee and are proprietary to Kloudspot. The information in this email
> > is meant exclusively for Kloudspot business use. Any use by individuals
> > other than the addressee constitutes misuse and an infringement of
> > Kloudspot's proprietary rights. If you are not the intended recipient,
> > please return this email to the sender. Kloudspot cannot guarantee the
> > security or error-free transmission of e-mail communications. Information
> > could be intercepted, corrupted, lost, destroyed, arrive late or
> > incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> > for any issues arising from the transmission of this email.
> >
>
> --- Disclaimer: --
> This message and its contents are intended solely for the designated
> addressee and are proprietary to Kloudspot. The information in this email
> is meant exclusively for Kloudspot business use. Any use by individuals
> other than the addressee constitutes misuse and an infringement of
> Kloudspot's proprietary rights. If you are not the intended recipient,
> please return this email to the sender. Kloudspot cannot guarantee the
> security or error-free transmission of e-mail communications. Information
> could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> for any issues arising from the transmission of this email.
>


Re: Unable to add the host: Cannot find the server resources at

2024-01-30 Thread Daan Hoogland
Christian,
can you share how you tried adding the host (UI/CMK commands) And in
case of UI maybe the calls as the UI generated them by looking at the
dev tools network traffic?

On Wed, Jan 24, 2024 at 9:25 AM  wrote:
>
> Hello,
>
>
>
>Any workaround for this bug? "Unable to add the host: Cannot find the
> server resources at
> http://06.hostx.host/ZONE-001/DC-001//mub-in-001.hostx.host
>  "
>
>
>
> When attempting to add a second host to an existing cluster, I encounter an
> error. I suspect this may be caused by a duplicate "/" symbol, which occurs
> even when using the API.
>
>
>
> However, if I set up a new cluster without specifying any hosts, it operates
> correctly as it automatically discovers the hosts.
>
>
>
> This problem is present in CloudStack version 4.18.1.
>
>
> Regards,
>
> Cristian
>
>
>


-- 
Daan


Re: new website design

2024-01-30 Thread Daan Hoogland
I've been improving any points I got as criticism on the site.  I will
start a vote thread soon, though I don't think it is strictly
necessary. please have a final run through if you have time, thanks,

On Tue, Jan 23, 2024 at 1:08 PM Rohit Yadav  wrote:
>
> +1 overall, but there are a few things I would consider blockers:
>
> 1.  the blog page doesn't look same as on current blog (prod).
>
> https://cloudstack.staged.apache.org/blog (staging blog)
>
> versus
>
> https://cloudstack.apache.org/blog/ (current blog/prod.)
>
> If we can fix the blog listing and the  that should be okay.
>
> 2. The colour of the buttons in some places are different shades of blue, for 
> example on https://cloudstack.staged.apache.org the download/documentation 
> button and scroll down, we see button with a violet/navy-blue shade. Minor 
> css issue? I would expect button to match the theme, for example button 
> colour as in https://cloudstack.apache.org/blog/india-user-group-2024
>
> 3. Fact check all pages, for example the staging landing says 4.18.0.0 is 
> latest release and link/content around events. Before we migrate/transition, 
> all data must be latest/accurate as possible.
>
> 4. Minor issue - the logo on the staging site's landing page, uses old 
> dashboard, that could be replaced with what the latest/most-recent dashboard 
> looks like.
>
>
>
> Regards.
>
> 
> From: Sven Vogel 
> Sent: Monday, January 22, 2024 18:30
> To: d...@cloudstack.apache.org ; 
> priv...@cloudstack.apache.org 
> Cc: users 
> Subject: Re: new website design
>
> +1 looks nice
>
> Am Montag, den 01/22/2024 um 11:46 schrieb Nux:
>
>
>
> +1 - do it.
>
> On 2024-01-19 14:50, Daan Hoogland wrote:
> > As we get no major issues on it and we already voted to have this
> > design applied, is it alright to deploy this in the coming weeks?
> >
> > On Wed, Jan 17, 2024 at 8:31 PM Daan Hoogland
> > wrote:
> >>
> >> devs and users,
> >>
> >> back in august we had a small discussion about a new website
> design,
> >> led by Ivet [1]. In the meanwhile Rohit had investigated using
> >> docusaurus as a publishing mechanism for the site. After the last
> few
> >> weeks I have been working on integrating the two. The result so far
> >> can be viewed on the staging site [2]
> >>
> >> Please all have a look and give me any feedback you may have, so we
> >> can move this forward.
> >>
> >> [1]
> https://lists.apache.org/thread/fopjc3r4hjkp9nbkj9xzoxv406rowkso
> >> [2] https://cloudstack.staged.apache.org/
> >>
> >> --
> >> Daan
>
>
>


-- 
Daan


Re: [VOTE] Apache CloudStack 4.19.0.0 RC4

2024-01-30 Thread Daan Hoogland
signatures ok,
+1 (binding)

will also do a monkey test on simulator and retract my +1 if needed ;)

On Mon, Jan 29, 2024 at 7:58 AM Abhishek Kumar  wrote:
>
> Hi All,
>
> I've created a 4.19.0.0 release (RC4), with the following artifacts up for
> a vote:
>
> Git Branch and Commit SH:
> https://github.com/apache/cloudstack/tree/4.19.0.0-RC20240129T1021
> Commit: 2746225b999612f156e421199e34ef8de98a3664
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/4.19.0.0/
>
> PGP release keys (signed using 65518106473A09D7AF26B384A70BD2EAA74E2866):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
> For testing purposes, I have uploaded the different distro packages to:
> http://download.cloudstack.org/testing/4.19.0.0-RC4/
>
> Since 4.16 the system VM template registration is no longer mandatory
> before upgrading, however, it can be downloaded from here if needed:
> https://download.cloudstack.org/systemvm/4.19/
>
> The vote will be open for 72 hours.
>
> For sanity in tallying the vote, can PMC members please be sure to indicate
> "(binding)" with their vote?
>
> [ ] +1  approve
> [ ] +0  no opinion
> [ ] -1  disapprove (and reason why)
>
> Regards,
> Abhishek



-- 
Daan


Re: VM Login Issue

2024-01-30 Thread Bharat Bhushan Saini
Hi Suresh,

It is login from the Host. I tried from management as well same output I got 
which I shared below.

Thanks and Regards,
Bharat Saini

[signature_3506744539]

From: Suresh Kumar Anaparti 
Date: Tuesday, 30 January 2024 at 4:08 PM
To: users@cloudstack.apache.org 
Subject: Re: VM Login Issue
EXTERNAL EMAIL: Please verify the sender email address before taking any 
action, replying, clicking any link or opening any attachment.


Hi Bharat,

It seems you are trying to login from Host, not the Management Server. Can
you check the key file at /root/.ssh/ ? else, try with find.

After that, try cmd:
ssh -p 3922 -i /root/.ssh/id_rsa.cloud 169.254.168.209

Regards,
Suresh

On Tue, Jan 30, 2024 at 3:38 PM Bharat Bhushan Saini
 wrote:

> Hi All,
>
>
>
> When I try to login in the ssvm I found below errors,
>
>
>
> ssh -i  /var/cloudstack/management/.ssh/id_rsa  -p 3922
> root@169.254.168.209
>
> Warning: Identity file /var/cloudstack/management/.ssh/id_rsa not
> accessible: No such file or directory.
>
> root@169.254.168.209: Permission denied (publickey).
>
> root@kvm:~# virsh list
>
>  Id   Name State
>
> 
>
>  3v-4-VM   running
>
>  4s-3-VM   running
>
>
>
> I checked file is also not present there.
>
>
>
> Thanks and Regards,
>
> Bharat Saini
>
>
>
> [image: signature_855438220]
>
> --- Disclaimer: --
> This message and its contents are intended solely for the designated
> addressee and are proprietary to Kloudspot. The information in this email
> is meant exclusively for Kloudspot business use. Any use by individuals
> other than the addressee constitutes misuse and an infringement of
> Kloudspot's proprietary rights. If you are not the intended recipient,
> please return this email to the sender. Kloudspot cannot guarantee the
> security or error-free transmission of e-mail communications. Information
> could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> for any issues arising from the transmission of this email.
>

--- Disclaimer: --
This message and its contents are intended solely for the designated addressee 
and are proprietary to Kloudspot. The information in this email is meant 
exclusively for Kloudspot business use. Any use by individuals other than the 
addressee constitutes misuse and an infringement of Kloudspot's proprietary 
rights. If you are not the intended recipient, please return this email to the 
sender. Kloudspot cannot guarantee the security or error-free transmission of 
e-mail communications. Information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. Therefore, Kloudspot 
shall not be liable for any issues arising from the transmission of this email.


Re: KVM systemvms not responding

2024-01-30 Thread Vivek Kumar
Hello,

Have you tried the way which “Wei" has suggested, Login to KVM host where your 
system VMs are running and run 

1- # virsh list

And the connect your system VM via 

2- # virsh console 

Once you login using default username password, check the /var/log/cloud.log, 
it will probably give you the error.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com 
www.indiqus.com 




> On 30-Jan-2024, at 4:32 PM, Francisco Arencibia Quesada 
>  wrote:
> 
> hi again :)
> I cannot access the machines, is there a way to force manually the download
> of KVM systemvms templates?
> 
> Regards
> 
> 
> On Tue, Jan 30, 2024 at 9:27 AM Wei ZHOU  wrote:
> 
>> Probably not an issue with initramfs.
>> 
>> On the kvm host, you can use "virsh console "  or the following
>> command to log into the system vms and check /var/log/cloud.log to see
>> what's wrong.
>> 
>> ssh -i /root/.ssh/id_rsa.cloud -p 3922 169.254.x.y
>> 
>> -Wei
>> 
>> On Tue, 30 Jan 2024 at 09:23, Francisco Arencibia Quesada <
>> arencibia.franci...@gmail.com> wrote:
>> 
>>> Good morning guys,
>>> 
>>> SystemVMs looks like Up, but the agent status is not green. It seems that
>>> SystemsVMs are giving initramfs error, they are not booting, is it
>> possible
>>> they could be corrupt from origin? We are using cloudstack 4.18.1.0
>>> 
>>> Kind regards
>>> Thank you in advance for your valuable help
>>> 
>>> --
>>> *Francisco Arencibia Quesada.*
>>> *DevOps Engineer*
>>> 
>> 
> 
> 
> -- 
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*


-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.


Re: KVM systemvms not responding

2024-01-30 Thread Francisco Arencibia Quesada
 hi again :)
I cannot access the machines, is there a way to force manually the download
of KVM systemvms templates?

Regards


On Tue, Jan 30, 2024 at 9:27 AM Wei ZHOU  wrote:

> Probably not an issue with initramfs.
>
> On the kvm host, you can use "virsh console "  or the following
> command to log into the system vms and check /var/log/cloud.log to see
> what's wrong.
>
> ssh -i /root/.ssh/id_rsa.cloud -p 3922 169.254.x.y
>
> -Wei
>
> On Tue, 30 Jan 2024 at 09:23, Francisco Arencibia Quesada <
> arencibia.franci...@gmail.com> wrote:
>
> > Good morning guys,
> >
> > SystemVMs looks like Up, but the agent status is not green. It seems that
> > SystemsVMs are giving initramfs error, they are not booting, is it
> possible
> > they could be corrupt from origin? We are using cloudstack 4.18.1.0
> >
> > Kind regards
> > Thank you in advance for your valuable help
> >
> > --
> > *Francisco Arencibia Quesada.*
> > *DevOps Engineer*
> >
>


-- 
*Francisco Arencibia Quesada.*
*DevOps Engineer*


Re: Unable to specify VLAN/VNI range for zone for private networks

2024-01-30 Thread Wei ZHOU
Hi,

This issue has been resolved by
https://github.com/apache/cloudstack/pull/8122

It will be included in the coming 4.19.0.0 release (and 4.18.2.0)

-Wei

On Tue, 30 Jan 2024 at 11:41, Stefan Alfers  wrote:

> Hi all,
>
> we are in the process of setting up Cloudstack and have hit a roadblock
> with how private L2 networks are allocated.
>
> It is my understanding that during creation of a zone you can specify a
> range of VLAN/VNI numbers, so that users can then later create private
> networks with an automatically assigned ID and use them for communication
> between VMs.
> Now when we try to edit the Physical Network belonging to the zone
> Cloudstack returns an error message:
> (Physical Network 1) Can't add vnet range to the physical network in the
> zone that supports Advanced network, Security Group enabled: true
>
> I can't seem to find any documentation on this limitation or why it exists.
> What I don't understand is that I can create a Guest network of type L2 and
> specify vxlan://20001 as the ID, successfully attach it to VMs and pass
> traffic through it. Works perfectly fine.
> This method of manual creation is understandably only available to admin
> users.
>
> We're using CloudStack 4.18.1.0. Any advice would be appreciated.
>
> Best regards
>
> Stefan Alfers
>
> --
> 23M GmbH Johann-Krane-Weg 18 DE-48149 Münster Web: 23M.com Tel.: +49 251
> 933 944 0
>


Unable to specify VLAN/VNI range for zone for private networks

2024-01-30 Thread Stefan Alfers
Hi all,

we are in the process of setting up Cloudstack and have hit a roadblock
with how private L2 networks are allocated.

It is my understanding that during creation of a zone you can specify a
range of VLAN/VNI numbers, so that users can then later create private
networks with an automatically assigned ID and use them for communication
between VMs.
Now when we try to edit the Physical Network belonging to the zone
Cloudstack returns an error message:
(Physical Network 1) Can't add vnet range to the physical network in the
zone that supports Advanced network, Security Group enabled: true

I can't seem to find any documentation on this limitation or why it exists.
What I don't understand is that I can create a Guest network of type L2 and
specify vxlan://20001 as the ID, successfully attach it to VMs and pass
traffic through it. Works perfectly fine.
This method of manual creation is understandably only available to admin
users.

We're using CloudStack 4.18.1.0. Any advice would be appreciated.

Best regards

Stefan Alfers

-- 
23M GmbH Johann-Krane-Weg 18 DE-48149 Münster Web: 23M.com Tel.: +49 251
933 944 0


Re: VM Login Issue

2024-01-30 Thread Suresh Kumar Anaparti
Hi Bharat,

It seems you are trying to login from Host, not the Management Server. Can
you check the key file at /root/.ssh/ ? else, try with find.

After that, try cmd:
ssh -p 3922 -i /root/.ssh/id_rsa.cloud 169.254.168.209

Regards,
Suresh

On Tue, Jan 30, 2024 at 3:38 PM Bharat Bhushan Saini
 wrote:

> Hi All,
>
>
>
> When I try to login in the ssvm I found below errors,
>
>
>
> ssh -i  /var/cloudstack/management/.ssh/id_rsa  -p 3922
> root@169.254.168.209
>
> Warning: Identity file /var/cloudstack/management/.ssh/id_rsa not
> accessible: No such file or directory.
>
> root@169.254.168.209: Permission denied (publickey).
>
> root@kvm:~# virsh list
>
>  Id   Name State
>
> 
>
>  3v-4-VM   running
>
>  4s-3-VM   running
>
>
>
> I checked file is also not present there.
>
>
>
> Thanks and Regards,
>
> Bharat Saini
>
>
>
> [image: signature_855438220]
>
> --- Disclaimer: --
> This message and its contents are intended solely for the designated
> addressee and are proprietary to Kloudspot. The information in this email
> is meant exclusively for Kloudspot business use. Any use by individuals
> other than the addressee constitutes misuse and an infringement of
> Kloudspot's proprietary rights. If you are not the intended recipient,
> please return this email to the sender. Kloudspot cannot guarantee the
> security or error-free transmission of e-mail communications. Information
> could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> for any issues arising from the transmission of this email.
>


Re: VM Login Issue

2024-01-30 Thread Wei ZHOU
Hi,

on mgmt server, the key file is ~cloud/.ssh/id_rsa
on kvm hosts, the key file is /root/.ssh/id_rsa.cloud


-Wei

On Tue, 30 Jan 2024 at 11:08, Bharat Bhushan Saini
 wrote:

> Hi All,
>
>
>
> When I try to login in the ssvm I found below errors,
>
>
>
> ssh -i  /var/cloudstack/management/.ssh/id_rsa  -p 3922
> root@169.254.168.209
>
> Warning: Identity file /var/cloudstack/management/.ssh/id_rsa not
> accessible: No such file or directory.
>
> root@169.254.168.209: Permission denied (publickey).
>
> root@kvm:~# virsh list
>
>  Id   Name State
>
> 
>
>  3v-4-VM   running
>
>  4s-3-VM   running
>
>
>
> I checked file is also not present there.
>
>
>
> Thanks and Regards,
>
> Bharat Saini
>
>
>
> [image: signature_855438220]
>
> --- Disclaimer: --
> This message and its contents are intended solely for the designated
> addressee and are proprietary to Kloudspot. The information in this email
> is meant exclusively for Kloudspot business use. Any use by individuals
> other than the addressee constitutes misuse and an infringement of
> Kloudspot's proprietary rights. If you are not the intended recipient,
> please return this email to the sender. Kloudspot cannot guarantee the
> security or error-free transmission of e-mail communications. Information
> could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> for any issues arising from the transmission of this email.
>


VM Login Issue

2024-01-30 Thread Bharat Bhushan Saini
Hi All,

When I try to login in the ssvm I found below errors,


ssh -i  /var/cloudstack/management/.ssh/id_rsa  -p 3922 root@169.254.168.209

Warning: Identity file /var/cloudstack/management/.ssh/id_rsa not accessible: 
No such file or directory.

root@169.254.168.209: Permission denied (publickey).

root@kvm:~# virsh list

 Id   Name State



 3v-4-VM   running

 4s-3-VM   running

I checked file is also not present there.

Thanks and Regards,
Bharat Saini

[signature_855438220]

--- Disclaimer: --
This message and its contents are intended solely for the designated addressee 
and are proprietary to Kloudspot. The information in this email is meant 
exclusively for Kloudspot business use. Any use by individuals other than the 
addressee constitutes misuse and an infringement of Kloudspot's proprietary 
rights. If you are not the intended recipient, please return this email to the 
sender. Kloudspot cannot guarantee the security or error-free transmission of 
e-mail communications. Information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. Therefore, Kloudspot 
shall not be liable for any issues arising from the transmission of this email.


[DISCUSS] Next cmk release

2024-01-30 Thread Rohit Yadav
All,

Anybody have any feature/improvements requests and bugs to report for the next 
cmk release? (RM/release timeline yet to be discussed/determined).

Please add them here - https://github.com/apache/cloudstack-cloudmonkey/issues


Regards.

 



Re: [D] Hello World! [cloudstack]

2024-01-30 Thread via GitHub


GitHub user rohityadavcloud closed the discussion with a comment: Hello World!

Closing this :)

GitHub link: 
https://github.com/apache/cloudstack/discussions/8343#discussioncomment-8300318


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



Re: [D] Hello World! [cloudstack]

2024-01-30 Thread via GitHub


GitHub user rohityadavcloud closed a discussion: Hello World!

Hello community, started a test discussion to check the integration between 
Github and users@ mailing list. Feel free to use for any test/playground, and 
discuss how to better use Github Discussions for our CloudStack community.

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


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



Re: [D] Oracle Linux KVM Support for CloudStack [cloudstack]

2024-01-30 Thread via GitHub


GitHub user rohityadavcloud added a comment to the discussion: Oracle Linux KVM 
Support for CloudStack

Both Oracle Linux 8 and 9 are RHEL clones and therefore supported as management 
server and KVM hosts with Apache CloudStack. We regularly run smoketests on 
pull requests against ol8/ol9. We should update the compat matrix with the 4.19 
release and onwards.

GitHub link: 
https://github.com/apache/cloudstack/discussions/8572#discussioncomment-8300302


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



CloudStack India User Group Meetup

2024-01-30 Thread Rohit Yadav
Dear all,

Reminder - today is the deadline for the CloudStack India User Group meetup 
CFP. The meetup is on the 23rd Feb 2024 in Hyderabad, India.

Kindly submit your talk ideas by today, or RSVP your physical attendance on the 
meetup link - 
https://www.meetup.com/india-cloudstack-user-group/events/298324389/


I look forward to meeting you all!


Thanks and regards.

 



Re: 4.19 - New Release Announcement

2024-01-30 Thread Rohit Yadav
Here's a quote you can use:

"4.19 is a fantastic release that is culmination of all our efforts from much 
of last year coming together with a ton of exciting new features and benefits 
for existing and new users such as VMware to KVM instance migration, a new 
pluggable object storage framework with support for Minio, hypervisor-agnostic 
DRS, support for VNF appliances, DR as a service with multi-zone snapshot copy, 
OAuth2, KVM ingestion, VM action scheduler, a redesigned dashboard, and much 
more!"


Regards.

 



From: Ivet Petrova 
Sent: Monday, January 29, 2024 20:52
To: users@cloudstack.apache.org 
Cc: Jamie Pell 
Subject: 4.19 - New Release Announcement

Hi all,

With Jamie we are working on creating a blog post for the new release - 4.19 to 
be ready and published immediately after the release is live, which I think 
will happen very very soon.
I would like to kindly ask for some help - can some community members send me 
some quotes about the new release, new ACS capabilities, the market dynamics, 
how we fit, etc.

Can I get some quotes for the new release announcement article please?

Best regards,






Re: KVM systemvms not responding

2024-01-30 Thread Wei ZHOU
Probably not an issue with initramfs.

On the kvm host, you can use "virsh console "  or the following
command to log into the system vms and check /var/log/cloud.log to see
what's wrong.

ssh -i /root/.ssh/id_rsa.cloud -p 3922 169.254.x.y

-Wei

On Tue, 30 Jan 2024 at 09:23, Francisco Arencibia Quesada <
arencibia.franci...@gmail.com> wrote:

> Good morning guys,
>
> SystemVMs looks like Up, but the agent status is not green. It seems that
> SystemsVMs are giving initramfs error, they are not booting, is it possible
> they could be corrupt from origin? We are using cloudstack 4.18.1.0
>
> Kind regards
> Thank you in advance for your valuable help
>
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>


KVM systemvms not responding

2024-01-30 Thread Francisco Arencibia Quesada
Good morning guys,

SystemVMs looks like Up, but the agent status is not green. It seems that
SystemsVMs are giving initramfs error, they are not booting, is it possible
they could be corrupt from origin? We are using cloudstack 4.18.1.0

Kind regards
Thank you in advance for your valuable help

-- 
*Francisco Arencibia Quesada.*
*DevOps Engineer*