You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/08/31 13:20:40 UTC

[GitHub] [cloudstack] kriegsmanj opened a new issue, #6695: CloudStack metadata in kvm domain xml

kriegsmanj opened a new issue, #6695:
URL: https://github.com/apache/cloudstack/issues/6695

   
   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Feature Idea
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   API
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   Enable/Disable via Global Settings to (not) include metadata
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   KVM
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   Metadata to be recorded in the libvirt domain XML configuration to provide information about the CloudStack instance. 
   
   Provide information that can be useful to administrators troubleshooting hosts
   
   The host administrator will be able to ask libvirt to provide the XML config for the running instance and from there find out various useful pieces of metadata about the instance.
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   Add the following  metadata XML blob to libvirt domain XML
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   <metadata>
     <cloudstack:instance>
       <cloudstack:name>${instance_Name}</cloudstack:name>
       <cloudstack:internalName>${instance_InternalName}</cloudstack:internalName>
       <cloudstack:displayName>${instance_DisplayName}</cloudstack:displayName>
       <cloudstack:uuid>${instance_uuid}</cloudstack:name>
       <cloudstack:ComputeOffering>
         <cloudstack:cpu>${number_of_cpu_cores}</cloudstack:cpu>
         <cloudstack:memory>${amount_of_memory_im_m(i)b}<c/loudstack:memory>
         <cloudstack:ha>${ha_enabled_or_not_0_1}</cloudstack:ha>
       </cloudstack:ComputeOffering>
       <cloudstack:creationTime>${creationTime}</cloudstack:creationTime>
       <cloudstack:owner>
         <cloudstack:domain uuid="${domain_uuid}">${domain_name}</cloudstack:domain>
         <cloudstack:account uuid="${account_uuid}">${account_name}</cloudstack:account>
         <cloudstack:project uuid="${project_uuid}">${project_name}</cloudstack:project>
     </cloudstack:instance>
   </metadata>
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Metadata to be available in libvirt, so this can be used with libvirt exporter.
   ~~~
   


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1280008374

   @soreana I have sent you message since two days, please reply me!
   Looking forward for your responce.


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1277428314

   I am a little naive with working with libvirt domain XML, so regarding this feature enhancement can any of you please guide and tell me about the golbal settings where I have to Enable/Disable the metadata and also do I need to clone entire thing in my system for the same? 
   @kriegsmanj @soreana


-- 
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


[GitHub] [cloudstack] DaanHoogland commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1307412227

   @Jehan-h20220012 apachecloudstack.slack.com
   You have to request access, but several people can give it.
   You want to adjust a libvirt command to add the meta data on condition of that config key.


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1281210736

   @kriegsmanj I have sent you request to connect on linkedin.
   


-- 
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


[GitHub] [cloudstack] DaanHoogland commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1283567183

   @Jehan-h20220012 you are looking to add a global setting. These are added to a service by adding a `ConfigKey<>`. In this case the place to add it would probably be the `KVMGuru`. Look in `VmwareGuru` for examples. Don´t forget to implement `getConfigComponentName()` and `getConfigKeys()`.


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1277423483

   Please connect on linkedin @soreana 
   


-- 
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] CloudStack metadata in kvm domain xml [cloudstack]

Posted by "slavkap (via GitHub)" <gi...@apache.org>.
slavkap commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1883459622

   The template UUID could be useful too. If the template isn't deleted we can use it when importing unmanaged VMs in CS.
   
   `<cloudstack:template>${template_uuid}</cloudstack>`


-- 
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


[GitHub] [cloudstack] soreana commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
soreana commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1278595430

   I couldn't find you on LinkedIn :-)
   Can you please send me a request to connect? https://www.linkedin.com/in/sina-kashipazha/


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1243522559

   
   I want to contribute to solve this issue, please let me contribute as it would help in my acedamics and your problem will be solved.
   
   
   


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1276046643

   Hello @DaanHoogland I want to get in touch with someone regarding this issue, can you please share any contact if possible?


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1308764488

   Okay I will look into it.
   I will ask these things on slack once I get connected over there. It right now shows some apache.org domain required so I am looking into it how to request for the slack. Please share a link if possible so that I can directly request through it.
   
   


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1246946267

   Thank You!
   I request you to officially assign this issue to me on GITHUB as I need to show this to my Instructor before working on the issue.
   I hope you will do the needful.


-- 
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


[GitHub] [cloudstack] DaanHoogland commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1308732495

   > Also where to place that metadata.
   
   I don´t know @Jehan-h20220012 . Actually  I don´t know what you mean. You will have to compile the metadata, package it in the command to the hypervisor data and, in the command handler, add it to the VM definition. I'm not sure if this is what you are asking, but you'll have to do some digging to where to adjust the code.


-- 
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


[GitHub] [cloudstack] boring-cyborg[bot] commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1232930628

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1283039670

   @DaanHoogland @soreana @kriegsmanj 
   I have few doubts about on by what way should I make the Enable/Disable toggle so that I can make the pull request.


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1307524719

   Thank You @DaanHoogland 
   Yes I want to adjust libvirt command.
   Also where to place that metadata.
   


-- 
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


[GitHub] [cloudstack] DaanHoogland commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1313368838

   @Jehan-h20220012 please add the email address to your profile or here, so I can send you an invite.


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1313274215

   @DaanHoogland please provide a slack link, I am not getting access with the earlier one you sent


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1313501152

   h20220012@goa.bits-pilani.ac.in


-- 
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


[GitHub] [cloudstack] soreana commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
soreana commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1276061777

   @Jehan-h20220012 You can contact me or @kriegsmanj 


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1278598694

   @soreana Sure!


-- 
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


[GitHub] [cloudstack] aarushisoni commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
aarushisoni commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1240415359

   Hi my name is Aarushi Soni . I want to contribute to this issue and enhance my knowledge
    Please guide me through this process.


-- 
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


[GitHub] [cloudstack] Jehan-h20220012 commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
Jehan-h20220012 commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1283569606

   @DaanHoogland Thank you so much for your response, I will definately look into it and revert you back.
   


-- 
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


[GitHub] [cloudstack] DaanHoogland commented on issue #6695: CloudStack metadata in kvm domain xml

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6695:
URL: https://github.com/apache/cloudstack/issues/6695#issuecomment-1246854876

   @Jehan-h20220012 please go through https://github.com/shapeblue/hackerbook and
   when comfortable submit a PR referencing the issue you mean to solve 


-- 
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