Wednesday, 2019-04-10

openstackgerritMerged openstack/python-troveclient stable/queens: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64708800:54
openstackgerritMerged openstack/trove stable/pike: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64719900:54
openstackgerritMerged openstack/trove stable/ocata: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64719800:54
openstackgerritMerged openstack/python-troveclient master: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64708700:54
openstackgerritMerged openstack/python-troveclient stable/stein: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64709000:55
openstackgerritMerged openstack/trove-dashboard stable/stein: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64720800:58
openstackgerritMerged openstack/trove-dashboard stable/queens: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64720601:00
openstackgerritMerged openstack/trove-dashboard stable/rocky: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64720701:01
openstackgerritMerged openstack/trove-dashboard stable/pike: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64720501:02
openstackgerritMerged openstack/trove-dashboard stable/ocata: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64720401:03
*** jamesmcarthur has joined #openstack-trove01:20
*** jamesmcarthur has quit IRC01:23
*** openstackgerrit has quit IRC01:30
*** openstackgerrit has joined #openstack-trove02:00
openstackgerritMerged openstack/trove master: Add error handling when Swift is not installed  https://review.openstack.org/64905102:00
*** sapd1 has joined #openstack-trove02:27
*** openstackstatus has quit IRC04:35
*** openstackstatus has joined #openstack-trove04:36
*** ChanServ sets mode: +v openstackstatus04:36
*** pcaruana has joined #openstack-trove05:06
*** tosky has joined #openstack-trove07:28
*** pcaruana has quit IRC07:34
*** pcaruana has joined #openstack-trove07:35
*** chhagarw has joined #openstack-trove09:12
openstackgerritKasper Hasior proposed openstack/trove master: Add Cassandra datastore upgrade  https://review.openstack.org/65122509:33
*** rcernin has quit IRC09:47
*** ygbo has joined #openstack-trove09:52
*** sapd1 has quit IRC11:29
*** sapd1 has joined #openstack-trove11:29
*** maciejjozefczyk has joined #openstack-trove11:59
*** sapd1 has quit IRC12:00
*** sapd1 has joined #openstack-trove12:02
openstackgerritKasper Hasior proposed openstack/trove master: Changing file owner when upgrading mariadb  https://review.openstack.org/64958112:29
openstackgerritKasper Hasior proposed openstack/trove master: Add Cassandra datastore upgrade  https://review.openstack.org/65122512:59
*** irclogbot_2 has joined #openstack-trove13:04
*** altlogbot_3 has joined #openstack-trove13:07
openstackgerritKasper Hasior proposed openstack/trove master: Fix backup tests  https://review.openstack.org/65152913:18
*** maciejjozefczyk has quit IRC13:19
*** maciejjozefczyk has joined #openstack-trove13:21
*** maciejjozefczyk has quit IRC13:21
openstackgerritKasper Hasior proposed openstack/trove master: Fix backup tests  https://review.openstack.org/65152913:25
*** openstackgerrit has quit IRC14:14
*** sapd1 has quit IRC14:27
*** sapd1 has joined #openstack-trove14:27
*** sapd1 has quit IRC15:09
*** sapd1 has joined #openstack-trove15:09
*** maciejjozefczyk has joined #openstack-trove15:14
*** jamesmcarthur has joined #openstack-trove15:32
*** ygbo has quit IRC16:05
*** jamesmcarthur has quit IRC16:06
*** jamesmcarthur has joined #openstack-trove16:08
*** sapd1 has quit IRC16:32
*** sapd1 has joined #openstack-trove16:32
*** altlogbot_3 has quit IRC16:46
*** chhagarw has quit IRC17:03
*** sapd1 has quit IRC17:29
*** sapd1 has joined #openstack-trove17:30
*** jamesmcarthur has quit IRC17:42
*** sapd1 has quit IRC18:00
*** sapd1 has joined #openstack-trove18:00
*** jamesmcarthur has joined #openstack-trove18:12
*** tosky has quit IRC18:21
-openstackstatus- NOTICE: Restarting Gerrit on review.openstack.org to pick up new configuration for the replication plugin19:06
mlozalxkong: I have the xenial version now and I still don't have the trove-guest.service19:46
mlozaI'm launching the trove via nova launch instance but I don't see the trove-guest.service inside it19:58
mlozatrove image nova launch*19:58
*** jamesmcarthur has quit IRC19:59
*** sapd1 has quit IRC20:10
*** sapd1 has joined #openstack-trove20:16
*** sapd1 has quit IRC20:34
mlozawhats the difference between trove/integration/scripts/files/elements/ubuntu-guest/extra-data.d  and trove/integration/scripts/files/elements/ubuntu-xenial-guest/extra-data.d20:36
mlozai dont 20-guest-systemd inside trove/integration/scripts/files/elements/ubuntu-guest/extra-data.d20:37
mlozai dont have*20:37
*** sapd1 has joined #openstack-trove20:37
*** sapd1 has quit IRC21:14
*** sapd1 has joined #openstack-trove21:19
lxkongmloza: you installed trove in devstack or manually?21:21
lxkongmloza: how you built the image?21:21
lxkongcould you please provide the detailed steps?21:22
mlozalxkong: kolla-ansible using the stable/rocky branch21:22
lxkongmloza: i am using devstack with at least stable/stein,21:23
lxkongmloza: can you log into the guest?21:23
lxkongguest instance21:23
mlozathis is the script i'm using to build the trove image http://paste.openstack.org/show/e0RbUelWicxwzRKKRlLd/21:24
mlozalxkong: sure. let me create an instance out of the trove image21:24
lxkongmloza: you want mariadb?21:26
mloza./build-trove.sh /home/mloza/test-imagecreate/iaas-imagebuilder/trove 10.0.91.12 mysql > mysql.log21:26
mlozamysql21:26
mlozai will send you the mysql.log once this finish building21:26
lxkong`export GUEST_USERNAME=trovedb` i think it shold be `ubuntu`21:27
mlozai dont see ubuntu-xenial-guest element getting triggered when building the image21:27
lxkongfor you script, make sure you understand each variable21:27
mlozak let me change that21:28
lxkongbecause you didn't specify that element in the script21:28
mlozaif i specicfy ubuntu-xenial-guest the build process fails21:28
mlozaspecify*21:29
lxkongwhat's the failure?21:29
mlozahold21:29
lxkongmloza:  i need more information, the steps, the cli, the log, otherwide, i don't think i can provide any useful suggestion21:29
mlozaalright21:30
mlozajust a se21:30
mlozai'm collecting logs21:30
lxkongsure21:30
mlozawith GUEST_USERNAME=ubuntu and added the element ubuntu-xenial-guest the build process fails http://paste.openstack.org/show/ne7yOLOAd2C48KihA8kf/21:34
mlozalooks like the paste is not complete21:36
mlozahere is the complete log https://pastebin.com/raw/eZ9bCLXu21:36
mlozaI modified the script http://paste.openstack.org/show/5GxuO8DQOKFz5Cw1t8nX/21:38
mloza./build-trove.sh /home/mloza/test-imagecreate/iaas-imagebuilder/trove 10.0.91.12 mysql21:38
mlozaI'm following this guide https://docs.openstack.org/trove/rocky/admin/building_guest_images.html#building-guest-images-using-standard-elements but it doesn't specify ${DISTRO}-${RELEASE}-guest element when building the image21:42
mlozait only has ${DISTRO}-guest21:44
mlozalxkong: here is successful build without the ubuntu-xenial-guest element https://pastebin.com/raw/8susUwjf21:46
mlozabut it doesn't contain trove-guest.service21:46
mlozasame cli but without ubuntu-xenial-element in the script21:47
mlozalxkong: do you want me to spin up a trove instance?21:49
*** sapd1 has quit IRC21:50
*** sapd1 has joined #openstack-trove21:54
lxkongjust back from stand up meeting21:58
lxkonglooking now21:58
lxkonghttps://www.irccloud.com/pastebin/55upHFz9/22:02
lxkongthat's the error22:02
lxkongbtw, the rocky doc you mentioned is just an example, it doesn't mean you should only use the elements included in the script22:03
lxkongi have a patch aiming at make the image building process easier https://review.openstack.org/#/c/650608/22:04
lxkongbut i'm afraid it only works with master22:04
*** rcernin has joined #openstack-trove22:06
*** tosky has joined #openstack-trove22:26
mlozalxkong: I didn't saw that error.22:28
mlozaso sed is not escaping the //22:28
mlozaI can change this to |22:29
lxkongthe error is in https://pastebin.com/raw/eZ9bCLXu22:29
mlozalxkong: in which file can I find this element that does the sed?22:30
mlozased 's|GUEST_USERNAME|ubuntu|g;s|GUEST_LOGDIR|/tmp/trove-logs|g;s|HOST_SCP_USERNAME|mloza|g;s|CONTROLLER_IP|10.0.91.12|g;s|PATH_TROVE|/home/mloza/test-imagecreate/iaas-imagebuilder/trove|g'22:30
lxkongintegration/scripts/files/elements/ubuntu-xenial-guest/extra-data.d/20-guest-systemd22:30
mlozathanks a lot22:31
lxkongnp22:31
mlozalxkong: is there another way in fixing this without changing / to | in sed?22:39
mlozalxkong: https://review.openstack.org/#/c/650608/ this works in stein?22:39
*** sapd1 has quit IRC22:41
lxkongmloza: you need to convert all the paths before passing them to image build command22:41
lxkongat least for mysql, yes22:41
lxkongmloza: any reason you are using stable/rocky?22:41
lxkongare you running trove in production or just testing?22:42
*** sapd1 has joined #openstack-trove22:42
mlozafor some reason the master branch of kolla-ansible is broken22:42
mlozathats why i resorted to stable/rocky22:42
mlozajust testing22:42
mlozai will implement in production after testing22:43
mlozai'm testing it in my lab env22:43
lxkongso you've already used  kolla-ansible to deploy other services in production?22:43
mlozayes22:44
lxkongi see22:44
lxkongi'm not sure how trove is supported in kolla-ansible :-(22:44
lxkongmloza: may i know your cloud name or company name? just as a reference22:45
mlozalxkong: morphlabs22:45
mlozai see22:45
lxkongthanks22:46
mlozawhy do you mean by converting all the paths?22:46
mlozawhat*22:46
lxkongsomething like `ESCAPED_PATH_TROVE=$(echo $PATH_TROVE | sed 's/\//\\\//g')`22:46
*** tosky has quit IRC22:47
mlozaoh ok22:47
mlozagot it22:47
*** sapd1 has quit IRC22:55
*** sapd1 has joined #openstack-trove22:58
mlozalxkong: so I have the guest agent inside image but the service is failing http://paste.openstack.org/raw/SjEuP3A92RgFp4PLy2BI/23:18
mlozais it necessary to give trove access to the controller ?23:18
lxkong`Permission denied, please try again`23:18
lxkongtake a look at the file permissions in `/home/mloza/test-imagecreate/iaas-imagebuilder/trove/`23:19
mloza i have it under my username23:21
mlozai built the image in my local workstation23:21
mlozathe controller doesnt have /home/mloza/test-imagecreate/iaas-imagebuilder/trove/23:21
mlozathe permission are correct23:21
mlozalxkong: http://paste.openstack.org/show/aUdAP1etRlUPEo1OnYWb/23:22
*** sapd1 has quit IRC23:23
lxkongthe ssh private key in trove guest agent needs to be included in your host's authorized_keys23:24
*** sapd1 has joined #openstack-trove23:24
lxkongin order to ssh into the host and downlaod trove code23:24
mlozais it possible to skip doing ssh instead put the trove source code inside the image ?23:27
lxkongthat's what https://review.openstack.org/#/c/650608/  does23:27
lxkongbut not possible with stable/rocky23:27
lxkongand i am going to work on nova keypair support23:28
lxkongso in future, we don't need to inject ssh keys into the image at the build time23:28
lxkongall those things are gonna happen in Train dev cycle23:28
mlozalxkong: I see. I plan to upgrade my lab env to master and I will test the patch23:48
mlozaNice I hope it will come soon23:48
*** sapd1 has quit IRC23:48
lxkongmloza: please let me know if you have any question23:49
lxkongmy tz is UTC+12, so if i don't reply to you in IRC, just send email to openstack-discussion mailing list with topic '[trove]'23:49
mlozalxkong: As an alternative of doing ssh to the controller get the source code, can I just use a VM that will contain the trove source the agent will copy not the controller node ?23:50
mlozalxkong: As an alternative of doing ssh to the controller and get the source code, can I just use a VM that will contain the trove source code the agent will copy from not the controller node ?23:50
*** sapd1 has joined #openstack-trove23:50
lxkongyou could, but need config the params carefully23:51
lxkongi hope after you upgrading to master, the `dev_mode=false` could help you23:51
*** rcernin has quit IRC23:52
mlozaso the value for $CONTROLLER_IP  is just for SSH access and not kind interaction to the trove_api ?23:52
lxkongyes, just for ssh23:53
mlozalxkong: by master, you mean stein right?23:53
lxkongthat patch was merged only in master, but i can do backport to stable/stein23:53

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!