)]}'
{"roles/airshipctl-deploy-ephemeral-node/tasks/main.yml":[{"author":{"_account_id":7185,"name":"Dmitry Ukov","email":"dukov@mirantis.com","username":"dukov"},"change_message_id":"b2deb7e334d91467b56baa4524eb26a5e2ccdc0a","unresolved":false,"context_lines":[{"line_number":10,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":11,"context_line":"# limitations under the License."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"- name: query redfish to get all available redfish systems"},{"line_number":14,"context_line":"  uri:"},{"line_number":15,"context_line":"    url: http://localhost:8000/redfish/v1/Systems?format\u003djson"},{"line_number":16,"context_line":"    method: GET"},{"line_number":17,"context_line":"    return_content: yes"},{"line_number":18,"context_line":"  register: redfish_response"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- name: save redfish systems to list"},{"line_number":21,"context_line":"  uri:"},{"line_number":22,"context_line":"    url: \"http://localhost:8000{{ item.value }}?format\u003djson\""},{"line_number":23,"context_line":"    method: GET"},{"line_number":24,"context_line":"    return_content: yes"},{"line_number":25,"context_line":"  with_dict: \"{{ redfish_response.json.Members }}\""},{"line_number":26,"context_line":"  register: redfish_systems_details"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"- name: set ephemeral system id"},{"line_number":29,"context_line":"  set_fact:"},{"line_number":30,"context_line":"    ephemeral_system_id: \"{{ redfish_systems_details | json_query(query_string) | join(\u0027\u0027) }}\""},{"line_number":31,"context_line":"  vars:"},{"line_number":32,"context_line":"    query_string: \"results[?json.Name\u003d\u003d\u0027air-ephemeral\u0027].json.Id\""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"- name: debug ephemeral id"},{"line_number":35,"context_line":"  debug:"},{"line_number":36,"context_line":"    var: ephemeral_system_id"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"- name: deploy ephemeral node using redfish"},{"line_number":39,"context_line":"  command: \u003e-"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3fa7e38b_01eeb6b5","line":36,"range":{"start_line":13,"start_character":0,"end_line":36,"end_character":28},"updated":"2020-02-05 06:01:17.000000000","message":"we can retrieve system id by executing\n\u0027virsh domuuid \u003cdoimain\u003e\u0027\n\nIdeally we should generate domain with predefined uuid","commit_id":"897252e7bca4cb0c4558c139f15f392b7f1329cd"},{"author":{"_account_id":21991,"name":"Kostyantyn Kalynovskyi","email":"kkalinovskiy@gmail.com","username":"kkalynovskyi"},"change_message_id":"73d21992b7da0d50b324b33c0bf1fc592341128f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":11,"context_line":"# limitations under the License."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"- name: query redfish to get all available redfish systems"},{"line_number":14,"context_line":"  uri:"},{"line_number":15,"context_line":"    url: http://localhost:8000/redfish/v1/Systems?format\u003djson"},{"line_number":16,"context_line":"    method: GET"},{"line_number":17,"context_line":"    return_content: yes"},{"line_number":18,"context_line":"  register: redfish_response"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- name: save redfish systems to list"},{"line_number":21,"context_line":"  uri:"},{"line_number":22,"context_line":"    url: \"http://localhost:8000{{ item.value }}?format\u003djson\""},{"line_number":23,"context_line":"    method: GET"},{"line_number":24,"context_line":"    return_content: yes"},{"line_number":25,"context_line":"  with_dict: \"{{ redfish_response.json.Members }}\""},{"line_number":26,"context_line":"  register: redfish_systems_details"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"- name: set ephemeral system id"},{"line_number":29,"context_line":"  set_fact:"},{"line_number":30,"context_line":"    ephemeral_system_id: \"{{ redfish_systems_details | json_query(query_string) | join(\u0027\u0027) }}\""},{"line_number":31,"context_line":"  vars:"},{"line_number":32,"context_line":"    query_string: \"results[?json.Name\u003d\u003d\u0027air-ephemeral\u0027].json.Id\""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"- name: debug ephemeral id"},{"line_number":35,"context_line":"  debug:"},{"line_number":36,"context_line":"    var: ephemeral_system_id"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"- name: deploy ephemeral node using redfish"},{"line_number":39,"context_line":"  command: \u003e-"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3fa7e38b_61c0cafa","line":36,"range":{"start_line":13,"start_character":0,"end_line":36,"end_character":28},"in_reply_to":"3fa7e38b_01eeb6b5","updated":"2020-02-05 06:21:17.000000000","message":"this was an option, but i was hoping, that at some point of gating process we may have real bare metal server to run against. So i thought i would abstract from using virsh in this role. Knowing uuid indeed makes thinks less complicated. i\u0027ll take a look into it","commit_id":"897252e7bca4cb0c4558c139f15f392b7f1329cd"},{"author":{"_account_id":7769,"name":"Pentheus","display_name":"Alan Meadows","email":"alan.meadows@gmail.com","username":"alanmeadows"},"change_message_id":"ef4cea5aa8fbc4f7edf78bda7052f406e30c6323","unresolved":false,"context_lines":[{"line_number":10,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":11,"context_line":"# limitations under the License."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"- name: set ephemeral node id with virsh provider"},{"line_number":14,"context_line":"  block:"},{"line_number":15,"context_line":"    - name: query ephemeral system id"},{"line_number":16,"context_line":"      command: virsh domuuid {{ ephemeral_node_name }}"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"3fa7e38b_4b78d9f5","line":13,"updated":"2020-02-12 14:17:06.000000000","message":"Instead of discovering this, is it not possible for us to define the uuid to some known value, for instance, domuuid \u003d\u003d hostname at the time we create/define the VM.  I ask this because it would be useful to be able to define BareMetalHost Redfish BMC URLs for all test hosts up front given sushy wants to have the domuuid in the url.   If the domuuid is always the hostname of the node, they become static and won\u0027t require we come back and modify the test node definitions with proper URLs to support subsequent airshipctl calls that may interact with redfish.","commit_id":"c47080111e6de23b41cf85229ceac745e21d48de"},{"author":{"_account_id":7769,"name":"Pentheus","display_name":"Alan Meadows","email":"alan.meadows@gmail.com","username":"alanmeadows"},"change_message_id":"e047a789dc4ab0caacbd7ca0c9a2143b0b00ac72","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"- name: deploy ephemeral node using redfish"},{"line_number":33,"context_line":"  command: \u003e-"},{"line_number":34,"context_line":"    airshipctl bootstrap remotedirect \\"},{"line_number":35,"context_line":"    --eph-node-id {{ ephemeral_system_id }} \\"},{"line_number":36,"context_line":"    --iso-path http://localhost:{{ serve_port }}/debian-custom.iso \\"},{"line_number":37,"context_line":"    --remote-type redfish \\"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"3fa7e38b_b728c77e","line":34,"updated":"2020-02-12 19:24:12.000000000","message":"Doesn\u0027t this need to be updated to reflect the current implementation of remotedirect? \n\nhttps://review.opendev.org/#/c/705890/8/cmd/bootstrap/bootstrap_remotedirect.go","commit_id":"c47080111e6de23b41cf85229ceac745e21d48de"}],"zuul.d/jobs.yaml":[{"author":{"_account_id":22477,"name":"Matt McEuen","email":"matt.mceuen@att.com","username":"mattmceuen"},"change_message_id":"f2ebdd9356f628c4affece2a423237647ed529a3","unresolved":false,"context_lines":[{"line_number":43,"context_line":"      - zuul: openstack/openstack-helm-infra"},{"line_number":44,"context_line":"    pre-run:"},{"line_number":45,"context_line":"      - playbooks/airship-airshipctl-deploy-docker.yaml"},{"line_number":46,"context_line":"      - playbooks/airship-airshipctl-build-gate.yml"},{"line_number":47,"context_line":"    run: playbooks/airship-airshipctl-test-runner.yml"},{"line_number":48,"context_line":"    post-run: playbooks/airship-collect-logs.yml"},{"line_number":49,"context_line":"    nodeset: airship-airshipctl-single-16GB-bionic-node"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"3fa7e38b_bd826801","line":46,"updated":"2020-02-20 22:54:37.000000000","message":"Can we use .yaml consistently?","commit_id":"76bc70ee040674a311c7a250095df4e5eeedd79c"}]}
