René's URL Explorer Experiment


Title: OpenStack YAML output problem · Issue #38 · StackStorm-Exchange/stackstorm-openstack · GitHub

Open Graph Title: OpenStack YAML output problem · Issue #38 · StackStorm-Exchange/stackstorm-openstack

X Title: OpenStack YAML output problem · Issue #38 · StackStorm-Exchange/stackstorm-openstack

Description: When running openstack commands (I was using server show action) if the output is in yaml format I attempt either str( result() ) - or - '{{ result() | to_yaml_string }}' and I output this is a variable; however, I can not use '{{ ctx()....

Open Graph Description: When running openstack commands (I was using server show action) if the output is in yaml format I attempt either str( result() ) - or - '{{ result() | to_yaml_string }}' and I output this is a var...

X Description: When running openstack commands (I was using server show action) if the output is in yaml format I attempt either str( result() ) - or - '{{ result() | to_yaml_string }}' and I output this ...

Opengraph URL: https://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OpenStack YAML output problem","articleBody":"When running openstack commands (I was using server show action) if the output is in yaml format I attempt either \r\nstr( result() ) - or - '{{ result() | to_yaml_string }}' and I output this is a variable; however, I can not use \r\n'{{ ctx().variable | from _yaml_string }}' to output this back to a json object, as it's throwing the following error.\r\n\r\n\"JinjaEvaluationException: Unable to evaluate expression '{{ ctx().variable | from_yaml_string }}'. ScannerError: mapping values are not allowed in this context\\n  in \\\"\u003cunicode string>\\\", line 1, column 57\"\r\n\r\nif however, I send the yaml output to a file (action core.local command - server show > yaml.txt)\r\nI'm able to \"cat\" the files contents and use '{{ result().stdout | from_yaml_string }}' and the output looks perfect.\r\n\r\nUnderstood that I can output json instead of yaml from the original command; however, the json output does not provide access to the values within the object - for example (please ignore appropriate json formatting)\r\n\r\naddresses = { network1: 1.1.1.1 network2: 2.2.2.2 etc...}\r\nThe object addresses just produces a long string of text that we need to parse through using regex\r\n\r\nif I import from yaml I'm able to address sub-objects directly - for example\r\n\r\nresult().addresses.network1 = 1.1.1.1\r\nresult().addresses.network2 = 2.2.2.2\r\n\r\nthis would be much simpler to just reference the object directly as the network name never changes but openstack's output changes the order of the \"networks\" listed which make regex matching all the more difficult.\r\n\r\nCertainly would welcome any guidance \r\n","author":{"url":"https://github.com/rickogg","@type":"Person","name":"rickogg"},"datePublished":"2022-10-26T17:08:15Z","url":"https://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3ab6e245-b3e0-8da1-e408-b12dac33a0d0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id92C8:375755:428F1A:584B0F:6B05E262
html-safe-nonced86cec58642b657404d1704aafbc29e6dc4648a25fad83063548650c82e5d638
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkM4OjM3NTc1NTo0MjhGMUE6NTg0QjBGOjZCMDVFMjYyIiwidmlzaXRvcl9pZCI6IjkxMzQzNDIwMTM3NTg4NTc4MjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccae29301c6c789bbcb52ab824b833b13d6a8bbd6f254f4dff7448721acc9ed20
hovercard-subject-tagissue:1424398794
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/StackStorm-Exchange/stackstorm-openstack/38/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3be4d6537dfe7f0c9fadeacaf4ad4e542877a74a9b90c1e68a523233f781fbb1/StackStorm-Exchange/stackstorm-openstack/issues/38
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3be4d6537dfe7f0c9fadeacaf4ad4e542877a74a9b90c1e68a523233f781fbb1/StackStorm-Exchange/stackstorm-openstack/issues/38
og:image:altWhen running openstack commands (I was using server show action) if the output is in yaml format I attempt either str( result() ) - or - '{{ result() | to_yaml_string }}' and I output this is a var...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerickogg
hostnamegithub.com
expected-hostnamegithub.com
None9e6b0e6e5a9a8e0ddb968297ede4e2eac72d30ea174a0970eb8f22d6958e91e3
turbo-cache-controlno-preview
go-importgithub.com/StackStorm-Exchange/stackstorm-openstack git https://github.com/StackStorm-Exchange/stackstorm-openstack.git
octolytics-dimension-user_id20677668
octolytics-dimension-user_loginStackStorm-Exchange
octolytics-dimension-repository_id75043220
octolytics-dimension-repository_nwoStackStorm-Exchange/stackstorm-openstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id75043220
octolytics-dimension-repository_network_root_nwoStackStorm-Exchange/stackstorm-openstack
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
release023691d14ad20c90d3ee61b0a0977b17dc6b6361
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FStackStorm-Exchange%2Fstackstorm-openstack%2Fissues%2F38
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FStackStorm-Exchange%2Fstackstorm-openstack%2Fissues%2F38
Sign uphttps://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=StackStorm-Exchange%2Fstackstorm-openstack
Reloadhttps://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38
Reloadhttps://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38
Reloadhttps://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38
StackStorm-Exchangehttps://github.com/StackStorm-Exchange
stackstorm-openstackhttps://github.com/StackStorm-Exchange/stackstorm-openstack
Codehttps://github.com/StackStorm-Exchange/stackstorm-openstack
Issues6 (6)https://github.com/StackStorm-Exchange/stackstorm-openstack/issues
Pull requests2 (2)https://github.com/StackStorm-Exchange/stackstorm-openstack/pulls
Actionshttps://github.com/StackStorm-Exchange/stackstorm-openstack/actions
Projectshttps://github.com/StackStorm-Exchange/stackstorm-openstack/projects
Security and qualityhttps://github.com/StackStorm-Exchange/stackstorm-openstack/security
Insightshttps://github.com/StackStorm-Exchange/stackstorm-openstack/insights
https://github.com/StackStorm-Exchange/stackstorm-openstack
New issuehttps://github.com/login?return_to=https://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38
New issuehttps://github.com/login?return_to=https://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38
OpenStack YAML output problemhttps://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38#top
https://github.com/rickogg
rickogghttps://github.com/rickogg
on Oct 26, 2022https://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38#issue-1424398794
https://github.com/jamesdreid
jamesdreidhttps://github.com/jamesdreid
on Oct 28, 2022https://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38#issuecomment-1294884527
https://github.com/rickogg
rickogghttps://github.com/rickogg
on Nov 1, 2022https://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38#issuecomment-1298468757
Sign up for freehttps://github.com/signup?return_to=https://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38
Sign in to commenthttps://github.com/login?return_to=https://github.com/StackStorm-Exchange/stackstorm-openstack/issues/38
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.