Re: implement an authentication challenge method (such as Recaptcha) in the CloudStack UI

2021-07-23 Thread ahmed jabbar
Hi Nicolas,
Thank you very much for your reply,
Regarding ReCAPTCHA function it self it is simple , It’s just a standard script 
in html can be included in any web page including  ReCAPTCHA api valid account 
can be registered in
 https://developers.google.com/recaptcha/intro
But the question is how to include the script of ReCAPTCHA in cloudstack login 
page UI? And test it successfully.
So now  I invite the users if any body can deploy and test it in cloudstack as 
a paid task,
If any body interested in this task, please contact me on my email.
Thank you very much 
Ahmed.



> On 23 Jul 2021, at 8:27 PM, Nicolas Vazquez  
> wrote:
> 
> Hi Ahmed,
> 
> I'm not aware about any work on it. I noticed there are some components 
> listed on Awesome Vue (https://github.com/vuejs/awesome-vue) which can be 
> used to integrate reCaptcha into CloudStack:
> 
> https://github.com/drozdzynski/vue-grecaptcha
> https://github.com/DanSnow/vue-recaptcha
> 
> 
> Regards,
> 
> Nicolas Vazquez
> 
> 
> From: ahmed jabbar 
> Sent: Friday, July 23, 2021 1:59 PM
> To: users@cloudstack.apache.org 
> Subject: implement an authentication challenge method (such as Recaptcha) in 
> the CloudStack UI
> 
> 
>> Hi team,
>> I want to implement an authentication challenge method (such as Recaptcha) 
>> in the CloudStack UI,To protect UI from robot attempts .
>> Did anybody implement it before ?
>> 
>> 
>> BR
>> Ahmed
> 
> 
> 


Re: cloudstack-sysvmadm access to 8096

2021-07-23 Thread Brian Fitzpatrick
Hi Wei,

apt installed back to 4.15.0 versions

I seem now to have a problem registering the new systemvm template

I am using KVM, fill in the template for new url download as per instruction, 
but appears to be a problem downloading 'Ready false'

Is there a way of force trying again?, I can't seem to delete it

Also, I appear to have lost my hosts list, they are running but the 
infrastructure hosts page shows a '404 error' and 'Request Failed (431) For 
input string " "'

Thanks very much for your help

Brian

-Original Message-
From: Wei ZHOU 
mailto:wei%20zhou%20%3custcweiz...@gmail.com%3e>>
Reply-To: users@cloudstack.apache.org
To: users 
mailto:users%20%3cus...@cloudstack.apache.org%3e>>
Subject: Re: cloudstack-sysvmadm access to 8096
Date: Fri, 23 Jul 2021 18:54:28 +0200


CAUTION !


This email was NOT sent using a University of Chester account, so we are unable 
to verify the identity of the sender. Do not click links or open attachments 
unless you recognise the sender and know the content is safe.


=



Hi Brian,


It seems your management server is not started. You can check the error in

log file /var/log/cloudstack/management/management-server.log


since cloudstack 4.15.1.0, cloudstack will check systemvm template before

database changes in upgrade, so if you forget to register systemvm

template, it is not a big issue any more.

what you need to do: (1) downgrade cloudstack (2) register new systemvm

template; (3) upgrade cloudstack.


cloudstack 4.16 will provide an option to install a new systemvm template

from rpm/deb packages.


-Wei



On Fri, 23 Jul 2021 at 16:56, Brian Fitzpatrick <



b.fitzpatr...@chester.ac.uk

>

wrote:


Hi Wei,


Thanks very much for the reply


I have updated the mysql and restarted the management server but

unfortunately I am still getting the error


curl: (7) Failed to connect to localhost port 8096: Connection refused


when I run


cloudstack-sysvmadm


I am not sure the management server is fully starting up as a result of my

upgrade. I think I made a mistake in not updating the templates before the

ubuntu 20.04 apt update and upgrade


I am not sure on the best option, either resolve this connection refused

or try to rollback the upgrade (but I am not sure what state that will

leave me in?)


Thanks


Brian


-Original Message-

From: Wei ZHOU <



ustcweiz...@gmail.com

mailto:wei%20zhou%20%3custcweiz...@gmail.com>

wei%20zhou%20%3custcweiz...@gmail.com

%3e>>

Reply-To:



users@cloudstack.apache.org

mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>

To: users <



users@cloudstack.apache.org

mailto:users%20%3cus...@cloudstack.apache.org>

users%20%3cus...@cloudstack.apache.org

%3e>>

Subject: Re: cloudstack-sysvmadm access to 8096

Date: Fri, 23 Jul 2021 16:27:18 +0200



CAUTION !



This email was NOT sent using a University of Chester account, so we are

unable to verify the identity of the sender. Do not click links or open

attachments unless you recognise the sender and know the content is safe.



=




If you have access to database



mysql > update cloud.configuration set value='8096' where


name='integration.api.port';



then restart mgt server



-Wei





On Fri, 23 Jul 2021 at 16:19, Brian Fitzpatrick <


mailto:b.fitzpatr...@chester.ac.uk>

b.fitzpatr...@chester.ac.uk

>




b.fitzpatr...@chester.ac.uk





wrote:



Hello all,



I wonder if you could help, I have managed to get myself stuck in an


upgrade from 4.15.0 to 4.15.1



(I think I overlooked a stage, apologies)



I have lost my management interface (only one - small-test install)



I need to run the cloudstack-sysvmadm script



but I am getting the error



port 8096: Connection refused



I can't see a way of enabling api access without the web interface (which


isn't working)



Is there a way up doing this through command line?



Thanks



Brian






Re: implement an authentication challenge method (such as Recaptcha) in the CloudStack UI

2021-07-23 Thread Nicolas Vazquez
Hi Ahmed,

I'm not aware about any work on it. I noticed there are some components listed 
on Awesome Vue (https://github.com/vuejs/awesome-vue) which can be used to 
integrate reCaptcha into CloudStack:

https://github.com/drozdzynski/vue-grecaptcha
https://github.com/DanSnow/vue-recaptcha


Regards,

Nicolas Vazquez


From: ahmed jabbar 
Sent: Friday, July 23, 2021 1:59 PM
To: users@cloudstack.apache.org 
Subject: implement an authentication challenge method (such as Recaptcha) in 
the CloudStack UI


> Hi team,
>  I want to implement an authentication challenge method (such as Recaptcha) 
> in the CloudStack UI,To protect UI from robot attempts .
> Did anybody implement it before ?
>
>
> BR
> Ahmed

 



Re: cloudstack-sysvmadm access to 8096

2021-07-23 Thread Brian Fitzpatrick
Hi Wei,

Thanks very much for this

I'll follow your three steps

Much appreciated

Brian

-Original Message-
From: Wei ZHOU 
mailto:wei%20zhou%20%3custcweiz...@gmail.com%3e>>
Reply-To: users@cloudstack.apache.org
To: users 
mailto:users%20%3cus...@cloudstack.apache.org%3e>>
Subject: Re: cloudstack-sysvmadm access to 8096
Date: Fri, 23 Jul 2021 18:54:28 +0200


CAUTION !


This email was NOT sent using a University of Chester account, so we are unable 
to verify the identity of the sender. Do not click links or open attachments 
unless you recognise the sender and know the content is safe.


=



Hi Brian,


It seems your management server is not started. You can check the error in

log file /var/log/cloudstack/management/management-server.log


since cloudstack 4.15.1.0, cloudstack will check systemvm template before

database changes in upgrade, so if you forget to register systemvm

template, it is not a big issue any more.

what you need to do: (1) downgrade cloudstack (2) register new systemvm

template; (3) upgrade cloudstack.


cloudstack 4.16 will provide an option to install a new systemvm template

from rpm/deb packages.


-Wei



On Fri, 23 Jul 2021 at 16:56, Brian Fitzpatrick <



b.fitzpatr...@chester.ac.uk

>

wrote:


Hi Wei,


Thanks very much for the reply


I have updated the mysql and restarted the management server but

unfortunately I am still getting the error


curl: (7) Failed to connect to localhost port 8096: Connection refused


when I run


cloudstack-sysvmadm


I am not sure the management server is fully starting up as a result of my

upgrade. I think I made a mistake in not updating the templates before the

ubuntu 20.04 apt update and upgrade


I am not sure on the best option, either resolve this connection refused

or try to rollback the upgrade (but I am not sure what state that will

leave me in?)


Thanks


Brian


-Original Message-

From: Wei ZHOU <



ustcweiz...@gmail.com

mailto:wei%20zhou%20%3custcweiz...@gmail.com>

wei%20zhou%20%3custcweiz...@gmail.com

%3e>>

Reply-To:



users@cloudstack.apache.org

mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>

To: users <



users@cloudstack.apache.org

mailto:users%20%3cus...@cloudstack.apache.org>

users%20%3cus...@cloudstack.apache.org

%3e>>

Subject: Re: cloudstack-sysvmadm access to 8096

Date: Fri, 23 Jul 2021 16:27:18 +0200



CAUTION !



This email was NOT sent using a University of Chester account, so we are

unable to verify the identity of the sender. Do not click links or open

attachments unless you recognise the sender and know the content is safe.



=




If you have access to database



mysql > update cloud.configuration set value='8096' where


name='integration.api.port';



then restart mgt server



-Wei





On Fri, 23 Jul 2021 at 16:19, Brian Fitzpatrick <


mailto:b.fitzpatr...@chester.ac.uk>

b.fitzpatr...@chester.ac.uk

>




b.fitzpatr...@chester.ac.uk





wrote:



Hello all,



I wonder if you could help, I have managed to get myself stuck in an


upgrade from 4.15.0 to 4.15.1



(I think I overlooked a stage, apologies)



I have lost my management interface (only one - small-test install)



I need to run the cloudstack-sysvmadm script



but I am getting the error



port 8096: Connection refused



I can't see a way of enabling api access without the web interface (which


isn't working)



Is there a way up doing this through command line?



Thanks



Brian






implement an authentication challenge method (such as Recaptcha) in the CloudStack UI

2021-07-23 Thread ahmed jabbar


> Hi team,
>  I want to implement an authentication challenge method (such as Recaptcha) 
> in the CloudStack UI,To protect UI from robot attempts .
> Did anybody implement it before ?
> 
> 
> BR
> Ahmed


Re: cloudstack-sysvmadm access to 8096

2021-07-23 Thread Wei ZHOU
Hi Brian,

It seems your management server is not started. You can check the error in
log file /var/log/cloudstack/management/management-server.log

since cloudstack 4.15.1.0, cloudstack will check systemvm template before
database changes in upgrade, so if you forget to register systemvm
template, it is not a big issue any more.
what you need to do: (1) downgrade cloudstack (2) register new systemvm
template; (3) upgrade cloudstack.

cloudstack 4.16 will provide an option to install a new systemvm template
from rpm/deb packages.

-Wei


On Fri, 23 Jul 2021 at 16:56, Brian Fitzpatrick 
wrote:

> Hi Wei,
>
> Thanks very much for the reply
>
> I have updated the mysql and restarted the management server but
> unfortunately I am still getting the error
>
> curl: (7) Failed to connect to localhost port 8096: Connection refused
>
> when I run
>
> cloudstack-sysvmadm
>
> I am not sure the management server is fully starting up as a result of my
> upgrade. I think I made a mistake in not updating the templates before the
> ubuntu 20.04 apt update and upgrade
>
> I am not sure on the best option, either resolve this connection refused
> or try to rollback the upgrade (but I am not sure what state that will
> leave me in?)
>
> Thanks
>
> Brian
>
> -Original Message-
> From: Wei ZHOU  wei%20zhou%20%3custcweiz...@gmail.com%3e>>
> Reply-To: users@cloudstack.apache.org
> To: users  users%20%3cus...@cloudstack.apache.org%3e>>
> Subject: Re: cloudstack-sysvmadm access to 8096
> Date: Fri, 23 Jul 2021 16:27:18 +0200
>
>
> CAUTION !
>
>
> This email was NOT sent using a University of Chester account, so we are
> unable to verify the identity of the sender. Do not click links or open
> attachments unless you recognise the sender and know the content is safe.
>
>
> =
>
>
>
> If you have access to database
>
>
> mysql > update cloud.configuration set value='8096' where
>
> name='integration.api.port';
>
>
> then restart mgt server
>
>
> -Wei
>
>
>
>
> On Fri, 23 Jul 2021 at 16:19, Brian Fitzpatrick <
>
> 
>
> b.fitzpatr...@chester.ac.uk
>
> >
>
> wrote:
>
>
> Hello all,
>
>
> I wonder if you could help, I have managed to get myself stuck in an
>
> upgrade from 4.15.0 to 4.15.1
>
>
> (I think I overlooked a stage, apologies)
>
>
> I have lost my management interface (only one - small-test install)
>
>
> I need to run the cloudstack-sysvmadm script
>
>
> but I am getting the error
>
>
> port 8096: Connection refused
>
>
> I can't see a way of enabling api access without the web interface (which
>
> isn't working)
>
>
> Is there a way up doing this through command line?
>
>
> Thanks
>
>
> Brian
>
>
>
>


implement an authentication challenge method (such as Recaptcha) in the CloudStack UI

2021-07-23 Thread ahmed jabbar


> Hi team,
>   I want to implement an authentication challenge method (such as Recaptcha) 
> in the CloudStack UI,To protect UI from robot attempts .
> Did anybody implement it before ?
> 
> 
> BR
> Ahmed


implement an authentication challenge method (such as Recaptcha) in the CloudStack UI

2021-07-23 Thread ahmed jabbar
Hi team,
  I want to implement an authentication challenge method (such as
Recaptcha) in the CloudStack UI,To protect UI from robot attempts .
Did anybody implement it before ?


BR
Ahmed


Re: cloudstack-sysvmadm access to 8096

2021-07-23 Thread Brian Fitzpatrick
Hi Wei,

Thanks very much for the reply

I have updated the mysql and restarted the management server but unfortunately 
I am still getting the error

curl: (7) Failed to connect to localhost port 8096: Connection refused

when I run

cloudstack-sysvmadm

I am not sure the management server is fully starting up as a result of my 
upgrade. I think I made a mistake in not updating the templates before the 
ubuntu 20.04 apt update and upgrade

I am not sure on the best option, either resolve this connection refused or try 
to rollback the upgrade (but I am not sure what state that will leave me in?)

Thanks

Brian

-Original Message-
From: Wei ZHOU 
mailto:wei%20zhou%20%3custcweiz...@gmail.com%3e>>
Reply-To: users@cloudstack.apache.org
To: users 
mailto:users%20%3cus...@cloudstack.apache.org%3e>>
Subject: Re: cloudstack-sysvmadm access to 8096
Date: Fri, 23 Jul 2021 16:27:18 +0200


CAUTION !


This email was NOT sent using a University of Chester account, so we are unable 
to verify the identity of the sender. Do not click links or open attachments 
unless you recognise the sender and know the content is safe.


=



If you have access to database


mysql > update cloud.configuration set value='8096' where

name='integration.api.port';


then restart mgt server


-Wei




On Fri, 23 Jul 2021 at 16:19, Brian Fitzpatrick <



b.fitzpatr...@chester.ac.uk

>

wrote:


Hello all,


I wonder if you could help, I have managed to get myself stuck in an

upgrade from 4.15.0 to 4.15.1


(I think I overlooked a stage, apologies)


I have lost my management interface (only one - small-test install)


I need to run the cloudstack-sysvmadm script


but I am getting the error


port 8096: Connection refused


I can't see a way of enabling api access without the web interface (which

isn't working)


Is there a way up doing this through command line?


Thanks


Brian





Re: cloudstack-sysvmadm access to 8096

2021-07-23 Thread Wei ZHOU
If you have access to database

mysql > update cloud.configuration set value='8096' where
name='integration.api.port';

then restart mgt server

-Wei



On Fri, 23 Jul 2021 at 16:19, Brian Fitzpatrick 
wrote:

> Hello all,
>
> I wonder if you could help, I have managed to get myself stuck in an
> upgrade from 4.15.0 to 4.15.1
>
> (I think I overlooked a stage, apologies)
>
> I have lost my management interface (only one - small-test install)
>
> I need to run the cloudstack-sysvmadm script
>
> but I am getting the error
>
> port 8096: Connection refused
>
> I can't see a way of enabling api access without the web interface (which
> isn't working)
>
> Is there a way up doing this through command line?
>
> Thanks
>
> Brian
>
>
>


cloudstack-sysvmadm access to 8096

2021-07-23 Thread Brian Fitzpatrick
Hello all,

I wonder if you could help, I have managed to get myself stuck in an upgrade 
from 4.15.0 to 4.15.1

(I think I overlooked a stage, apologies)

I have lost my management interface (only one - small-test install)

I need to run the cloudstack-sysvmadm script

but I am getting the error

port 8096: Connection refused

I can't see a way of enabling api access without the web interface (which isn't 
working)

Is there a way up doing this through command line?

Thanks

Brian




Re: Cannot enable Static Nat.

2021-07-23 Thread Halloesnith
Thanks for the reply. Just found out I have created a network from the default 
service offering(with static nat enabled).  I think we cannot enable statcic 
nat on the IP that is allocated initially to a vrouter after creating a new 
network. To enable a static Nat I had to acquire new IP and was able to enable 
static nat on that IP. Before I was looking to do so on the initially created 
network (network that I created while launching vm). 

On 2021/07/23 07:07:59, Edward St Pierre  wrote: 
> Hi,
> 
> You need to have a spare IP address for static NAT, and when you click on
> the IP address there is a little icon on the top right to enable static
> nat. (next to the trash can)
> 
> Ed
> 
> 
> On Fri, 23 Jul 2021 at 08:03, Halloesnith  wrote:
> 
> > Hello everyone,
> >
> > I am using cloudstack 4.15.1 with KVM. I was looking into the feature of
> > static NAT and I was unable to do so. I have disabled all the loadbalancing
> > and port forwarding rules for that IP address but the option to enabled
> > static nat does not appear.
> >
> > I will be grateful for any kind of suggestion.
> >
> > Thank You.
> >
> 


Re: Map Primary storage to host.

2021-07-23 Thread Abhishek Kumar
Hi Halloesnith,

Other than using host and storage tags, the other possible way could be using 
two different clusters for your two hosts and the primary store. Put both hosts 
and their corresponding storage in separate clusters.

Regards,
Abhishek

From: Halloesnith 
Sent: 23 July 2021 13:24
To: users@cloudstack.apache.org 
Subject: Map Primary storage to host.

I am using cloudstack 4.15.1 and 2 KVM hosts. I am on a testing phase and I 
have created two primary storage(p1, p2). All I want to know that is it 
possible to map a primary storage to one hosts via tags or others. If user 
creates a VM in host 1 them his primary storage is allocated from p1 and if a 
user creates a VM in host2 then his primary storage is allocated from p2. I 
have found that service offering's host and storage tags is useful but I want 
to directly map all the vm's when created to their respective primary storage. 
Just testing for knowledge purpose.

Thanks in advance.

 



Map Primary storage to host.

2021-07-23 Thread Halloesnith
I am using cloudstack 4.15.1 and 2 KVM hosts. I am on a testing phase and I 
have created two primary storage(p1, p2). All I want to know that is it 
possible to map a primary storage to one hosts via tags or others. If user 
creates a VM in host 1 them his primary storage is allocated from p1 and if a 
user creates a VM in host2 then his primary storage is allocated from p2. I 
have found that service offering's host and storage tags is useful but I want 
to directly map all the vm's when created to their respective primary storage. 
Just testing for knowledge purpose.

Thanks in advance.


Re: Cannot enable Static Nat.

2021-07-23 Thread Edward St Pierre
Hi,

You need to have a spare IP address for static NAT, and when you click on
the IP address there is a little icon on the top right to enable static
nat. (next to the trash can)

Ed


On Fri, 23 Jul 2021 at 08:03, Halloesnith  wrote:

> Hello everyone,
>
> I am using cloudstack 4.15.1 with KVM. I was looking into the feature of
> static NAT and I was unable to do so. I have disabled all the loadbalancing
> and port forwarding rules for that IP address but the option to enabled
> static nat does not appear.
>
> I will be grateful for any kind of suggestion.
>
> Thank You.
>


Re: Cannot enable Static Nat.

2021-07-23 Thread Boris Stoyanov
Hi Halloesnith,

Does your network offering support static NAT?

Thanks,
Bobby.

From: Halloesnith 
Date: Friday, 23 July 2021, 10:03
To: users@cloudstack.apache.org 
Subject: Cannot enable Static Nat.
Hello everyone,

I am using cloudstack 4.15.1 with KVM. I was looking into the feature of static 
NAT and I was unable to do so. I have disabled all the loadbalancing and port 
forwarding rules for that IP address but the option to enabled static nat does 
not appear.

I will be grateful for any kind of suggestion.

Thank You.

 



Cannot enable Static Nat.

2021-07-23 Thread Halloesnith
Hello everyone,

I am using cloudstack 4.15.1 with KVM. I was looking into the feature of static 
NAT and I was unable to do so. I have disabled all the loadbalancing and port 
forwarding rules for that IP address but the option to enabled static nat does 
not appear. 

I will be grateful for any kind of suggestion.

Thank You.