Commit Graph

3 Commits

Author SHA1 Message Date
Dmitry Bogun 7468264200 New communication interface with bareon instance
Set of tools that represent some sort of API to communicate with bareon
instance. This API use vendor_passthru ironic API to "catch" request
from bareon instance to ironic API. So bareon-ironic driver can receive
bareon insnstance requests. This is existing communication channel.

Before it was used to receive notification from bareon instance about
successfull node load.

Now this channel is extended to send "generic" tasks(step) from
bareon-ironic driver to bareon instance. Right now only one task(step)
is used - step to inject SSH key into bareon instance.

This new "steps" interface allow to refuse from preinstalled SSH key
in bareon instance, right now. And in future it allow to refuse from SSH
communication between bareon-ironic and bareon instance...

Change-Id: I0791807c7cb3dba70c71c4f46e5eddf01da76cdd
2017-02-28 16:06:57 +02:00
Dmitry Bogun 5c79e69521 FIX dashes usage in image names
Image names stored into deployment config are looses dash characters
during preparation of deployment config on node boot. This is not
desired behaviour. And now it is fixed.

Change-Id: If188b53160ffbad664b1505373edf3ee0fb14bd7
2016-12-13 17:48:50 +02:00
Dmitry Bogun 3c8941ffbe Reimplement SSH port forwarding
New implementation adds verification of created port forwarding. Also it
produce detailed error reporting including verbose output from ssh
process.

Change-Id: I8841e89cf7e78fad0f99e05d1d83a73cc253d05b
Closes-Bug: #1644835
2016-12-08 12:42:01 +02:00