-
Notifications
You must be signed in to change notification settings - Fork 941
Instance network device rename fails, validation error #15300
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
Comments
@Kxiru found this issue in canonical/lxd-ui#1151 |
There is another problem with the validation:
|
Lets just test that assumption. If the instance NICs are connected to the same bridge network then DNS names are global for that network and not project specific, so that sounds correct to me. |
Distribution
ubuntu
Distribution version
24.04
Output of "snap list --all lxd core20 core22 core24 snapd"
lxd 6.3-f22a395 33085 6/stable canonical** -
Issue description
When changing the name for an instance NIC device, a validation error occurs. Expected is that the operation succeeds.
I.e. changing from this:
to this:
causes an error:
When removing the device, then saving, then adding back with new name, the procedure succeeds. Also, when doing this via a profile device, it succeeds. Only for instances, the validation seems to be broken.
Steps to reproduce
PUT /1.0/instances/:name
endpoint or vialxc config edit :name
The text was updated successfully, but these errors were encountered: