ladrua | Anyone? I’m getting error when using cli to try to list flavors | 02:21 |
---|---|---|
ladrua | trove.common.wsgi [-] 67881848-3ad4-4d68-9ff3-c2f24b39b6bd: Invalid input for field identity/password/user: id or name must be present. | 02:21 |
ladrua | trove datastore-list and trove datastore-version-list works | 02:22 |
lxkong | ladrua: first, please use openstack CLI instead of trove. | 02:30 |
lxkong | Second, Trove doesn't support Flavor API any more | 02:30 |
lxkong | you should talk to Nova for flavor information | 02:30 |
ladrua | Ok, thanks. I initially tried to follow lates docs: https://docs.openstack.org/trove/latest/admin/building_guest_images.html then tried picking up some pieces here and there. | 02:31 |
ladrua | But should I not create a flavour with trove-manage command? | 02:32 |
ladrua | trove-manage datastore_version_flavor_add mysql 5.7.29 4 | 02:32 |
ladrua | Is what I’ve tried | 02:33 |
lxkong | `datastore_version_flavor_add ` is not creating flavors | 02:33 |
ladrua | so when you say dont use trove cli, do you also mean I shouldnt use trove-manage ? | 02:33 |
lxkong | just defines which flavors a datastore version supports | 02:33 |
ladrua | No, but I thought I had to link a existing nova flavor to a datastore version | 02:34 |
lxkong | `trove-manage` is is CLI for trove datastore management, not identical to `trove` CLI | 02:34 |
lxkong | `datastore_version_flavor_add ` is not necessary | 02:35 |
lxkong | ladrua: which doc are you following? | 02:35 |
lxkong | https://docs.openstack.org/trove/latest/admin/building_guest_images.html doesn't mention flavor | 02:35 |
ladrua | I guess I found some older docs | 02:36 |
ladrua | https://docs.openstack.org/mitaka/cli-reference/trove-manage.html | 02:36 |
lxkong | yes, you did | 02:37 |
lxkong | Trove has been changed a lot since the last two dev cycles | 02:37 |
ladrua | Still root cause for searching for more docs was same error as mentioned above, when entering Horizon. Horizon UI says “Unable to retrive database instances” | 02:38 |
ladrua | and log file says trove.common.wsgi [-] 67881848-3ad4-4d68-9ff3-c2f24b39b6bd: Invalid input for field identity/password/user: id or name must be present. | 02:39 |
lxkong | which Trove version have you deployed? | 02:39 |
ladrua | I deployed it with Kolla with openstack Ussuri | 02:41 |
lxkong | Trove Horizin plugin is broken I guess, it's not actively maintained. | 02:41 |
lxkong | lack of contributor, you know | 02:42 |
ladrua | ok.. | 02:42 |
ladrua | I see | 02:42 |
lxkong | The server side should be OK | 02:42 |
lxkong | and python-troveclient is up to date | 02:42 |
ladrua | I will then try a bit more with the cli and see if I get up and running | 02:42 |
ladrua | Thanks a log for the info | 02:43 |
ladrua | *lot | 02:43 |
ladrua | :) | 02:43 |
lxkong | np, please let me know if you have other questions | 02:43 |
ladrua | Much appreciated | 02:43 |
ladrua | I get same error when using openstack cli | 03:00 |
ladrua | openstack database instance create mysql_instance_1 3 --size 10 --nic net-id=d403cf4a-e9a9-4511-ac76-2fac98d97ca9 --databases test --users user:password --datastore mysql --datastore_version 5.7.29 --is-public | 03:04 |
ladrua | trove.common.wsgi [-] d1239986-c766-4866-bd77-225e99ec57c5: Invalid input for field identity/password/user: id or name must be present | 03:05 |
ladrua | One thing I notce is that in my creation of datastore, I did not include the “--config-file=/etc/trove/trove.conf” parameter | 03:08 |
ladrua | as described here: https://docs.openstack.org/trove/latest/admin/datastore.html | 03:08 |
ladrua | That might be important … :D | 03:09 |
ladrua | Nah, did not help. Same error… | 03:27 |
ladrua | lxkong: any other pointers? | 03:42 |
*** tosky has joined #openstack-trove | 06:32 | |
*** congnt96 has joined #openstack-trove | 07:06 | |
*** rcernin has quit IRC | 07:32 | |
*** congnt96 has quit IRC | 08:14 | |
*** rcernin has joined #openstack-trove | 08:29 | |
*** rcernin has quit IRC | 08:34 | |
lxkong | `Invalid input for field identity/password/user: id or name must be present` the error log is weird, I've never seen such msg. Did you try using --debug to see more information? | 08:51 |
*** spatel has joined #openstack-trove | 08:58 | |
*** spatel has quit IRC | 09:04 | |
ladrua | lxkong: I did https://gist.github.com/ladrua/78ba48d02d73448ac3c97426a2cfcdef | 09:09 |
*** congnt96 has joined #openstack-trove | 09:26 | |
lxkong | ladrua: your python-troveclient version? | 09:39 |
ladrua | I am now using openstack client .. “openstack 5.2.0” it says | 09:46 |
ladrua | trove --version 3.3.- But I am not using trove command | 09:48 |
ladrua | *3.3.1 | 09:49 |
ladrua | Ok, I realized they are old. Upgraded to openstack 5.3.1 and trove 5.0.0 | 10:08 |
ladrua | —debug error: https://gist.github.com/ladrua/3e679c6c4a06b1b38abcafad53ff7a65 | 10:10 |
*** rcernin has joined #openstack-trove | 10:37 | |
*** rcernin has quit IRC | 10:54 | |
*** congnt96 has quit IRC | 11:19 | |
*** spatel has joined #openstack-trove | 11:52 | |
*** spatel has quit IRC | 11:56 | |
*** __ministry1 has joined #openstack-trove | 14:31 | |
*** congnt96 has joined #openstack-trove | 15:33 | |
*** __ministry1 has quit IRC | 17:46 | |
*** Reepicheep has quit IRC | 18:41 | |
*** Reepicheep has joined #openstack-trove | 22:22 | |
*** SauloASilva has joined #openstack-trove | 22:25 | |
SauloASilva | Hi. I am building my own image with ubuntu 18.04 , rocky and mariadb 10.4. I am facing the follow error : An err | 22:28 |
SauloASilva | or occurred preparing datastore: (pymysql.err.InternalError) (1698, u"Access den | 22:28 |
SauloASilva | ied for user 'root'@'localhost'") (Background on this error at: http://sqlalche. | 22:28 |
SauloASilva | me/e/2j85): InternalError: (pymysql.err.InternalError) (1698, u"Access denied fo | 22:28 |
SauloASilva | r user 'root'@'localhost'") . But I can go to console and run mysql -uroot -hlocalhost and connnect to mysql database . | 22:28 |
SauloASilva | did anyone already face same problem . | 22:28 |
SauloASilva | all other functions are working fine . | 22:35 |
*** rcernin has joined #openstack-trove | 23:13 | |
*** rcernin has quit IRC | 23:14 | |
*** rcernin has joined #openstack-trove | 23:14 | |
*** tosky has quit IRC | 23:14 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!