Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no option to join domain while spinning up the VM's dynamically. #319

Open
user-muthu opened this issue Oct 21, 2021 · 6 comments

Comments

@user-muthu
Copy link

user-muthu commented Oct 21, 2021

Dependencies

Feature Request

I have a requirement to spin up the vm's dynamically. This plugin is very useful to do that in azure.
But there is no option to join the vm to the domain. If i write a script to join domain, it requires reboot.
Once VM reboots, the agent goes offline and couldnt able to connect. If you can provide option while spinning up the vm's it would be great. without this feature this plugin wont be useful for me.

@timja
Copy link
Member

timja commented Oct 21, 2021

Why do you need it domain joined?

Is this for windows or Linux?

@user-muthu
Copy link
Author

user-muthu commented Oct 21, 2021 via email

@user-muthu
Copy link
Author

user-muthu commented Oct 21, 2021 via email

@user-muthu
Copy link
Author

I saw this post in one of the support explore portal. My request also the same.

timja created this issue on 2019-03-13 · The issue is replied 2 times
Currently the Azure VM plugin does not support joining the VMs to domains upon creation (only local admins), it would be helpful if we can get this option by default.

On the other hand, attempting to join the VM to domains manually would require joining certain vnets and setting DNS servers for these VMs, but the plugin would then deprovision\delete the VMs upon reboot of the VM, not sure if it was intended behavior from the plugin.

Example logs below:
Feb 25, 2019 4:07:29 PM INFO com.microsoft.azure.vmagent.AzureVMAgent deprovision
AzureVMAgent: deprovision: Deprovision called for agent nodes-tea6e560, for reason: Unknown reason

[JENKINS-56548] created by gpin1120

@timja
Copy link
Member

timja commented Oct 21, 2021

I don't know enough about this area, and the demand for this seems to be low.

If someone with experience in this area is able to provide a pull request then it will be likely accepted (depending on design).

@user-muthu
Copy link
Author

:(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants