Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
ciao-launcher: Log volumes received in start payload
Browse files Browse the repository at this point in the history
When launcher receives a start payload it dumps the contents of this
payload to the logs to aid debugging.  This commit adds the volumes
associated with a workload to the dump.

Signed-off-by: Mark Ryan <[email protected]>
  • Loading branch information
Mark Ryan committed Sep 15, 2016
1 parent aba2a3f commit 4f0d6d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ciao-launcher/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ func printCloudinit(data *payloads.Start) {
glog.Infof("%8s: %v", start.RequestedResources[i].Type,
start.RequestedResources[i].Value)
}

if start.Storage.ID != "" {
glog.Info("Volumes:")
glog.Infof(" %s Bootable=%t", start.Storage.ID, start.Storage.Bootable)
}
}

func computeSSHPort(networkNode bool, vnicIP string) int {
Expand Down

0 comments on commit 4f0d6d3

Please sign in to comment.