-
Notifications
You must be signed in to change notification settings - Fork 7
CHANGELOG Archive
This is a list of changes for the archived versions of the CLI.
- Fixed
catalog addprompting for option types out of order and not prompting for config options with dependent fields - Fixed
loginprompt echoing password input after hitting enter (only seen on certain environments)
This version corresponds to the release of the Morpheus API version 5.4.14.
- New command
network-server-groupsfor managing network server groups - New command
guidance-settingsfor managing guidance settings - New command
monitor-settingsfor managing monitoring settings - New subcommands
appliance-settings toggle-maintenance|reindexfor exeucuting admin utilities - Updated
self-service getto display catalog item Visibility and Layout Code
- Fixed
instances resizeandhosts resizevolume size prompt using plan instead of current volume size by default
- New subcommands
instances schedules|add-schedule|get-schedule|update-schedule|remove-schedulefor managing instance scaling schedules - Updated
instances scalingto display scaling schedules - Renamed
instances scaling-updatetoinstances update-scalingand added support for option--threshold IDto use a source threshold scaling template. - New subcommands
containers clone-image|importfor cloning and importing container images - Updated
containers(all commands) to support the standard request and output options - New subcommand
hosts restart - New subcommand
clusters apply-template
- Fixed
hosts resizePlan default value not being set to the current plan - Fixed lots of ruby warnings as a result of new unit tests
- Fix
roles list-permissionserror
- Fix
manerror
- New command
security-packagesfor managing Security Packages - New command
security-scansfor managing Security Scans - New command
pluginsfor managing Plugins - Updated
rolespermission access go along with system changes for the new default access and deprecation of "custom" value - New subcommands
roles update-task-access|update-workflow-accessto manage RBAC for task and workflows - Updated
users getto add missing types of access such as--report-typesand--vdi-pools - Updated lots of commands with
--labels x,y,zto adding/updating Labels and filtering on them - Updated
networksandnetwork-poolsfor IPv6 support - Updated
networks add|updateto support domain name instead of ID only eg.--network domain.com - Updated
networks add|updateto support new option--search-domainsto set Search Domains - Updated
network-pool-serversto go along with API updates - Updated
library-instance-typesandlibrary-layoutsto support--price-sets [LIST]to set Price Sets association - Updated
tasksto support Visibility - New subcommands
clients add|update|removefor managing custom oauth clients - New subcommands
integrations list-inventory|get-inventory|update-inventoryfor managing Ansible Tower inventory permissions - New subcommands
clouds update-logo|update-dark-logofor managing custom logo icons - New subcommands
library-instance-types update-dark-logofor managing custom dark logo icons - Updated
curlto no longer use the system command so that it works on Windows now and also supports common remote options like --fields, --select, --yaml, etc. - Updated
clouds removeto support new option--remove-resources - Updated
user-settings updateto support new option--theme darkModefor managing a user's UI theme
- Fixed
clouds addnot prompting for correct credential types for amazon/azure/google/softlayer - Fixed
instance resizeservice plan options for Openstack - Fixed
library-node-types update --scripts 1,2,3so it errors if an invalid script ID is passed - Fixed
service-plans add|updateso that it allows passing0for max storage and memory - Fixed
archives list-files bucket:/file/patherror - Fixed
security-groups add-locationnot prompting for customOptions based on type - Fixed
apps addso includes adefaultCloudparameter for other terraform/helm/arm blueprint types - Fixed
instances add -t oraclecloudnot prompting for Availability Domain - Fixed
monitor-alerts --apps x,y,zcausing an error
- Fix
price-sets listerror seen with new price types
This version corresponds to the release of the Morpheus API version 5.4.9.
- Updated
library-node-types add|updateto support new option--evars name=value,name=value - Updated
clusters updateto support new options--api-token TEXTand--managed [on|off]
- Fix
instances add -t azurenot prompting for azure marketplace publisher/offer/sku/version. - Fix
virtual-images add -t azure-referenceerror when prompting for image. - Fix
library-node-types add --templates LISTbeing passed as scripts instead of templates - Fix
users passwderror when rendering result
- Fixed
deployments add-versioninconsistent input prompting
- Fixed
clouds addgetting stuck at Username prompt seen for type VMware.
- Fixed
clouds adderror seen for type VMware related to new option type for credentials
- New command
scale-thresholdsfor managing Scale Thresholds - New subcommand
clusters upgrade-clusterto support MKS upgrade version upgrades - Updated
roles addandroles updateto support updating any role permission and global access level such as--permissions CODE=ACCESS,CODE=ACCESS,--global-group-access ACCESS,--instance-types CODE=ACCESS,CODE=ACCESS, etc - Updated
clouds refreshnew support options--mode costing --period 202206 --rebuild - Updated
tasks addto prompt for credential - Updated
library-option-types(inputs) new "Verify Pattern" property - CLI prompting for option type inputs now validates the
verifyPatternregex pattern by matching it against the entire user input value - Updated
library-node-types add|updateto support new option --ports NAME=PORT,NAME=PORT` - Updated
hosts remove,clusters removeandclusters remove-workerto display a different success message that indicates when approval is required and the cluster/worker removal is now pending approval - Updated
load-balancers getwith Price and Provider ID and removed SSL columns. Also tweakedload-balancers addto - Updated
clustersto remove deprecated option--display-nameand property Display Name - Updated
clustersto use the integrated credential option type to all use of a stored credential - Updated
resource-poolsto support Display Name property
- Fix
library-node-types get --curlcausing an error - Fix issue with prompting for some option types (inputs) that have
config.multiSelect: trueto support multiple values - Fix
clouds refresh --mode costing --rebuilderror - Fix
invoices line-items-list --all --wrapstill truncating Item ID - Fixed
user-sources addso that --tenant is no longer required and is also prompted for, also Default Role prompt works with ID or Authority now, also SAML type inputs are prompted for such as those under the SAML SSO Configuration and Role Mappings sections
- Updated
clouds addto prompt for credential - Updated
tasks addto prompt for credential - Updated
library-option-lists addto prompt for credential - Updated
clouds addto prompt for Automatically Power VMs (autoRecoverPowerState)
- Fixed
cypher getnot displaying data for responses that do not have a cypher item. - Fixed
prices add --currencyso it uses the most recent list of supported currencies. - Fixed
view cloud [id]error
- Fixed
manerror.
- New commands
apps stateto view state information for Terraform apps - Updated command
apps applyto prompt for template parameters, use new validate-apply endpoint and also refresh until apply is complete. - New commands
instances applyandinstances statefor Terraform instance types - Updated command
clusters addto support--tagsand--labelsoptions
- Fixed
catalog addissue that caused option type list prompts to not work correctly. - Fixed
clusters addissue with nodeCount parameter being required at server level too.
- Fixed
catalog addissue loading option lists values,optionTypeId={id}was not being included.
- Fixed
instances clone-imageerror due tovmwareFoldersoptions source url change.
- New command
credentialsto manage Credential objects - Updated
power-schedulesto support more granular times withHH:MMformat requires api 5.4.4 - New subcommands
clusters update-worker-count|remove-workerto change the number of workers or remove a specific worker - Updated
self-serviceto support new option--dark-logo
- Fixed
instances add|resizeprompting for root volume size when provision type does not support customization
- Fixed
instances adderror seen when plan has customizable memory but no default value defined.
- Updated command
instances addandinstances resizeto prompt for plan customizations: Core Count, Cores Per Socket and Memory - Updated
pingandremote addto handle the API requiring authentication to retrievebuildVersion - Updated
remote getto no longer displayAppliance URLsince it is no longer returned - Updated
virtual-images listto support new option--syncedand updated help to note Default list applies User filter - Updated
library-instance-types listto support new option--featured - New command
snapshotsto manage Snapshots - Removed command
instances remove-snapshot. This has been replaced withsnapshots remove.
- Fixed
instances clone-imageto prompt for Folder when required (VMware) - Fixed
networkshanding ofdisplayName - Fixed
tasks addRetry Delay not persisting - Fixed
clusters addprompt for combo and docker types - Fixed
tasks getshowing Script content incorrectly for Libray Script type
- Updated command
load-balancersto bring it up to date with the UI functionality - New command
load-balancer-monitorsto manage Load Balancer Monitors. - New command
load-balancer-poolsto manage Load Balancer Pools. - New command
load-balancer-profilesto manage Load Balancer Profiles. - Remove deprecated commands
integrations add-object|get-object|list-objects|remove-object
- Fixed
image-builder addissue with Preseed Script being required instead of optional. - Fixed
clusters addissue with template parameters
- New command
storage-serversto manage Storage Servers. - New command
storage-volumesto manage Storage Volumes. - New command
viewto open appliance resources in a web browser. - New subcommands
instances refresh|applyto plan and apply terraform instance types.
- New command
network-edge-clustersto manage Network Edge Clusters. - New command
network-dhcp-serversto manage Network DHCP Servers. - New command
network-dhcp-relaysto manage Network DHCP Relays. - New subcommands
roles update-global-report-type-access|update-report-type-accessto manage role report type access - New subcommand
health export-logsto download the appliance logs file
- Updated
clouds list|getto display Region Code - Updated
instances cloneto prompt to keep existing metadata tags before adding new ones - Updated
instances add|clonechanging themetadataparameter name totags. The api has supported this since 5.0, when the response was renamed from metadata to tags.
- Fixed
library-option-lists add --initialDataset "[]"error caused by the parameter being converted to JSON instead of leaving it as a string. - Fixed
invoices list --totalscausing an error related to currency display. - Fixed
networks addissue causing it to get stuck on Parent Network prompt. - Fixed
networks addNetwork Pool prompt to be a select input - Fixed
subnets adderror seen with Azure type. - Fixed
virtual-images listso types are preloaded before output begins.
- Updated
invoicesto correspond with the 5.3 api to show invoice Currency and render amounts using the invoice source currency symbol. - Updated
library-cluster-layoutsto support Install Docker option
- Updated dependency
bundlerversion to~> 2.2 - Fixed issue with
clustersand the resource pool option type dependencies
- Fixed issue with
instances resize -N -O dataVolume1.action=resize -O dataVolume1.size=42not applying changes to payload as expected.
- Fixed issues with
instances resize,-Nwould cause-O dataVolume1=42to go unapplied, also made current plan the default selection and stoppedrootVolumeanddataVolume1from being injected into the payload.
- Updated
networksandnetwork-routerscommand for use with NSX-V and NSX-T requires api 5.2.9 or 5.3.3 - New command
load-balancer-typescommand (replaces oldload-balancers typescommand) - Update
tenants removeto support new option--remove-resources - Deprecated commands
log-settings enable_integration|disable_integration|remove_integration. The old options will still work for now, but are hidden.
- Fixed issue with some hidden commands still showing up in the manual and help output.
- Fixed issue with some option types that use the
visibleOnCodeproperty.
- Changed
library-option-lists getcommand to no longer display items by default, new option--itemsis available to load and display option list items. The 5.3.2 API changed to no longer returnlistItems.
- Changed
invoicescommand to display Prices instead of Costs by default. - New subcommands
integrations list-objects|get-object|add-object|remove-objectto fully manage ServiceNow integration exposed objects.
- Fixed issue with
APIClientnot respecting the setting:verify_ssl => false. This involved quite a bit of grooming to cleanup all the interface instantiation throughout used in the CLI commands. - Fixed
URI.escape is obsoletedeprecation warning.
- New command
integrationsto fully manage integrations. - New command
vdi-poolsto support VDI Pool management. - New command
vdito support VDI persona. - Updated
rolesto support VDI Pool settings. - New command
certificatesto manage SSL certificates. - New option
--select x,y,zfor outputing only value(s). eg.instances get Test --select idorinstances list --select id --newline " ". - New option
--delim [CHAR]and option--newline [CHAR]forgetandlistcommands. - Deprecated options
--csv-delimand--csv-newline, use--delimiterand--newlineinstead. The old options will still work for now, but are hidden. - Updated
user-settings getto display Default Group, Default Cloud, 2FA Enabled, and Desktop Background. - Updated
user-settings updateto support first class options for all the settings, including--avatar FILE. - Update
instances listto support new option--type CODE - Update
instances listto support new option--environment CODErequires api 5.3.1 - Updated
reports exportsto not require--format csvif the specified filename ends in.csv, now it is done automatically. - New command
hosts software-sync
- Fixed output of the
--curloption for content types other than json, such asapplication/x-www-form-urlencodedandmultipart/form-data. eg. output now uses-dfor each parameter and-F 'user.avatar=@filepathfor file uploads. - Fixed error seen with
instances list --fields id,name,status
- Fixed
networks add --description - Fixed
network-domains add --type - Fixed
reports view
- Fixed
invoices list --cloud CLOUDcausing an error
- Fixed
service-plans adderror that would occur when prompting for resource permissions without multi tenancy.
- Updated
invoices refresh -c CLOUDto have less options to correspond with the 5.3 api, which now always runs the hourly and daily costing jobs for the specified clouds for the current period. The option--date=YYYY-MM-DDallows processing invoices for a previous period (month). - Updated
dashboardandactivity listto hide Resource column by default,--detailswill still display it. - Updated
execution-request executeto refresh every 5 seconds by default, instead of 30.
- Fixed
--all-fieldsand--csvoutput so that objects are rendered in JSON format instead of Ruby format. - Fixed
remove currentdisplaying Name value wrapped in"
This marks a shift in CLI version scheme. The CLI version is changing to match the semantic version of Morpheus appliance, so that the first 3 numbers will correspond to the appliance version release, and a fourth number will be used for CLI fixes that do not correspond to a release of the appliance.
- Update
invoicescommand to parselineItemCountbecauselineItemsis no longer returned withinvoices list
- Fix option
--max -1, since the server supports this, CLI also now supports-m allwhich passmax=-1in the request. - Fix option
--sort x,y,zto allow multiple fields since some endpoints now support this.
- New subcommands
instances clone-image|lock|unlock.
- Fixed
projects list -mnot working
- New command
dashboard - Update
library-option-liststo display and prompt for Help Block - Update
historyusage to support arguments as[search]phrase - Update
jobs list-executionsto support new option--internal - Update
budgetsto support custom periods and new option--costs LISTreplaces--q1,--january, etc.
- Fixed
curl [URL] --out /tmp/outfile.jsonnot writing to file
This version corresponds to the release of the Morpheus API versions 5.2.1 and 4.2.5.
- Renamed option for
instances [add|update] --metadata LISTto--tags LIST. The API now expectstags: [{"name":"color","value":"blue"}]and Labels is now calledlabelsinstead oftags. - New option
instances update --add-tags LIST,--remove-tags LIST,--remove-tags LISTto manage tags on instances. - New option
hosts update --tags LIST,--add-tags LIST,--remove-tags LISTto manage tags on servers.
- Fixed
instances snapshotsnot showing Description correctly - Fixed
instances instances add --payload /path/to/payload.json --group GROUPnot applying group on top of payload.
This version corresponds to the release of the Morpheus API version 5.2.0.
- New command
catalogfor Service Catalog Persona: View catalog and manage inventory - New command
self-servicefor Self Service: View and manage catalog item types - New option
instances list -aas alias for--details - New option
apps list -aas alias for--details - Updated
library-option-types getto display associated Option List - New option
virtual-images update --tags LIST,--add-tags LIST,--remove-tags LISTto manage tags on virtual images.
- Fixed
groups list --csvnot outputting groups as rows
This version corresponds to the release of the Morpheus API version 4.2.4.
- New command
searchthat provides global search. - New command
forgotthat provides forgot password email and reset. - Updated
deployments list|addto show more information and prompt for inputs. - New subcommands
deployments list-versions|add-version|remove-versionfor managing Deployment Versions - New subcommands
deployments upload|remove-filefor managing Deployment Version Files. - New command
deploysfor full management of instance deploys, including deploy of a new version to an instance withdeploys add - Enhancments for
deploycommand for using a morpheus.yml to creat a deployment, version and deploy it to an instance. - Updated
instances listto support new options--tags Name=Valueand--labels label - Updated
hosts listto support new option--tags Name=Value - Renamed option
--metadatato--tags. old option still exists as a hidden option. The api still expectsmetadata: [{"name":"color","value":"blue"}] - Updated several list commands to support search
[phrase]as arguments 0-N instead of using-s [phrase]. This includesinstances list,hosts list,tasks list,logs list,health logs. All commands should support this alternative soon. - Updated
virtual-images addto prompt for options required with type: Azure Reference. Prompts to search Azure Marketplace for publisher / offer and sku / version. - Updated
curlto support-jas an alias for-p(pretty JSON) - Prompt for input type
code-editordoes not require user to tpeEOFany longer, just hit return. - Hide options
--timeoutand--headersince these are global options for any api request commands. - Updated
whoamioutput to display user ID first, and include Remote - Updated
hosts listandhosts getoutput to display status the same as instances and apps. - Updated
hosts listoptions: changed-ato-a, --details, renamed-a, --accountto--tenant.
- Fix errors seen with
deploycommand. - Fix error seen with
virtual-image get [id] - Deprecated
setup init. This was removed some time ago, but wa still documented as a known subcommand. This command was renamed to justsetup. - Grooming of
mancontent to bring it up to date.
This version corresponds to the release of the Morpheus API version 5.0.0.
- New subcommand
roles update-global-catalog-item-type-access - New subcommand
roles update-catalog-item-type-access - New subcommand
roles update-persona-access - Updated
roles get|add|updatefor Default Persona - Updated
user-settings get|updatefor Default Persona - New command
usage list
- Updated
resource-pools add-ipto support--next-free-ipinstead of always requiring[ip]to be passed - Change
curl --dataoption to set headerContent-Type: application/jsonby default
- Fix
service-plans addshowing no available price sets - Fix
jobs add --taskcausing missing jobType error - Fix
jobs add for --workflowwhen option type is required, now prompts for optionTypes to populate customOptions object. - Fix
curl --header 'Foo: barnot working
- Fix
budgets adderror during prompting. - Fix
tenants adderror during prompting.
- Updated
resouce-pools updateto support--default-pool [on|off]option.
- Fix
library-instance-types add --option-types [x,y,z]not working correctly.
- Updated
tasks executeto not require the-aflag. - Updated
projectscommands to support--find-by-nameflag for finding projects with names that look like ids.
- Fix process event status
COMPLETEdisplaying yellow instead of green.
- Fix error seen installing previous version on Windows, related to loading new RestInterface class
- Updated
security-groupsto display the Active flag and it can be updated with--active [on|off]. - Updated
invoices listto display Tags and allow filtering with--tags Foo=Bar --tags Hello=World
- Fixed
instances update --groupnot working.
- Updated
invoicescommand to support new option--sigand some other tweaks to the way data is displayed.
-
library-option-types addsupport for--exportMetatoExport as Tag.
- Fixed
tasks add add --no-promptstill prompting for Content Ref. This fixesspec-templates addas well. - Fix
library-option-types addandupdatesupport for the-Ooption.
- Fixed
login -Talways resulting in Token not valid error.
- Improved
logs listoutput, the message output will flex to the width of the terminal and show more than one line, also new option--tableis available. This also impactshealth logs,instances logs, etc.
- Fixed
remote add --insecurenot working.
This version corresponds to the release of the Morpheus API version 4.2.1.
- Fixed several issues with
invoices.
- Fixed
pingresulting in an error when used on older appliances. Now it falls back to use /api/setup/check instead of erroring. - Fixed
remote setuperror and also improved error handling forsetup --remote-urlwith an insecure url.
- Prompt for credentials by default, instead of erroring. This was the behavior a long time ago, and now it is once again.
- Improved output of
remote listandremote get - Changed
remote getto refresh status and version by default, can use option--offlineto avoid this. - Changed
remote getto work likeremote currentwhen called with 0 arguments - New subcommand
remote version. - New subcommand
remote view. - New command
setupthat works likeremote setup - New command
pingthat works likeremote check - New command
activitythat works likerecent-activity - Deprecated
recent-activity - Updated
instancescommand renaming options--created-byto--owner - Updated
appscommand to show Owner. - Updated
blueprintscommand to support Owner. - Updated
blueprintsandappscommand to show more information. - Updated
invoices list -c CLOUDso that name can be passed instead of just id. - New option
apps update --owner. - Removed deprecated command
instances update-notes. - New subcommand
library-layouts update-permissions. - Changed the way role permission access values displayed, so they look more like a grid and full is green, while other values are cyan.
Some of these enhancements require remote version 4.2.1 to behave properly.
- Fixed error seen with
instances import-snapshot - Fixed
instances addpayload duplicatingplan. - Grooming of help info for
instances,appsandblueprints. - Fixed
--quietoption still printing a newline. - Fixed issues with
--remote-urloption, it could cause errors or otherwise behave incorrectly. - Fixed issue with
instances addusing the wrong version when specified with-O layout=IDinstead of--layout ID - Fix
library-layouts get ID404 error incorrectly saying 'Instance Type not found' - Fix
clouds addnot merging-Ooptions into the payload - Fixed
invoicescost display issues
Does not exist, skipped release 4.2.9 in favor of calling it 4.2.10
- New option
workflows list --type.
- Fix
apps addincluding-O networkInterfaceoptions when the blueprint has that field locked. This fixes potential serverside error 'ip address required'. - Fix
users permissionserror when using older appliance versions.
Some of these enhancements require remote version 4.2.1 to behave properly.
- New options
--wrapand--all-fieldsfor alllistcommands. - New option
remote check --allthat works just likeremote check-all. - New option
curl -v. - Updated command
groups currentto support--remoteoption. - Updated command
apps addEnvironment prompt to be a select instead of text. - Updated command
apps addEnvironment prompt to be a select instead of text. - Updated
apps listandapps getto display Environment - Changed No records found messages to be cyan instead of yellow.
- New option
--can-manageforsecurity-groups add/update. - Changed
workflows getto just show TASK ID in the tasks list, and no longer display ID ('taskSetTaskId'). - Renamed 'Tags' to 'Labels' in
instances get - Renamed option
--tagsto--labelsforinstances add. - Added options
--labelsand--metadatatoinstances add - Updated command
users permissionsandusers get --allto show all access. requires api 4.2.1 - Updated command
whitelabel-settingsto support--accountoption. requires api 4.2.1 - New subcommand
clouds refresh. requires api 4.2.1 - New command
guidance. requires api 4.2.1
Some of these enhancements require remote version 4.2.1 to behave properly.
- Fix
apps addnot using blueprint values for layout,plan,networks,volumes,etc. - Fix
apps addnot printing some error messages eg. 'name must be unique'. - Fix
instances add --security-groupscausing invalid argument error. - Fix
instances addinfinite name must be unique error when--no-promptis used. - Fix
passwdextraneous output 'args is'.
- Fixes for new
invoicescommand.
- Updated command
invoicesto show more info and make--raw-dataan option.
- Fixed
clouds addgroups dropdown being limited to 25. - Fixed multiselect option types not working when passed in eg.
--tenants "one, two"
- New command
invoices
- Fixed
instances addrequiring Library permission to fetch layout. - Fixed
instances addrequiring Clouds permission to fetch datastores. - Fixed
instances addpotential 500 error when retrieving datastores.
- New subcommand
service-plans activate
- Fixed 404 error when fetching layout seen when pointing at appliance versions older than 4.2. This change is to use /library instead of /libray/instance-types when for those resources.
This version corresponds to the release of the Morpheus API version 4.2.
- New command
network-routers - New option
networks add --group - New options
tasks add --source --urlfor task types that supporting file-content instead of script content. ie. Groovy and Python - Updated command
tasks getwith improved output format. - New command
library-spec-templates - Updated commands
library-option-types,library-option-listsby adding ,library-scripts, andlibrary-file-templateswith prompting and standard option support. - New option
library-instance-types add --option-types [x,y,z]. - New option
clusters add --worker-count Nandclusters add-worker -n N - New option
service-plans update --active. - Updated
jobs addto support--schedule datetime --datetime DATE. - New option
instances add --ports ARRAYand prompting for exposed ports.
- Fixed
tasks update --payloadnot being supported. - Fixed
prices addandprice-sets addprompts to match -O options - Fixed
library-cluster-layouts addprompts to match -O options - Fixed
cypher putnot respecting--keyand--valueoptions
- Fixed
service-plans deactivatemissing confirmation prompt.
This version corresponds to the release of the Morpheus API version 4.1.2.
- New command
appliance-settings - New command
provisioning-settings - New command
whitelabel-settings - New command
log-settings - New command
approvals - New command
budgets - New command
health - New command
service-plans - New command
prices - New command
price-sets - Updated command
logsoutput format to match more closely with the UI. This includeslogs list,instances logs,apps logs, etc. - Updated command
cypher putto support more flexible format and store secret values as a string or object. Default TTL is now unlimited (0.) - Updated command
workflows addto create operational workflows, associate option types and to prompt for inputs. - New subcommands
workflows executeandtasks execute. - Updated prompting to support
dependsOnCodeoption type setting. This improves prompting for commands likeinstances addwhere irrelevant or duplicate option prompts could be seen.
- Fixed an error seen on Windows with select prompting.
- Fixed shell prompt still having ansi coloring with
shell -Cand aftercoloring off. - Fixed issue with
-r [remote]still using the previous remote's active group forinstances add,clusters add,apps add. - Fixed issue with the
-F,--fieldsnot excluding keys outside of the object scope. eg.meta: {...}.
- Fixed issue with monitor commands such as
muteandmute-alldisplaying 'Unmuted...' instead of 'Muted...'. - Fixed issue with
remote-urloption causing 'wrong number of arguments' error.
- Updated
security-groups addandsecurity-groups updateto support the options--tenants,--group-accessand--visibility.
- Fixed issue with
subnets get -jcausing an error. - Renamed
servers install-agenttoservers make-managedand added support for option--install-agent off. - Fixed issue with
instances actionscausing an error.
- New command
subnetsfor managing network subnets. This replaces the commands that were namednetworks *-subnets.
- Fixed issue with
security-groups getnot displaying anything. - Fixed issue with extra "Unexpected Error" being printed some typical errors.
- New format for
-S, --sort ORDERSort Order. DIRECTION may be included as "ORDER [asc|desc]". Example:instances list -S "dateCreated desc" - New command
clusters list-datastores|get-datastore|add-datastorefor managing cluster datastores. Requires appliance version 4.2.0 - New subcommand
monitor-incidents add. Requires appliance version 4.2.0 - New command
appliance-settings. Requires appliance version 4.2.0 - New command
monitor-alerts. Requires appliance version 4.1.1 - Improved commands
monitor-contacts add,monitor-checks,monitor-groupsandmonitor-appsby adding prompting.
- Fixed
roles updateto support the--payloadoption. - Fixed issue with
instances logs,containers logs, etc displaying records in the reverse order. Changed to match the UI. - Fixed
instances viewandapps viewonly allowing one[instance]argument.
- Fix issue with
blueprints add-instancethat would not allow multiple instances of the same type for a tier. - Fix issue with
blueprints add-instance-confignot prompting for Group, and instance can now be specified by name or index instead of just type.
- Fix issue with
instances clonethat would result in a 'Cloud not found' error when trying to use a shared/public cloud. - Fixed an error that could be seen with select options having an Integer default value.
- Improved
APIClientso that is easier to use. See APIClient.
- Fix issue with
resource-pools addresulting in no Group and Plan access. Now it passesresourcePermissions.all=trueby default.
- New command
clusters - New command
networks list-subnets|get-subnet|etcfor managing network subnets. - New option
user-settings --user-idfor managing other users tokens,etc. - Updated
roles addandroles updateto support the--payloadoption. - New subcommand
containers logs - Select option prompts that have just one value are no longer skipped, and will now be seen with the only option selected as the default value.
- Fix issue with
library-option-lists updatenot allowing arbitrary-Ooptions. - Fix error seen with
library-node-type remove.
- Fix issue with
instances history-eventbreaking when an event had an error to display.
- New command
wiki - New subcommands
network-pools list-ips|get-ip|etcfor managing network pool IPs - New subcommands
network-domains list-records|get-record|etcfor managing network network domain records. - Changed
--refreshdefault interval to 30 seconds, instead of 5.
- Fix issue with
virtual-images addto send imageType 'vmdk' instead of 'vmware'. - Fix issue with
monitor-apps getandmonitor-groups getdisplaying Open Incidents as json
- Fix issue with
instances suspendpassingserver=true
- Fix issue with
instances start-servicepassingserver=true
- Fix issue with download/export commands that use arrays as query parameter values
- Hide new
wikicommand until 4.0
- Fixed issue with
instances add -O instanceContextoption not being included in payload - Fixed issue with
access refresh-token
- New command
reports - New command
instances view - New option
instances add --environment - New option
networks list -c [cloud] - Improved
instances cloneprompting - New command
environments - New command
wiki
- Fixed issue with
instances scaling - Fixed issue with
recent-activitydata parameters - Fix issue with
library-node-types updatespecifying atleast one option error with -O - Fixed issue with
remote listname column not being wide enough. - Fixed
tenantscommands missing support for--dry-run, etc - Fixed issue with
library-container-types addneeding-O containerType.config={}
- Deprecated
instances firewall-enable and firewall-disablewhich have been recently deprecated in the api.
- Fixed error seen with
instances resizeagain
- Fixed error seen with
instances resize
- New command
resource-pools - New command
resource-folders - Updates to command
security-groupsfor rule and location management.
- Fixed issue with
instances addrequiring Resource Pool when there are none available.
- Deprecated
security-group-rules, replaced bysecurity-groups get|add-rule|remove-rule
- Updated
networks addto have options for Network Domain and Proxy settings.
- Fixed issue with
library-node-types adderror generating 'Sorry, no options were found for provision type' for some types.
- Fixed issue with
apps add --blueprintprompting for values that are already set in the config. - Fixed issue with
apps add --blueprint -Nerroring with message about 'rootVolume.storageType' being required. - Fixed issue with
apps add -Nerroring with message about 'Version' being required.
- Fixed issue with
curl --insecureoption having the typo 'inescure'. - Fixed issue with
--curloption output, copy + paste + enter not working, due to trailing ansi reset character.
- Fixed issue with
instances addfor Nutanix clouds not prompting for Datastore for volumes. - Fixed issue with
instances add --layoutcausing HTTP 500 error
- Updated
aliasto allow [command] to be an expression. - New option
morpheus -eto execute an expression. This works just likemorpheus shell -e. - New option
benchmark exec -nto run many iterations and print the average duration.
- Fixed issue with some commands exiting 0 when an error occurs.
- Fixed issue with
apps addwhere JSON errors were not rendered nicely. - Fixed issue with
hosts get IDmaking a redundant api request.
- New command
apps count - Added options to
instances countandhosts count - New command
hosts typesto list all server types via API. Required appliance version 3.6.2
- Removed command
hosts server-types [cloud]. This has been replaced withhosts types -c [cloud].
- Fixed issue with
apps listhaving an extra newline in the output.
- Fixed issue with
apps add --validatenot displaying some errors, such as 'name: must be unique'.
- Updated
instances listto display aCREATED BYcolumn.
- Fixed
historycommand some more.
- Fixed
historycommand behavior.
- Fixed
monitor-incidents list--statusand--severityoptions. - Fixed
monitor-checks muteUnexpected Error
- Fixed
groups usecausing unexpected error. This error was NOT seen when inside a morpheus shell, and likely impacted other commands too.
- New options
instances list --detailsto Display more details: memory and storage usage used / max values.appsandhostshave this option too. - New option
tenants update --active [on|off]
- Fixed
tenants update -Onot working.
- Improved table display by preventing table wrapping. Only the columns that fit the terminal width will be displayed. This is enabled by default. If you want to see columns that are hidden because of terminal width, you can use
--all-fieldsor--fields x,y,zoption. - Removed the table_print gem as a dependency.
- Changed usage of
tenants groups list -a [account]totenants groups list [tenant]. - Improved
historycommand. All prior commands are viewable now, instead of only the last 1000. History recording is now supported on Windows.
- Fixed
historyon Windows only displaying commands from current shell session. - Fixed
clouds typeserror.
- Improved
historycommand to support standard search-sand sort-Soptions. - Changed
debugcommand to work the same asdebug on. The same goes forcoloring.
- Removed extraneous debugging output with
cypher put. - Changed
cypher putto putttlin the query params and not the JSON payload.
- Improved
process list,process get,instances historyandapps historyby truncating output by default. The new option--detailscan be used to see everything. - New option
process list --appfor filtering by app(s).
- Fixed
cypher putso that it skips the 'overwrite' confirmation prompt if the key does not exist already. It makes a list request beforehand to check if the key exists. - Fix
apps security-groups-applycausing Unexpected Error - Fixed issue
historycommand itself being logged consecutive times in the command history list. - Fixed
man -gqnot being quiet - Fixed a few help docs.
- Fixed versioning to match current morpheus appliance version:
3.6.1. Hopefully this avoid some confusion.
- Finished adding support for
--curl,--timeoutand--headerto all commands that should have it. - Removed default 30 second timeout for
POSTandPUTapi requests. OnlyGETrequests will use the default 30 second timeout. The new option--timeoutgives users a workaround as well.
- Fixed
whoami --dry-runcausing error.
- Removed command
app-templates. This has been deprecated and hidden since it was replaced withblueprints.
This release has so much!
- Updated
cyphercommand for simplified cypher key management. (requires appliance 3.6.0-2) The previous command that consumes the old cypher API is still available as the hidden commandold-cypher. Please update your usage accordingly. - Improved
login. Refresh tokens are now stored with credentials to support refreshing. - New command
access-tokenthat behaves likewhoami -t - New command
access-token refresh. - Updated
whoamito - New command
login --testfor testing credentials without updating the your session. - New command
passwdfor changing passwords. - New command
benchmarkto run adhoc benchmark tests for a command or series of commands. Also provides [on|off] commands to control the global benchmarking flag while in a shell. - New option
-Bor--benchmarkto print output about how long it took to run a command and the exit status. - New option
--remote-urlfor transient login with any command. - New option
-Uor--usernamefor transient login with any command. - New option
-Por--passwordfor transient login with any command. - Removed the short option
-Bfrom the--keep-backupsoption. - New option
--curlfor doing a dry run that outputs a curl command that can be copy and pasted. - New option
--headerto add extra headers to api requests. - New option
--timeoutto use a custom timeout to api requests. - note:
--header,--curland--timeoutsupport is limited at the moment. It supported by a few several common commands eg. instances and apps. All will support it soon. - Renamed
accountstotenants. The old command still exists, though it will be deprecated in the future. Please update your scripts to usetenants. - Updated
aliascommand to improve help output and usability. - Updated
--dry-runoutput format to improve readability and usability. It prints DRY RUN right away, before prompting, etc. - Updated command
roles getoutput to remove deprecated 'Role Instance Limits' settings. Also, moved global settings to details section to improve readability. - Updated command
users getoutput to remove deprecated 'Instance Limits' settings. - New option
--thinfor less bulky headers and tables. At the moment, support for this is...thin. A few popular commands fully support it eg.instances. - Changed time format to no longer display the timezone ISO code. This was taking up extra space on some already too-wide tables. We can add a timezone setting to the cli soon.
- Fix
groups listmissing support for--dry-run
- Fix issue with custom shell prompts not showing username after logging in.
- Fix issue with
appsstatus displaying empty instead of PROVISIONING.
- Fix issue with
instances startsupport of-yoption.
- Updated
instances stop|start|restart|etcto accept multiple instance arguments. - Updated
hosts stop|startto accept multiple host arguments. - Added confirmation to
instances start, and support of Auto Confirm-yoption. - Added confirmation to
hosts start, and support of Auto Confirm-yoption.
- Updated
apps addto merge blueprints into payload and prompt for instance configuration. - New option
apps add --validateto only validate without creating. - Replaced
apps add --configoptions with standard--payloadoptions. - Replaced
blueprints add --configoptions with standard--payloadoptions. - Updated
blueprints addto prompt for type. - New commands
apps stop|start|restart - New option
--payload-dirfor all commands supporting--payload. - New option
--promptfor all commands supporting--options.
- Fix issue with
apps addnot showing useful error messages.
- Fix issue with
apps addnot including-Ooptions
- Fix issue with
run-workflowrequiring parameters
- Fix issue with archives upload timing out for large files
- New commands
monitor-checks mute-all
- Fix issue with
roles update-cloud-accesswhen group has to be specified - Fix issue with
roles update --multitenant off
- New command
blueprintsto replaceapp-templates. The old command still exists, though it will be deprecated in the future. - New command
instances history - New command
instances exec - New command
user-settings - New command
process - New command
execution-request - Change
instances add --workflowto support Name or ID - New filter option
tasks list --types - New filter option
servers list --account. Servers finds records for all tenants by default for master tenant users. - New command
roles update-global-blueprint-accessandroles update-blueprint-access - New command
hosts update
- Fix cloud status display not showing DISABLED.
- Fix issue with
--refresh-until [status]never stopping. - Fix issue with
--nocolornot resetting between shell commands - Fix issue with
remote addalways asking for login credentials twice.
- Updates to
instances listandinstances getto consume new api format for stats and load balancer data (no longer need to stitch together) - New options for
instances updateto update metadata, power schedule, and group - Renamed
storage-providerstostorage-bucketsto correspond with API changes. - The
--remove-volumesoption has been replaced with--preserve-volumesto correspond with API changes. -
loginnow prints 'Logged in to %remote as %username' on success - New option
--refresh-until [status]forinstances get,apps getandservers get.
- Fix error output for
whoami -T [token] -j
- Renamed power-scheduling to
power-schedulesand mapped to new api endpoint - Added new command
execute-schedules - Added new option
curl --pretty - Updated
curl [url]to allow an absolute URL to allow easier copy and pasting
- Fixed issue with
shelllog-level being saved for subsequent commands when using--debugwhile in a shell - Fixed some errors seen with power schedules
- Fixed issue with
storage-providers add -t rackspace
- New command
cypherfor managing cypher keys - Updated
library-option-liststo support the Source Headers settings - Updated
storage-providersfile browser commands - Updated
cloudsto display the Enabled setting - Updated
set-promptto no longer reset to terminal default colors for input. Append%resetto your prompt string to keep that behavior.
-
instances updateshould allow any option with-O
- Allow removing tasks still in use with
tasks remove --force
- Fixes for
virtual-images add
- Ruby version >= 2.3 is now required. This is for the http gem.
- Improve performance of
virtual-images add - Improve performance of
virtual-images add
- Allow task phase to specified for
workflows add --tasks - Fix error seen with
whoami -j
- New option
login -Tto login with an existing access token instead of a username and password
- Fix issue with
--fieldsresulting in 'null' for values that should be 'false'.
- Fix issue with
--fieldsresulting in 'null' for values that should be 'false'.
- Fix error with
policiescommand.
- New command
datastoresfor managing cloud datastores - New command
accounts groupsfor managing subtenant groups
- Fix
--fieldsoption for lots oflistandgetcommands
- Enhanced expression parsing for
morpheus shell. Parenthesis can be used in conjuction with operators. eg.(whoami || login) && (instances list -m 5; hosts list -m 5)
- Updated
clouds listsupports more standard options - Updated
clouds getsupports multiple arguments - Updated
clouds addandclouds updateto support the--payloadoption.
- Fix issue with
clouds addnot including the defaultconfig.certificateProvidervalue, which the 3.3.2 api (incorrectly) requires.
-
instances addhas new options--name,--create-userand--user-group -
instances adduses--create-user=onby default -
instances addwill combine options on top of--payload
- Improved commands
workflowsandtasks - New commands
edit-profileandedit-rc - Removed
--json-rawfrom help output.
- Fix issue with
library-file-template add --file.
-
morpheusnow parses pipe|input as command arguments. eg.cat my_host_ids.txt | morpheus instances get
- New commands
library-*to replace oldlibrarycommand - New command
user-sources - Improved option
-F --fields. You can now use fieldas Labeleg.--fields "id,name,plan.id as planId" - New option
-Q --queryfor severallistcommands. This allows filtering with arbitrary query params. -
shellnow supports simple use of||and&&operators - New option
shell -efor executing shell scripts - New option
shell -Zfor Incognito mode - New utility commands
edit-profileandedit-rcandsleep
- New commands
monitor-groups,monitor-groups - Renamed command
checkstomonitor-checks - Renamed
incidentstomonitor-incidents - New command
user-groups - New command
users passwd - Updated
userscommands to support--payloadoptions
- New command
storage-providers - New command
networks,network-groups,network-pools, and others - New option
--payload FILEand--payload-json JSONforinstances add
- Fix issue with
instances addshowing details after provisioning.
- Changed format of command
instances add. The old format ofinstance add [type] [name]is deprecated. The new format isinstances add [name] -t TYPE - Updated command
instances addfor 3.0 - Updated command
app-templatesfor 3.0 - Updated command
appsfor 3.0 - New command
image-builder - New command
archives
-
virtual-imagescommand uploads without multipart.
-
roles update-feature-accessshould allow any access value eg. 'user' or 'view'
- Fix issue with
remote setup --insecure
- IP Address (optional) when using networks with IP Pools or DHCP.
- Fix issues with
remote add --insecureandshell --insecure
- New options for
instances add. Automation inputs such as workflow, shutdown days, create backups, metadata. - New command
recent-activity
- New command
containers action|actions|get|reject|restart|start|stop|suspend - New command
instances containersandinstances get --containers - New command
instances scalingandinstances --scaling - New command
instances scaling-update - New command
instances action|actions
- Fix
load-balancers add - Fix issue with Virtual Image prompt being optional when provisioning a private image.
- Fix issue with whoami --remote
- Improved
remotecommands. Addedremote get,remote check. Remote appliance status and session activity can now be seen. - New command
incidentsfor managing monitoring incidents. - New command
checksfor managing monitoring checks. - New options
--csvand--fields. Only available forhostsandinstancesat the moment. - New commands
library option-typesandlibrary option-lists - New command
whoami -tto print your access token only. - New command
curlfor adhoc api testing. - New command
manfor viewing the CLI-Manual. - Formatting changes for Details output, aligned and right justified labels.
- Formatting changes for
--helpoutput.
- Fixed missing command
instances logs - Errors are now written to STDERR.
- Network Domain selection during instance and server provisioning
- Fix error seen when $HOME/.morpheus directory does not exist yet.
- Fix bug with
aliasnot being available right away within a shell - Fix some behavior with the shell's
history,!!!commands
- Proper
.morpheusrcfile support for the shell. You can put any morpheus command in here now. - Support for
.morpheus_profileand disabling it with the--noprofileoption. - Aliases need to be exported with
-eoralias export, which stores them in the .morpheus_profile file. - new script commands: source, echo, ssl-verification, coloring, log-level
- The
--debugoption now prints every API request that morpheus makes, and http response code. You can also turn this on all the time automatically in your .morpheus_profile withlog-level debug - Added
hosts make-managed
- Fix a bug seen with Azure provisioning.
- Fix
shell --insecurenot working - Fix
hosts upgrade-agent - Fix
instances clone
- Renamed the subcommand
detailstogetfor all commands. Usehosts get "myhost"instead ofhosts details "myhost" - Prettier usage stats for
instances get,hosts getandapps get - Display more information about
groupsandcloudse.g. Clouds assigned to group, # of Hosts - Added
groups add-cloudandgroups remove-cloudfor managing which clouds are assigned to a group - Added new
instancescommandssuspend,eject,consoleandstatus-check - Environment Variable configuration for
instances add - New options
--copiesand--layout-sizeforinstances add - Description, Environment, Tags options for
instances add - Added
remote setupto Setup New Appliance - Support for the
-r--remoteoption on just about every command - Added
virtual-imagescommand for Virtual Image management - Better Morpheus Shell performance and functionality
- Added Morpheus Alias
- Improved option parsing for all commands. e.g. [name] argument may appear before or after option switches
- Improved help documentation for all commands
- Make
listthe default subcommand for many commands. Nowhostscan be used in place ofhosts list. This is experimental, and may be removed in 2.10.2