Comment 1 for bug 1746073

Revision history for this message
Ivan Hitos (ivanhitos) wrote :

I've checked the juju code. We would need to run something similar to 'openstack boot'. The juju code uses a nova client from gopkg.in [1]. The only function, I saw available looks to be the one that juju code uses[2]. This function is 'RunServer'[3]. It accepts different sort of options [4], and none of them seem to be helpful here,they are more related to 'openstack server create' command. I've read the nova client API from GoPkg and couldn't find what we need.

[1] Nova client API: https://godoc.org/gopkg.in/goose.v2/nova
[2] https://github.com/wallyworld/juju-snap/blob/master/provider/openstack/provider.go#L986
[3] https://godoc.org/gopkg.in/goose.v2/nova#Client.RunServer
[4] https://godoc.org/gopkg.in/goose.v2/nova#RunServerOpts