Isolated Networks and VPC in SG enabled Advanced Zone

2022-03-24 Thread Mevludin Blazevic

Hi all,

I have a very small cloud which is setup as a Security Group enabled 
Advanced Zone, some users wondered why they cannot create VPCs for their 
accounts although the UI button is present. If they try to add a VPC, no 
Network Offering and no Zone can be chosen on the view. I assume it is 
due to the the shared network restriction which comes with the Security 
Group activation, am I right?


Moreover, I've found this wiki page written some years ago concering 
Security Groups in Advanced Zone:


https://cwiki.apache.org/confluence/plugins/servlet/mobile?contentId=30741651#content/view/30741651

In this document, it is mentioned that in future releases, support for 
SG in Isolated networks will be added as well as a feature support in 
VPC networks. Are the two features actually planned for future releases? 
Otherwise the only way to make isolated networks and VPC work on my zone 
is to reinstall the whole Zone and disabling Security Groups.


Best Regards

Mevludin



Re: Strange Virtual Router Problem

2022-03-24 Thread Curious Pandora
Yes. I already confirmed that.

+-+
| service_offering_id |
+-+
|  22 |
+-+

++--+---+--+-+-++---+--+-+--+--+-++-+
| id | cpu  | speed | ram_size | nw_rate | mc_rate | ha_enabled |
limit_cpu_use | host_tag | default_use | vm_type  | sort_key |
is_volatile | deployment_planner | dynamic_scaling_enabled |
++--+---+--+-+-++---+--+-+--+--+-++-+
| 22 |1 |   500 |  256 |NULL |NULL |  1 |
  0 | NULL |   1 | domainrouter |0 |   0 | NULL
  |   1 |
++--+---+--+-+-++---+--+-+--+--+-++-+


On Thu, Mar 24, 2022 at 10:39 AM Wei ZHOU  wrote:

