Running conjure-up from edge channel for canonical-kubernetes spell gave the following error while executing a kubectl command to create a storage class in the addon after-deploy script.
Error from server (InternalError): an error on the server ("\r\n<title>502 Bad Gateway</title>\r\n<body bgcolor="white">\r\n
502 Bad Gateway
\r\n
nginx/1.10.3 (Ubuntu)\r\n\r\n") has prevented the request from succeeding
the same command execute fine on the command line.