Re: Replace VR

2019-12-13 Thread Riepl, Gregor (SWISS TXT)
(Resend, accidentally sent it to Andrija instead of the list)

Hi,
You can experiment with Dedicating a host to the customer. I can't advise
(from top of my head) if also the customer's VR will be created there (but
you can do one-time live migrate if needed to that host) - all customer VMs
will be created on this host while there are free resources there.
Make sure you disable RDS on your VMware cluster, or your instances might get 
migrated away when the host is under load.

Also, about your firewall problem: We have a customer that does exactly what 
Andrija suggested, operating a VPN gateway behind the VR. But since you 
mentioned max-hops (not quite sure why that would be a problem) - there may be 
another solution:
You could build a custom VR image that runs the Barracuda software alongside 
the other VR components.


Re: unpublished parameter for resetpasswordforvirtualmachine

2019-12-13 Thread Riepl, Gregor (SWISS TXT)
Just for my understanding: What is the reason that you need user-defined 
passwords?

Ideally, you shouldn't even need a password at all. Log in using SSH keys 
instead, which *can* be provisioned by users.
Are you deploying Windows VMs, perhaps?

But I suppose you could expose the parameter, then gate the 
generateRandomPassword() call with a check if password is null.

Not sure if this is something that would be accepted in the CloudStack code 
base though...

From: li jerry 
Sent: 09 December 2019 08:12
To: dev@cloudstack.apache.org 
Subject: 回复: unpublished parameter for resetpasswordforvirtualmachine

No. we need to implement user-defined passwords instead of randomly generating 
them. So I went to look up the code.

I see an unopened parameter password on 
https://github.com/apache/cloudstack/blob/master/api/src/main/java/org/apache/cloudstack/api/command/user/vm/ResetVMPasswordCmd.java#L60,



I want to enable the password parameter and let the user pass the user-defined 
password through the API

-邮件原件-
发件人: Andrija Panic 
发送时间: 2019年12月9日 15:06
收件人: dev 
主题: Re: unpublished parameter for resetpasswordforvirtualmachine

Is that not what you can see in the GUI when the VM is stopped, assuming you 
created the VM from a password-enabled template?

On Mon, 9 Dec 2019, 02:52 li jerry,  wrote:

> Hi All
>
> I saw an unpublished parameter "password" in the API code
> resetpasswordforvirtualmachine Who knows why the password parameter is
> not enabled?
>
>
>
> -Jerry
>
>


[GitHub] [cloudstack-primate] RitchieVincent opened a new pull request #69: [WIP] - VM assign to other account/project/domain

2019-12-13 Thread GitBox
RitchieVincent opened a new pull request #69: [WIP] - VM assign to other 
account/project/domain 
URL: https://github.com/apache/cloudstack-primate/pull/69
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services