> Hi,
>
> Can you check the database to see if the service offering is correct ?
>
> select service_offering_id from vm_instance where id=1410;
> select * from service_offering where id=;
>
> -Wei
>
>
>
> On Thu, 24 Mar 2022 at 09:23, Curious Pandora  wrote:
>
> > Hello all,
> >
> > After dedicating a pod for system vms (might have nothing to do with the
> > problem )
> > the virtual routers stopped working.
> >
> > The routers cannot launch since they are created with  174080kb of
> memory.
> >  174080
> >  174080
> >
> > According to the logs from the management server indeed the creation
> > parameters include a maxram of 170MB.
> >
> >
> >
> [{"com.cloud.agent.api.StartCommand":{"vm":{"id":"1410","name":"r-1410-VM","state":"Starting","type":"DomainRouter","cpus":"1","minSpeed":"166","maxSpeed":"500","
> > 178257920","maxRam":"(170.00 MB) 178257920","arch":"x86_64","os":"Debian
> > GNU/Linux 11 (64-bit)","platformEmulator":"Debian GNU/Linux 11
> > (64-bit)","bootArgs":" template=domP name=r-1410-VM
> >
> > Checking the database i confirmed that:
> > 1) The system offering for is the default "System Offering For Software
> > Router"
> > 2) At ram_size column the correct value "256" is present
> >
> > Cloudstack is at version: 4.16.1
> >
> > --
> > p4nd0ra - the curious
> >
>


-- 
p4nd0ra - the curious


VMware Template - To read from OVA or NOT

2022-03-24 Thread Corey, Mike
Hi - I feel like I've asked this in the past; however, my developer colleague 
has me spinning my wheels trying to get his code to work against this 
VMware/ACS environment.

I'm having trouble with deploying a VM instance using a VMware specific 
template when I DO NOT use the "Read VM Settings from OVA."  When I don't use 
that setting I set the root disk controller as "lsilogicsas" and NIC to 
"e1000."  The VM deploys however the OS never completely loads, just spins at 
Windows OS "Getting devices ready."

Using the SAME image, with the Read OVA setting - the VM instance deploys and 
loads the OS without issue.

Can someone from ShapeBlue or ACS verify that for VMWARE environments the "Read 
VM settings from OVA" IS or IS NOT required?  If in theory, I should be able to 
deploy a VM from a template where "Read VM Settings from OVA" is OFF - what 
could be the issue (I assume its something identified in OVA that is not 
getting loaded/seen from basic ACS API).



Many thanks!

Mike



Mike Corey

Technology Senior Consultant, IT CS CTW Operation & Virtualization Service US

SAP AMERICA, INC. 3999 West Chester Pike, Newtown Square, 19073 United States

T +1 610 661 0905, M +1 484 274 2658, E mike.co...@sap.com



[cid:image001.png@01D83F7E.500DA3D0]




Secondary Storage Check Capacity

2022-03-24 Thread Дикевич Евгений Александрович
Hi all!

MB someone are changed size of existing Secondary Storage?
I have 1 NFS server which I use as Secondary Storage. Now I have to shrink it. 
If I do it does CS recalculate size of storage?





Внимание!
Это электронное письмо и все прикрепленные к нему файлы являются 
конфиденциальными и предназначены исключительно для использования лицом 
(лицами), которому (которым) оно предназначено. Если Вы не являетесь лицом 
(лицами), которому (которым) предназначено это письмо, не копируйте и не 
разглашайте его содержимое и удалите это сообщение и все вложения из Вашей 
почтовой системы. Любое несанкционированное использование, распространение, 
раскрытие, печать или копирование этого электронного письма и прикрепленных к 
нему файлов, кроме как лицом (лицами) которому (которым) они предназначены, 
является незаконным и запрещено. Принимая во внимание, что передача данных 
посредством Интернет не является безопасной, мы не несем никакой 
ответственности за любой потенциальный ущерб, причиненный в результате ошибок 
при передаче данных или этим сообщением и прикрепленными к нему файлами.

Attention!
This email and all attachments to it are confidential and are intended solely 
for use by the person (or persons) referred to (mentioned) as the intended 
recipient (recipients). If you are not the intended recipient of this email, do 
not copy or disclose its contents and delete the message and any attachments to 
it from your e-mail system. Any unauthorized use, dissemination, disclosure, 
printing or copying of this e-mail and files attached to it, except by the 
intended recipient, is illegal and is prohibited. Taking into account that data 
transmission via Internet is not secure, we assume no responsibility for any 
potential damage caused by data transmission errors or this message and the 
files attached to it.


VR/SystemVM upgradation after cloudStack upgradation

2022-03-24 Thread Vivek Kumar
Hello Guys,

We have multiple  Cloudstack deployment across all environment,  Whenever we 
upgrade Cloudstack it’s required to upgrade the systemVM templates and routers, 
sometimes it’s very hard to ask downtime for VR upgradation( for upgrading the 
VR ). 

So is there any way or hack so that we won’t need to upgrade the VRs after 
upgrading the Cloudstack. Because in every case new provisioning  won’t happen 
until we upgrade the VR. 




Regards,
Vivek Kumar


-- 
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: Boot VM into BIOS after deployment

2022-03-24 Thread vas...@gmx.de
hi piotr,

thanks for your Link - as always high quality stuff.
But the information there is more about on how to enable UEFI at all.

For me it is more the basic task to boot a vm directly into bios mode
without juggeling the console proxy to hit f2 at the right time. There has
been an issue for this
https://github.com/apache/cloudstack/issues/3583

Which lead to an setting, that you can reboot a vm directly to bios from
the gui while using vmware.
Now my question is, if there is something simila availeable for kvm - or
how one can "easily" enter the bios of a deployed VM.

regards,
chris

Am Do., 24. März 2022 um 09:41 Uhr schrieb Piotr Pisz :

> Hello,
>
> Here you will find the information you need:
> https://lab.piszki.pl/cloudstack-vm-with-vtpm-and-secure-boot-uefi/
>
> Regards,
> Piotr
>
>
> -Original Message-
> From: vas...@gmx.de 
> Sent: Wednesday, March 23, 2022 5:29 PM
> To: users@cloudstack.apache.org
> Subject: Boot VM into BIOS after deployment
>
> hi everyone,
>
> currently i am looking for a way to boot a vm into bios / uefi. The
> challange for me is, that i would like to enable the actual users to do so
> via the GUI / ConsoleProxy GUI.
> However using the consoleproxy GUI is kind of challangeing to the actual
> booting speed.
> I found that there is a option availeable when vmware is used as a
> hypervisor...
> Is there somthing similar availeable for kvm? How do you manage to boot
> into bios / uefi if needed?
>
> regards,
> chris
>
>


CSEUG Speaker Announcement: Peter Motykowski, AWS

2022-03-24 Thread Ivet Petrova
Hi everyone,
I am excited to share that at the CSEUG on April 7th, we will have a special 
speaker: Peter (Motyka) Motykowski  - a Sr. Software Development Manager - 
Customer Engineering at Amazon Web Services (AWS).
Peter will present the talk “A Kubernetes CAPI Provider for Apache CloudStack”. 
And he will be joining us virtually from Denver, Colorado!
Discover the new Kubernetes CAPI (Cluster-API) provider for Apache CloudStack 
"CAPC", enabling you to manage a range of Kubernetes clusters across Apache 
CloudStack and other supported infrastructure providers!

If you still have not registered for the event, do it now:  
https://events.hubilo.com/cloudstack-european-user-group/register

Kind regards,


 



RE: Boot VM into BIOS after deployment

2022-03-24 Thread Piotr Pisz
Hello,

Here you will find the information you need:
https://lab.piszki.pl/cloudstack-vm-with-vtpm-and-secure-boot-uefi/

Regards,
Piotr


-Original Message-
From: vas...@gmx.de  
Sent: Wednesday, March 23, 2022 5:29 PM
To: users@cloudstack.apache.org
Subject: Boot VM into BIOS after deployment

hi everyone,

currently i am looking for a way to boot a vm into bios / uefi. The challange 
for me is, that i would like to enable the actual users to do so via the GUI / 
ConsoleProxy GUI.
However using the consoleproxy GUI is kind of challangeing to the actual 
booting speed.
I found that there is a option availeable when vmware is used as a hypervisor...
Is there somthing similar availeable for kvm? How do you manage to boot into 
bios / uefi if needed?

regards,
chris



Re: Strange Virtual Router Problem

2022-03-24 Thread Wei ZHOU
Hi,

Can you check the database to see if the service offering is correct ?

select service_offering_id from vm_instance where id=1410;
select * from service_offering where id=;

-Wei



On Thu, 24 Mar 2022 at 09:23, Curious Pandora  wrote:

> Hello all,
>
> After dedicating a pod for system vms (might have nothing to do with the
> problem )
> the virtual routers stopped working.
>
> The routers cannot launch since they are created with  174080kb of memory.
>  174080
>  174080
>
> According to the logs from the management server indeed the creation
> parameters include a maxram of 170MB.
>
>
> [{"com.cloud.agent.api.StartCommand":{"vm":{"id":"1410","name":"r-1410-VM","state":"Starting","type":"DomainRouter","cpus":"1","minSpeed":"166","maxSpeed":"500","
> 178257920","maxRam":"(170.00 MB) 178257920","arch":"x86_64","os":"Debian
> GNU/Linux 11 (64-bit)","platformEmulator":"Debian GNU/Linux 11
> (64-bit)","bootArgs":" template=domP name=r-1410-VM
>
> Checking the database i confirmed that:
> 1) The system offering for is the default "System Offering For Software
> Router"
> 2) At ram_size column the correct value "256" is present
>
> Cloudstack is at version: 4.16.1
>
> --
> p4nd0ra - the curious
>


Strange Virtual Router Problem

2022-03-24 Thread Curious Pandora
Hello all,

After dedicating a pod for system vms (might have nothing to do with the
problem )
the virtual routers stopped working.

The routers cannot launch since they are created with  174080kb of memory.
 174080
 174080

According to the logs from the management server indeed the creation
parameters include a maxram of 170MB.

[{"com.cloud.agent.api.StartCommand":{"vm":{"id":"1410","name":"r-1410-VM","state":"Starting","type":"DomainRouter","cpus":"1","minSpeed":"166","maxSpeed":"500","
178257920","maxRam":"(170.00 MB) 178257920","arch":"x86_64","os":"Debian
GNU/Linux 11 (64-bit)","platformEmulator":"Debian GNU/Linux 11
(64-bit)","bootArgs":" template=domP name=r-1410-VM

Checking the database i confirmed that:
1) The system offering for is the default "System Offering For Software
Router"
2) At ram_size column the correct value "256" is present

Cloudstack is at version: 4.16.1

-- 
p4nd0ra - the curious


Strange Virtual Router Problem

2022-03-24 Thread Curious Pandora
Hello all,

After dedicating a pod for system vms (might have nothing to do with the
problem )
the virtual routers stopped working.

The routers cannot launch since they are created with  174080kb of memory.
 174080
 174080

According to the logs from the management server indeed the creation
parameters include a maxram of 170MB.

[{"com.cloud.agent.api.StartCommand":{"vm":{"id":"1410","name":"r-1410-VM","state":"Starting","type":"DomainRouter","cpus":"1","minSpeed":"166","maxSpeed":"500","
178257920","maxRam":"(170.00 MB) 178257920","arch":"x86_64","os":"Debian
GNU/Linux 11 (64-bit)","platformEmulator":"Debian GNU/Linux 11
(64-bit)","bootArgs":" template=domP name=r-1410-VM

Checking the database i confirmed that:
1) The system offering for is the default "System Offering For Software
Router"
2) At ram_size column the correct value "256" is present

Cloudstack is at version: 4.16.1

-- 
p4nd0ra - the curious