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

Sunstone LXD VM template update misbehaves #3559

Closed
dann1 opened this issue Jul 25, 2019 · 0 comments · Fixed by #3662

Comments

@dann1
Copy link
Contributor

commented Jul 25, 2019

Description
Updating the VM template of a container imported from the LXD marketplace introduces undesired changes to SECURITY_PRIVILEGED value.

To Reproduce

  • Import a LXD container from the LXD marketplace
  • Watch the odd value shown by the web in VM Template
    2019-07-25-142822_700x694_scrot
    2019-07-25-142809_658x483_scrot

LXD_SECURITY_PRIVILEGED should be set to true and its blank

  • Update anything in the template, ex. add a NIC
  • Update the template
  • Template now has LXD_SECURITY_PRIVILEGED=""

Expected behavior
I think the real issue is initially showing the wrong value (blank space) on Sunstone, which then the updates overrides correctly.

Additional context
This causes issues with the user namespace inside the container.
CLI is fine

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches

@jloboescalona2 jloboescalona2 self-assigned this Sep 5, 2019

@jloboescalona2 jloboescalona2 added this to the Release 5.8.5 milestone Sep 5, 2019

dann1 added a commit that referenced this issue Sep 6, 2019
dann1 added a commit to dann1/docs that referenced this issue Sep 6, 2019
rsmontero added a commit that referenced this issue Sep 6, 2019
rsmontero added a commit that referenced this issue Sep 6, 2019
B #3559: Fix LXD market apps VM_Template (#3662)
(cherry picked from commit 37188bb)
rsmontero added a commit to OpenNebula/docs that referenced this issue Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.