question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Impossible to define vm_template_contents with sunstone wizard

See original GitHub issue

Description

In the kubernetes service documentation, the procedure ask:

In Advanced role parameters, set VM template content to: ONEGATE_ENABLE="YES"

But there is no VM template content under Advanced role parameters, only the VM shutdown action.

To Reproduce

Follow the procedure from kubernetes service documentation to create a OneFlow service.

Expected behavior

I should have the VM template content to set ONEGATE_ENABLE="YES".

Details

  • Affected Component: Sunstone
  • Hypervisor: KVM
  • Version: 5.12.0.3-1.ce

Additional context

I need to switch to the Advanced edition to set "vm_template_contents": "ONEGATE_ENABLE=\"YES\"" directly in the RAW template.

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
baby-gnucommented, Jan 25, 2021

@sbbarragan,

Ok, it will work since single node kubernetes doesn’t need ONEGATE, so it will be always disabled on single node, then I will force it to be enabled on the service.

Thanks, I’m closing this issue then.

0reactions
sbbarragancommented, Jan 25, 2021

@baby-gnu,

if i understand your need, its to add the VM context through the Service custom attributes. Then, you can follow these steps:

  1. VM template Kubernetes like this: (without ONEGATE_ENABLE in user inputs)
CONTEXT = [
  .....
  REPORT_READY = "$ONEGATE_ENABLE",
  TOKEN = "$ONEGATE_ENABLE" ]
  1. Service template with ONEGATE_ENABLE custom attribute:
"custom_attrs": {
    "ONEGATE_ENABLE": "M|boolean|Enable OneGate reporting? (req. for multi-node)| |YES"
  },
  1. Result on instance VM: onevm show <id> -x
 <TEMPLATE>
    <CONTEXT>
      <REPORT_READY><![CDATA[YES]]></REPORT_READY>
      <TOKEN><![CDATA[YES]]></TOKEN>
    </CONTEXT>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Sunstone Views — OpenNebula 6.4.2 documentation
This is a simplified view, mainly intended for end-users that just require a portal where they can provision new virtual machines easily from...
Read more >
Release 2.0.1 OpenNebula Systems
vOneCloud 2.0 is powered by OpenNebula Wizard, and, as such, ... Instantiate to persistent, to easily create a rich VM Template catalog.
Read more >
Create a Windows shielded VM template disk - Microsoft Learn
Prepare an operating system VHDX. First prepare an OS disk that you will then run through the Shielded Template Disk Creation Wizard. This...
Read more >
Release 4.14 - OpenNebula - OpenNebula Development pages
Bug #3720: Sunstone resize wizard should not send unmodified values ... Bug #3800: Update Network section in the VM Template Reference.
Read more >
zoB - River Thames Conditions - Environment Agency - GOV.UK
1000 turkse lira, Pubs near stamford bridge london, Definition territorial view, ... Silivri sahildeki kafeler, Mission impossible gymnastics meet 2013, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found