René's URL Explorer Experiment


Title: instantiate VM from template · Issue #36 · python-oca/python-oca · GitHub

Open Graph Title: instantiate VM from template · Issue #36 · python-oca/python-oca

X Title: instantiate VM from template · Issue #36 · python-oca/python-oca

Description: Hi, I am new on this project and I am trying to using it to instantiate and deploy some VMs from an existing template. I managed to retrieve the template details from OpenNebula but I have some problems to instantiate a VM. This is my py...

Open Graph Description: Hi, I am new on this project and I am trying to using it to instantiate and deploy some VMs from an existing template. I managed to retrieve the template details from OpenNebula but I have some pro...

X Description: Hi, I am new on this project and I am trying to using it to instantiate and deploy some VMs from an existing template. I managed to retrieve the template details from OpenNebula but I have some pro...

Opengraph URL: https://github.com/python-oca/python-oca/issues/36

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"instantiate VM from template","articleBody":"Hi,\nI am new on this project and I am trying to using it to instantiate and deploy some VMs from an existing template.\nI managed to retrieve the template details from OpenNebula but I have some problems to instantiate a VM.\nThis is my python code:\n\n```\nvm_templ = oca.VmTemplatePool(client)\nvm_templ.info()\n\nfor templ in vm_templ:\n    if templ.name == \"Ubuntu 14.04 - KVM\":\n        t_xml = ET.tostring(templ.xml)\n        n_vm =  oca.VmTemplate(t_xml, client)\n        n_vm.instantiate(\"oca-test\")\n```\n\nHowever the library return me this error:\n\n```\nTraceback (most recent call last):\n  File \"test.py\", line 26, in \u003cmodule\u003e\n    n_vm.instantiate(\"oca-test\")\n  File \"build/bdist.linux-x86_64/egg/oca/template.py\", line 89, in instantiate\n  File \"build/bdist.linux-x86_64/egg/oca/__init__.py\", line 113, in call\n  File \"/usr/lib/python2.7/xmlrpclib.py\", line 1233, in __call__\n    return self.__send(self.__name, args)\n  File \"/usr/lib/python2.7/xmlrpclib.py\", line 1591, in __request\n    verbose=self.__verbose\n  File \"/usr/lib/python2.7/xmlrpclib.py\", line 1273, in request\n    return self.single_request(host, handler, request_body, verbose)\n  File \"/usr/lib/python2.7/xmlrpclib.py\", line 1306, in single_request\n    return self.parse_response(response)\n  File \"/usr/lib/python2.7/xmlrpclib.py\", line 1482, in parse_response\n    return u.close()\n  File \"/usr/lib/python2.7/xmlrpclib.py\", line 794, in close\n    raise Fault(**self._stack[0])\nxmlrpclib.Fault: \u003cFault -501: 'Parameter that is supposed to be integer is not'\u003e\n\n```\n\nI printed my t_xml variables and this is the output:\n\n```\n\u003cVMTEMPLATE\u003e\u003cID\u003e109\u003c/ID\u003e\u003cUID\u003e15\u003c/UID\u003e\u003cGID\u003e0\u003c/GID\u003e\u003cUNAME\u003exxxxx\u003c/UNAME\u003e\u003cGNAME\u003eoneadmin\u003c/GNAME\u003e\u003cNAME\u003eUbuntu 14.04 - KVM\u003c/NAME\u003e\u003cPERMISSIONS\u003e\u003cOWNER_U\u003e1\u003c/OWNER_U\u003e\u003cOWNER_M\u003e1\u003c/OWNER_M\u003e\u003cOWNER_A\u003e0\u003c/OWNE\nR_A\u003e\u003cGROUP_U\u003e0\u003c/GROUP_U\u003e\u003cGROUP_M\u003e0\u003c/GROUP_M\u003e\u003cGROUP_A\u003e0\u003c/GROUP_A\u003e\u003cOTHER_U\u003e0\u003c/OTHER_U\u003e\u003cOTHER_M\u003e0\u003c/OTHER_M\u003e\u003cOTHER_A\u003e0\u003c/OTHER_A\u003e\u003c/PERMISSIONS\u003e\u003cREGTIME\u003e1476705414\u003c/REGTIME\u003e\u003cTEMPLATE\u003e\u003cCONTEXT\u003e\u003cETH0_C\nONTEXT_FORCE_IPV4\u003e$NETWORK[CONTEXT_FORCE_IPV4,NETWORK_ID=\"2\"]\u003c/ETH0_CONTEXT_FORCE_IPV4\u003e\u003cETH0_DNS\u003e$NETWORK[DNS,NETWORK_ID=\"2\"]\u003c/ETH0_DNS\u003e\u003cETH0_GATEWAY\u003e$NETWORK[GATEWAY,NETWORK_ID=\"2\"]\u003c/ETH0_GATE\nWAY\u003e\u003cETH0_GATEWAY6\u003e$NETWORK[GATEWAY6,NETWORK_ID=\"2\"]\u003c/ETH0_GATEWAY6\u003e\u003cETH0_IP\u003e$NIC[IP,NETWORK_ID=\"2\"]\u003c/ETH0_IP\u003e\u003cETH0_IPV6\u003e$NIC[IP6_GLOBAL,NETWORK_ID=\"2\"]\u003c/ETH0_IPV6\u003e\u003cETH0_MASK\u003e$NETWORK[NETWORK_M\nASK,NETWORK_ID=\"2\"]\u003c/ETH0_MASK\u003e\u003cETH0_NETWORK\u003e$NETWORK[NETWORK_ADDRESS,NETWORK_ID=\"2\"]\u003c/ETH0_NETWORK\u003e\u003cNETWORK\u003eYES\u003c/NETWORK\u003e\u003cSSH_PUBLIC_KEY\u003e\u003c/SSH_PUBLIC_KEY\u003e\u003c/CONTEXT\u003e\u003cCPU\u003e1\u003c/CPU\u003e\u003cDISK\u003e\u003cIMAGE\u003eUbuntu-14.04\u003c/IMAGE\u003e\u003cIMAGE_UNAME\u003exxxxx\u003c/IMAGE_UNAME\u003e\u003c/DISK\u003e\u003cFROM_APP\u003e53e7c1b28fb81d6a69000003\u003c/FROM_APP\u003e\u003cFROM_APP_NAME\u003eUbuntu 14.04\n - KVM\u003c/FROM_APP_NAME\u003e\u003cGRAPHICS\u003e\u003cLISTEN\u003e0.0.0.0\u003c/LISTEN\u003e\u003cTYPE\u003evnc\u003c/TYPE\u003e\u003c/GRAPHICS\u003e\u003cLOGO\u003eimages/logos/ubuntu.png\u003c/LOGO\u003e\u003cMEMORY\u003e2048\u003c/MEMORY\u003e\u003cNIC\u003e\u003cMODEL\u003ee1000\u003c/MODEL\u003e\u003cNETWORK\u003eprivate-vnet\u003c/NETWO\nRK\u003e\u003cNETWORK_UNAME\u003eoneadmin\u003c/NETWORK_UNAME\u003e\u003c/NIC\u003e\u003cOS\u003e\u003cARCH\u003ex86_64\u003c/ARCH\u003e\u003c/OS\u003e\u003cSUNSTONE_CAPACITY_SELECT\u003eYES\u003c/SUNSTONE_CAPACITY_SELECT\u003e\u003cSUNSTONE_NETWORK_SELECT\u003eYES\u003c/SUNSTONE_NETWORK_SELECT\u003e\u003c/TEMPL\nATE\u003e\u003c/VMTEMPLATE\u003e\n```\n\nWhat I am doing wrong?\n\nThanks \n","author":{"url":"https://github.com/dipietro-salvatore","@type":"Person","name":"dipietro-salvatore"},"datePublished":"2016-10-27T10:29:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/36/python-oca/issues/36"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:aad4cc08-defb-f721-a54c-a389917d4c59
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9FB8:34CC4F:2E784F0:3E5CE5D:697ADF4A
html-safe-nonce774591083042720399ec6de0994f28ed1ab38116bfecdb8e149b3ffc2fb11a95
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkI4OjM0Q0M0RjoyRTc4NEYwOjNFNUNFNUQ6Njk3QURGNEEiLCJ2aXNpdG9yX2lkIjoiNjE4Nzg3NDYzNTAxNjM1NDAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7bf2322cdea6cfb5cfb032218be7e575847c286ad831c3cf4ef9a08b2c7d7eb3
hovercard-subject-tagissue:185630630
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-oca/python-oca/36/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7bfc43b801e11f3ab6463d6da5c785ef30c504c94642f2964cee3b27acfea88d/python-oca/python-oca/issues/36
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7bfc43b801e11f3ab6463d6da5c785ef30c504c94642f2964cee3b27acfea88d/python-oca/python-oca/issues/36
og:image:altHi, I am new on this project and I am trying to using it to instantiate and deploy some VMs from an existing template. I managed to retrieve the template details from OpenNebula but I have some pro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedipietro-salvatore
hostnamegithub.com
expected-hostnamegithub.com
None4af1ba0e68200258a80b0c5ab34f12a78bf48372a377a11e14eb668863c03b3a
turbo-cache-controlno-preview
go-importgithub.com/python-oca/python-oca git https://github.com/python-oca/python-oca.git
octolytics-dimension-user_id12862817
octolytics-dimension-user_loginpython-oca
octolytics-dimension-repository_id37661093
octolytics-dimension-repository_nwopython-oca/python-oca
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id37661093
octolytics-dimension-repository_network_root_nwopython-oca/python-oca
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release353b231ffaec2de44db15b2e82887804ede7c21e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-oca/python-oca/issues/36#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-oca%2Fpython-oca%2Fissues%2F36
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-oca%2Fpython-oca%2Fissues%2F36
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-oca%2Fpython-oca
Reloadhttps://github.com/python-oca/python-oca/issues/36
Reloadhttps://github.com/python-oca/python-oca/issues/36
Reloadhttps://github.com/python-oca/python-oca/issues/36
python-oca https://github.com/python-oca
python-ocahttps://github.com/python-oca/python-oca
Notifications https://github.com/login?return_to=%2Fpython-oca%2Fpython-oca
Fork 37 https://github.com/login?return_to=%2Fpython-oca%2Fpython-oca
Star 22 https://github.com/login?return_to=%2Fpython-oca%2Fpython-oca
Code https://github.com/python-oca/python-oca
Issues 11 https://github.com/python-oca/python-oca/issues
Pull requests 0 https://github.com/python-oca/python-oca/pulls
Actions https://github.com/python-oca/python-oca/actions
Projects 0 https://github.com/python-oca/python-oca/projects
Wiki https://github.com/python-oca/python-oca/wiki
Security 0 https://github.com/python-oca/python-oca/security
Insights https://github.com/python-oca/python-oca/pulse
Code https://github.com/python-oca/python-oca
Issues https://github.com/python-oca/python-oca/issues
Pull requests https://github.com/python-oca/python-oca/pulls
Actions https://github.com/python-oca/python-oca/actions
Projects https://github.com/python-oca/python-oca/projects
Wiki https://github.com/python-oca/python-oca/wiki
Security https://github.com/python-oca/python-oca/security
Insights https://github.com/python-oca/python-oca/pulse
New issuehttps://github.com/login?return_to=https://github.com/python-oca/python-oca/issues/36
New issuehttps://github.com/login?return_to=https://github.com/python-oca/python-oca/issues/36
instantiate VM from templatehttps://github.com/python-oca/python-oca/issues/36#top
https://github.com/dipietro-salvatore
https://github.com/dipietro-salvatore
dipietro-salvatorehttps://github.com/dipietro-salvatore
on Oct 27, 2016https://github.com/python-oca/python-oca/issues/36#issue-185630630
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.