Skip to content

Conversation

@haoziwu
Copy link

@haoziwu haoziwu commented Jul 14, 2022

There is no interfaces in baremetal v1 for volume connectors and targets, while volume connectors and targets setting is necessary when baremetal is boot from remote volume, so we should add some volume client api in baremetal v1 directory.
In the process of adding these apis, in unit test i find when i use ExtractInto function in results.go to json.unmarshal pagination.LinkedPageBase.PageResult body to some structure, it will throw exception like "json: cannot unmarshal string into Go value of type map[string]interface {}" , when i change codes of ExtractInto in results.go, the exception will disappear.
image

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for submitting your first PR! Be sure that we will be looking at it but keep in mind
this sometimes takes a while.
Please let the maintainers know if your PR has not got enough attention after a few days.
If any doubt, please consult our PR tutorial.

@coveralls
Copy link

coveralls commented Jul 14, 2022

Coverage Status

Coverage increased (+0.09%) to 80.073% when pulling 2111cd8 on haoziwu:bm-volume into 88a43e2 on gophercloud:master.

@EmilienM
Copy link
Contributor

@haoziwu could you please write a PR message like it's documented and also include acceptance tests, so your code will be exercised in our CI:
https://github.com/gophercloud/gophercloud/blob/master/docs/contributor-tutorial/step-05-pull-requests.md#what-to-include-in-a-pull-request

Thanks a lot for your contribution and let us know if you need help/support

@haoziwu
Copy link
Author

haoziwu commented Aug 15, 2022

@haoziwu could you please write a PR message like it's documented and also include acceptance tests, so your code will be exercised in our CI: https://github.com/gophercloud/gophercloud/blob/master/docs/contributor-tutorial/step-05-pull-requests.md#what-to-include-in-a-pull-request

Thanks a lot for your contribution and let us know if you need help/support

@haoziwu could you please write a PR message like it's documented and also include acceptance tests, so your code will be exercised in our CI: https://github.com/gophercloud/gophercloud/blob/master/docs/contributor-tutorial/step-05-pull-requests.md#what-to-include-in-a-pull-request

Thanks a lot for your contribution and let us know if you need help/support

@EmilienM hi, i write acceptance test codes and test them in my real openstack environment, all acceptance test case and unit test case which i newly add pass, but in this PR submit environment, it always can not pass, i really do not know what to do next.

@haoziwu
Copy link
Author

haoziwu commented Aug 15, 2022

@haoziwu could you please write a PR message like it's documented and also include acceptance tests, so your code will be exercised in our CI: https://github.com/gophercloud/gophercloud/blob/master/docs/contributor-tutorial/step-05-pull-requests.md#what-to-include-in-a-pull-request
Thanks a lot for your contribution and let us know if you need help/support

@haoziwu could you please write a PR message like it's documented and also include acceptance tests, so your code will be exercised in our CI: https://github.com/gophercloud/gophercloud/blob/master/docs/contributor-tutorial/step-05-pull-requests.md#what-to-include-in-a-pull-request
Thanks a lot for your contribution and let us know if you need help/support

@EmilienM hi, i write acceptance test codes and test them in my real openstack environment, all acceptance test case and unit test case which i newly add pass, but in this PR submit environment, it always can not pass, i really do not know what to do next.

@EmilienM here is the openstack baremetal volume api reference, https://docs.openstack.org/api-ref/baremetal/?expanded=create-volume-target-detail,show-volume-target-details-detail

haoziwu pushed a commit to haoziwu/baremetal-operator that referenced this pull request Aug 16, 2022
…ophercloud/gophercloud#2436 , and put them in the same directory with this baremetal-operator
@mandre
Copy link
Contributor

mandre commented Aug 22, 2022

@EmilienM hi, i write acceptance test codes and test them in my real openstack environment, all acceptance test case and unit test case which i newly add pass, but in this PR submit environment, it always can not pass, i really do not know what to do next.

The baremetal ussuri and train jobs are broken due to virtualbmc's removal of python 3.6 support. I have submitted patches to ironic to fix the devstack installation but these patches have stalled.

See #2439 for details.

@EmilienM
Copy link
Contributor

EmilienM commented Oct 7, 2022

I wanted to re-run the tests but I think this needs a rebase. Please rebase and let's see how tests work now.
Thanks

@haoziwu
Copy link
Author

haoziwu commented Oct 17, 2022

@EmilienM hello, i make a new branch for your test: https://github.com/haoziwu/gophercloud/tree/bmvolume-test

Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
@github-actions github-actions bot added edit:baremetal This PR updates baremetal code edit:gophercloud This PR updates common Gophercloud code labels Sep 17, 2025
@github-actions
Copy link

Failed to assess the semver bump. See logs for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

edit:baremetal This PR updates baremetal code edit:gophercloud This PR updates common Gophercloud code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants