You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "miloserdoff (via GitHub)" <gi...@apache.org> on 2025/07/15 13:42:16 UTC
[I] User data is applied to a virtual machine on a specific host. [cloudstack]
miloserdoff opened a new issue, #11206:
URL: https://github.com/apache/cloudstack/issues/11206
Hello. I have a Ubuntu 22.04 cloud image, user data and several hosts connected.
When I create a VM and assign UserData to it on host A, it creates fine and I can log into it.
UserData:
<img width="856" height="810" alt="Image" src="https://github.com/user-attachments/assets/30c0399e-9e42-40d2-beec-ec2aa0eceabb" />
VM-1
<img width="1057" height="863" alt="Image" src="https://github.com/user-attachments/assets/7920d637-f6bc-49a7-bbee-a5b88b9b66ab" />
VNC:
<img width="872" height="494" alt="Image" src="https://github.com/user-attachments/assets/3566e5f3-3abe-4ac3-8ebd-d6baeb753def" />
But when I create a virtual machine on host B, specify the same image and the same UserData, it does not apply it and does not even change the name of the virtual machine inside (it remains ubuntu)
VM-2
<img width="991" height="795" alt="Image" src="https://github.com/user-attachments/assets/7a035d8c-e600-4c33-a251-e66ec34fa26a" />
VNC VM-2:
<img width="1075" height="764" alt="Image" src="https://github.com/user-attachments/assets/c33fa29f-2e3a-4335-adb3-9a367d9ae61c" />
**### Could you please advise what needs to be done to make UserData work on other hosts?**
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] User data is applied to a virtual machine on a specific host. [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #11206:
URL: https://github.com/apache/cloudstack/issues/11206#issuecomment-3083476501
> [@shwstppr](https://github.com/shwstppr) Unfortunately, your solution did not help me. Maybe I am doing something wrong. Can you give me more specific advice on where to start analyzing this problem?
If you use vlan, may check if switch ports are configured to trunk mode
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] User data is applied to a virtual machine on a specific host. [cloudstack]
Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on issue #11206:
URL: https://github.com/apache/cloudstack/issues/11206#issuecomment-3078281396
@miloserdoff seems like some host configuration issue. You may check the past issues like this,
https://github.com/apache/cloudstack/issues/9027
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] User data is applied to a virtual machine on a specific host. [cloudstack]
Posted by "miloserdoff (via GitHub)" <gi...@apache.org>.
miloserdoff commented on issue #11206:
URL: https://github.com/apache/cloudstack/issues/11206#issuecomment-3078460344
@shwstppr Unfortunately, your solution did not help me. Maybe I am doing something wrong. Can you give me more specific advice on where to start analyzing this problem?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] User data is applied to a virtual machine on a specific host. [cloudstack]
Posted by "miloserdoff (via GitHub)" <gi...@apache.org>.
miloserdoff commented on issue #11206:
URL: https://github.com/apache/cloudstack/issues/11206#issuecomment-3083595561
@weizhouapache Do I understand correctly that I need to check the ports of the physical switch to which the physical server is connected?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] User data is applied to a virtual machine on a specific host. [cloudstack]
Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on issue #11206:
URL: https://github.com/apache/cloudstack/issues/11206#issuecomment-3078091492
Are VMs on host B able to access network?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] User data is applied to a virtual machine on a specific host. [cloudstack]
Posted by "miloserdoff (via GitHub)" <gi...@apache.org>.
miloserdoff commented on issue #11206:
URL: https://github.com/apache/cloudstack/issues/11206#issuecomment-3078220741
@shwstppr
Updated: Noticed some interesting behavior. Created another guest network and launched it on another host. Launched 2 virtual machines: one on the same host as the virtual router, and the second on another host. Result: The network appeared only on the virtual machine that is on the same host as the virtual router.
And how can I make it so that VMs running on different hosts can use the router and access the network?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] User data is applied to a virtual machine on a specific host. [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #11206: User data is applied to a virtual machine on a specific host.
URL: https://github.com/apache/cloudstack/issues/11206
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] User data is applied to a virtual machine on a specific host. [cloudstack]
Posted by "miloserdoff (via GitHub)" <gi...@apache.org>.
miloserdoff commented on issue #11206:
URL: https://github.com/apache/cloudstack/issues/11206#issuecomment-3078181768
@shwstppr
Hi, I decided to check your proposal and saw that the virtual machine has no Internet access. And also in ip a I did not see the IP address that should have been assigned to the VM. in /etc/netplan there is dhcp4: true.
<img width="522" height="154" alt="Image" src="https://github.com/user-attachments/assets/c7869d50-88ef-4585-98df-4f4d65eac4c9" />
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org