You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/03/26 14:43:56 UTC

[GitHub] ScottChapman commented on issue #819: wsk deploy not picking up new target

ScottChapman commented on issue #819: wsk deploy not picking up new target
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/819#issuecomment-376190885
 
 
   And then it magically worked... Here is the entire transcript:
   
   > SECMacbookPro:Weather scottchapman$ wskdeploy
   > Info: The API host is [openwhisk.ng.bluemix.net], from .wskprops.
   > Info: The auth key is set, from .wskprops.
   > Info: The namespace is [_], from .wskprops.
   > Info: The apigw access token is set, from .wskprops.
   > Info: Unmarshal OpenWhisk runtimes from internet at https://openwhisk.ng.bluemix.net.
   > Warning: The mandatory key [package version] should be set. Using default value [0.0.1]...
   > Warning: The value for key [package version] is not saved in the current version of wskdeploy.
   > Warning: The mandatory key [package license] should be set. Using default value [unlicensed]...
   > Warning: The value for key [package version] is not saved in the current version of wskdeploy.
   > Info: Deploying package [Forcast] ...
   > Info: package [Forcast] has been successfully deployed.
   > 
   > Info: Deploying action [Forcast/WeatherForcast] ...
   > Info: action [Forcast/WeatherForcast] has been successfully deployed.
   > 
   > Info: Deploying action [Forcast/ForcastSequence] ...
   > Info: action [Forcast/ForcastSequence] has been successfully deployed.
   > 
   > Info: Deploying rule [WeatherRule] ...
   > Info: rule [WeatherRule] has been successfully deployed.
   > 
   > Success: Deployment completed successfully.
   > SECMacbookPro:Weather scottchapman$ bx wsk list
   > Entities in namespace: default
   > packages
   > actions
   > triggers
   > rules
   > SECMacbookPro:Weather scottchapman$ bx target
   > 
   >                      
   > API endpoint:     https://api.ng.bluemix.net (API version: 2.92.0)   
   > Region:           us-south   
   > User:             scottchapman@us.ibm.com   
   > Account:          Scott Chapman's Account (5f9ee7865987611d27bd95c03e4b0ced)   
   > Resource group:   default   
   > Org:              scottchapman@us.ibm.com   
   > Space:            Weather   
   > SECMacbookPro:Weather scottchapman$ env | grep OW
   > SECMacbookPro:Weather scottchapman$ wskdeploy undeploy
   > Info: The API host is [openwhisk.ng.bluemix.net], from .wskprops.
   > Info: The auth key is set, from .wskprops.
   > Info: The namespace is [_], from .wskprops.
   > Info: The apigw access token is set, from .wskprops.
   > Info: Unmarshal OpenWhisk runtimes from internet at https://openwhisk.ng.bluemix.net.
   > Warning: The mandatory key [package version] should be set. Using default value [0.0.1]...
   > Warning: The value for key [package version] is not saved in the current version of wskdeploy.
   > Warning: The mandatory key [package license] should be set. Using default value [unlicensed]...
   > Warning: The value for key [package version] is not saved in the current version of wskdeploy.
   > Info: Undeploying rule [WeatherRule]...
   > Error: Undeployment did not complete sucessfully.
   > Error: servicedeployer.go [1580]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 148: The requested resource does not exist. (code 9821971): HTTP Response Status: 404 Not Found HTTP Response Body: {"error":"The requested resource does not exist.","code":9821971}
   > SECMacbookPro:Weather scottchapman$ wskdeploy
   > Info: The API host is [openwhisk.ng.bluemix.net], from .wskprops.
   > Info: The auth key is set, from .wskprops.
   > Info: The namespace is [_], from .wskprops.
   > Info: The apigw access token is set, from .wskprops.
   > Info: Unmarshal OpenWhisk runtimes from internet at https://openwhisk.ng.bluemix.net.
   > Warning: The mandatory key [package version] should be set. Using default value [0.0.1]...
   > Warning: The value for key [package version] is not saved in the current version of wskdeploy.
   > Warning: The mandatory key [package license] should be set. Using default value [unlicensed]...
   > Warning: The value for key [package version] is not saved in the current version of wskdeploy.
   > Info: Deploying package [Forcast] ...
   > Info: package [Forcast] has been successfully deployed.
   > 
   > Info: Deploying action [Forcast/WeatherForcast] ...
   > Info: action [Forcast/WeatherForcast] has been successfully deployed.
   > 
   > Info: Deploying action [Forcast/ForcastSequence] ...
   > Error: Deployment did not complete sucessfully. Run `wskdeploy undeploy` to remove partially deployed assets.
   > Error: servicedeployer.go [1580]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 148: The requested resource does not exist. (code 9822263): HTTP Response Status: 404 Not Found HTTP Response Body: {"error":"The requested resource does not exist.","code":9822263}
   > SECMacbookPro:Weather scottchapman$ bx wsk list
   > Entities in namespace: default
   > packages
   > /scottchapman@us.ibm.com_Weather/Forcast                               private
   > /scottchapman@us.ibm.com_Weather/Bluemix_WeatherCompany_Credentials    private
   > actions
   > /scottchapman@us.ibm.com_Weather/Forcast/WeatherForcast                private nodejs:8
   > triggers
   > rules

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services