*** ociuhandu has joined #openstack-ironic | 00:34 | |
*** ociuhandu has quit IRC | 00:38 | |
*** gyee has quit IRC | 02:11 | |
*** iurygregory has quit IRC | 02:22 | |
*** Goneri has quit IRC | 02:59 | |
*** rh-jelabarre has quit IRC | 03:16 | |
*** k_mouza has joined #openstack-ironic | 03:32 | |
*** k_mouza has quit IRC | 03:36 | |
*** diurnalist has joined #openstack-ironic | 04:32 | |
*** diurnalist has quit IRC | 05:30 | |
*** k_mouza has joined #openstack-ironic | 05:33 | |
*** k_mouza has quit IRC | 05:37 | |
*** diurnalist has joined #openstack-ironic | 06:10 | |
openstackgerrit | Dmitry Tantsur proposed openstack/ironic-python-agent stable/ussuri: set EVENTLET_NO_GREENDNS to 'yes' https://review.opendev.org/744279 | 08:37 |
---|---|---|
*** Lucas_Gray has joined #openstack-ironic | 11:17 | |
*** k_mouza has joined #openstack-ironic | 11:31 | |
*** k_mouza has quit IRC | 11:36 | |
*** Lucas_Gray has quit IRC | 12:08 | |
*** Wryhder has joined #openstack-ironic | 12:08 | |
*** Wryhder is now known as Lucas_Gray | 12:09 | |
*** iurygregory has joined #openstack-ironic | 12:27 | |
*** ociuhandu has joined #openstack-ironic | 13:56 | |
*** dsneddon has quit IRC | 14:06 | |
*** diurnalist has quit IRC | 14:10 | |
*** diurnalist has joined #openstack-ironic | 14:15 | |
*** ociuhandu has quit IRC | 14:22 | |
*** ociuhandu has joined #openstack-ironic | 14:52 | |
*** ociuhandu has quit IRC | 14:56 | |
*** ociuhandu has joined #openstack-ironic | 15:00 | |
*** ociuhandu has quit IRC | 15:02 | |
*** Zempashi has joined #openstack-ironic | 15:22 | |
*** Zempashi has quit IRC | 15:34 | |
*** akahat|PTO is now known as akahat | 16:05 | |
*** mkrai has joined #openstack-ironic | 16:35 | |
*** Goneri has joined #openstack-ironic | 16:51 | |
dking | I'm attempting to curl http://localhost:6385/v1/nodes?fields=uuid, but I get a 406. The api logs show "The policy file policy.json could not be found.", but then shows 'oslo_policy.policy...enforce: rule="is_admin"' just before reporting "wsme.api...Client-side error: Request not acceptable. format_exception" Which issue should I be looking at? | 17:03 |
dking | Request and logs: http://paste.openstack.org/show/796511/ | 17:03 |
*** ociuhandu has joined #openstack-ironic | 17:14 | |
openstackgerrit | Merged openstack/sushy-cli master: Update version of hacking https://review.opendev.org/743963 | 17:22 |
*** ociuhandu has quit IRC | 17:25 | |
*** ociuhandu has joined #openstack-ironic | 17:26 | |
openstackgerrit | Merged openstack/virtualbmc master: Correct vmbc add command https://review.opendev.org/744025 | 17:26 |
*** Lucas_Gray has quit IRC | 17:29 | |
*** ociuhandu has quit IRC | 17:31 | |
*** mkrai has quit IRC | 17:32 | |
TheJulia | dking: sounds like your using an older version | 18:23 |
dking | TheJulia: I was doing pip install on code pulled with "git clone https://opendev.org/openstack/ironic --branch stable/ussuri" | 18:24 |
TheJulia | okay, and you've disabled authentication in your ironic.conf? | 18:25 |
dking | Is that "auth_strategy = noauth"? I also have "auth_type = none" for the other sections: inspector, service_catalog, and json_rpc. | 18:27 |
TheJulia | dking: yes | 18:27 |
TheJulia | so, auth is a red herring it seems | 18:27 |
TheJulia | your not passing an api version when your asking for the fields | 18:28 |
TheJulia | basically field support takes version 1.8, but the server can only assume your a 1.0 client | 18:28 |
dking | It's a bit crazy because I can see that at an interval, there's similar logs for some other call, also from 127.0.0.1, which give a 200. The difference seems to be that the failing attempts generate this entry while the others don't: DEBUG wsme.api ... Client-side error: Request not acceptable. format_exception /usr/local/lib/python3.6/site-packages/wsme/api.py:223 | 18:29 |
dking | oh. So, I need to be sending that in a parameter? | 18:29 |
dking | Ah. X-OpenStack-Ironic-API-Version ? I see that in the documentation now. I skipped right over it. | 18:30 |
TheJulia | You need to add the X-OpenStack-Ironic-API-Version header | 18:30 |
TheJulia | yes | 18:30 |
dking | Well, that explains it, and it explains why it seems to work for the CLI. | 18:32 |
dking | Where would I have found the 1.8 number? | 18:32 |
*** ociuhandu has joined #openstack-ironic | 19:01 | |
*** dsneddon has joined #openstack-ironic | 19:01 | |
*** ociuhandu has quit IRC | 19:05 | |
*** dsneddon has quit IRC | 19:06 | |
*** k_mouza has joined #openstack-ironic | 19:07 | |
*** k_mouza has quit IRC | 19:20 | |
*** diurnalist has quit IRC | 19:56 | |
*** Zempashi has joined #openstack-ironic | 20:02 | |
*** diurnalist has joined #openstack-ironic | 20:11 | |
*** diurnalist has quit IRC | 20:19 | |
*** diurnalist has joined #openstack-ironic | 20:50 | |
*** ociuhandu has joined #openstack-ironic | 20:54 | |
*** diurnalist has quit IRC | 21:04 | |
*** ociuhandu has quit IRC | 21:05 | |
*** diurnalist has joined #openstack-ironic | 21:34 | |
*** Zempashi has quit IRC | 21:39 | |
TheJulia | dking: in the api documentation, https://docs.openstack.org/api-ref/baremetal/?expanded=list-nodes-detail#list-nodes | 22:09 |
TheJulia | for example | 22:09 |
*** diurnalist has quit IRC | 23:43 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!