- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- "Morpheus" variable is not working
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 09:58 AM
05-15-2023 09:58 AM
"Morpheus" variable is not working
I have an ansible workflow where i am using input option
Its my syntex
"pool_id: “{{ morpheus[‘customOptions’][‘Pool_Selection_Manual_Text’] }}” "
i have created inputs called “Pool_Selection_Manual_Text” in the MD and passed to the ansible playbook but i am getting below error
““The task includes an option with an undefined variable. The error was: {{ morpheus[‘customOptions’][‘Pool_Selection_Manual_Text’] }}: ‘dict object’ has no attribute ‘Pool_Selection_Manual_Text’\n\nThe error appears to be in '/var/opt/morpheus/morpheus-local/repo/git/ae9aa2c0c5ae07d846074aa893b04223/volume-provisioningg.yml””

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2023 08:28 AM
05-31-2023 08:28 AM
Re: "Morpheus" variable is not working
You’ve got special quotes in your input: morpheus[‘customOptions’]
. It needs to be: morpheus['customOptions']

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 07:07 AM
05-16-2023 07:07 AM
Re: "Morpheus" variable is not working
I am running from the Operational Workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2023 08:48 AM
05-19-2023 08:48 AM
Re: "Morpheus" variable is not working
Team , anybody can help here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2023 10:13 AM
05-19-2023 10:13 AM
Re: "Morpheus" variable is not working
what do you see just using morpheus[‘customOptions’] without a defined field name? It’s hard to make recommendation without more details / visualization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 05:19 AM
05-16-2023 05:19 AM
Re: "Morpheus" variable is not working
Are you running this directly from the Operational workflow or are you running this as a catalog item?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2023 08:13 AM
05-31-2023 08:13 AM
Re: "Morpheus" variable is not working
I get below error
File “”, line 11
data = {“ldevId”: None, “poolId”: morpheus[‘customOptions’], “byteFormatCapacity”: morpheus[‘customOptions’]
^
SyntaxError: invalid character in identifier

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2023 09:34 AM
05-31-2023 09:34 AM
Re: "Morpheus" variable is not working
as you suggested i ran without defining fieldname and go this error msg