node-group probe-and-enlist-hardware model=vmware does not return errors

Bug #1511794 reported by Chad Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
High
Unassigned

Bug Description

probe-and-enlist-hardware does not surface an error exit code when the enlistment fails due to invalid credentials or invalid host.

# Use invalid vmware workstation host IP 192.168.2.7
$ maas admin node-group probe-and-enlist <clusterID> model=vmware accept_all=true prefix_filter=cloud username=csmith password=<valid_password> host=192.168.2.7
Success.
Machine-readable output follows:

# Use valid vmware workstation host IP 192.168.2.75 and invalid credentials
$ maas admin node-group probe-and-enlist <clusterID> model=vmware accept_all=true prefix_filter=cloud username=junk password=<valid_password> host=192.168.2.5
Success.
Machine-readable output follows:

# Maas logs

# packages
ii maas 1.8.2+bzr4041-0ubunt all MAAS server all-in-one metapackage
ii maas-cli 1.8.2+bzr4041-0ubunt all MAAS command line API tool
ii maas-cluster-controller 1.8.2+bzr4041-0ubunt all MAAS server cluster controller
ii maas-common 1.8.2+bzr4041-0ubunt all MAAS server common files
ii maas-dhcp 1.8.2+bzr4041-0ubunt all MAAS DHCP server
ii maas-dns 1.8.2+bzr4041-0ubunt all MAAS DNS server
ii maas-proxy 1.8.2+bzr4041-0ubunt all MAAS Caching Proxy
ii maas-region-controller 1.8.2+bzr4041-0ubunt all MAAS server complete region controller
ii maas-region-controller-min 1.8.2+bzr4041-0ubunt all MAAS Server minimum region controller
ii python-django-maas 1.8.2+bzr4041-0ubunt all MAAS server Django web framework
ii python-maas-client 1.8.2+bzr4041-0ubunt all MAAS python API client
ii python-maas-provisioningserver 1.8.2+bzr4041-0ubunt all MAAS server provisioning libraries

Tags: landscape
Revision history for this message
Chad Smith (chad.smith) wrote :
Chad Smith (chad.smith)
tags: added: kanban-cross-team
tags: removed: kanban-cross-team
Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.9.0
Changed in maas:
milestone: 1.9.0 → 1.9.1
Changed in maas:
milestone: 1.9.1 → 1.9.2
Changed in maas:
milestone: 1.9.2 → 1.9.3
Changed in maas:
milestone: 1.9.3 → 1.9.4
Changed in maas:
milestone: 1.9.4 → 1.9.5
Revision history for this message
Andres Rodriguez (andreserl) wrote :

We believe that this is not longer an issue in the latest releases of MAAS. If you believe this is still an issue, please re-open this bug report and target it accordingly.

Changed in maas:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.