Monday, 2015-05-11

*** WonChon has joined #openstack-trove00:38
*** erkules has joined #openstack-trove01:35
*** erkules_ has quit IRC01:38
*** PeterSchwaller has quit IRC02:08
*** PeterSchwaller has joined #openstack-trove02:09
*** eghobo has joined #openstack-trove04:04
*** sgotliv_ has quit IRC04:23
*** sgotliv has joined #openstack-trove04:23
*** coolsvap|afk is now known as coolsvap04:23
*** chlong has quit IRC05:09
*** masco has joined #openstack-trove05:30
*** sgotliv has quit IRC05:57
*** Longgeek_ has joined #openstack-trove05:59
*** Longgeek has quit IRC06:03
*** eghobo has quit IRC07:11
*** kodoku has joined #openstack-trove07:36
*** john_f_ has quit IRC07:44
*** john_f_ has joined #openstack-trove07:52
*** fifieldt has joined #openstack-trove07:57
*** fifieldt has quit IRC07:58
*** sgotliv has joined #openstack-trove08:04
openstackgerritNikhil Manchanda proposed openstack/trove: Update modules to turn on dangling mock detection  https://review.openstack.org/18075708:15
*** kodoku has quit IRC08:54
*** erkules has quit IRC08:55
*** erkules has joined #openstack-trove08:56
*** kodoku has joined #openstack-trove09:10
kodokuvkmc Hi, I have issue with taskmanager09:12
openstackgerritMerged openstack/trove: Fix leaked mocks in the 'upgrade' module if any  https://review.openstack.org/18076009:12
kodokuhttp://paste.openstack.org/show/219679/09:12
openstackgerritMerged openstack/trove: Added dangling mock detection to 'backup' module  https://review.openstack.org/18074009:19
*** haomaiwa_ has quit IRC09:31
kodokuAnyone know this issue : TRACE trove.guestagent.api Timeout: Timeout while waiting on RPC response - topic: "guestagent.84da530f-41cc-4b69-90aa-c3b52534b36c", RPC method: "get_filesystem_stats" info: "<unknown>"09:32
sushilkmkodoku this is probably because your guest instance is not reachable09:35
*** IanGovett has joined #openstack-trove09:36
kodokusushilkm I can ssh on my instance :s09:36
kodokufrom trove service node ;)09:36
sushilkmyes but it could be that guest service is not running on the node09:37
sushilkmguest instance node09:37
kodokuyes guest service on instance is failed:09:37
kodokuRuntimeError: Manager class not registered for datastore manager None09:37
sushilkmwhich datastore guest are you trying to create09:38
kodokuBut I guess guestagent failed because I have issue with trove api09:38
kodokumysql09:38
sushilkmoh :)09:38
sushilkmare you using the latest trove code or what09:38
kodokujuno09:38
kodoku2014.2.209:38
sushilkmokies09:38
sushilkmwhat does your /etc/guest_info on instance reads09:39
openstackgerritMerged openstack/trove: Updated from global requirements  https://review.openstack.org/17987909:39
openstackgerritMerged openstack/python-troveclient: Updated from global requirements  https://review.openstack.org/18124109:39
kodoku# guest_id = placeholder to be overwritten when VM instance created09:39
sushilkmis that the content from /etc/guest_info on ur guest instance09:40
kodokuyes09:40
kodokuwith [DEFAULT]09:40
kodokubefore09:40
sushilkmso thats wrong09:41
kodokuok09:41
kodokuTrove configure this file or it's me before deploy instance ?09:41
sushilkmit looks taskmanager did not set it correctly09:41
kodokuHow taskmanager configure this file ?09:41
sushilkmhttps://github.com/openstack/trove/blob/stable/juno/trove/taskmanager/models.py#L444-L44809:43
kodokuok09:44
kodokushushilkm But trove use meta-data ? ssh ? rabbitmq ?09:44
sushilkmyes but this file is created using taskmanager code09:45
sushilkmthe value for datastore-manage comes from either conf or commandline09:45
kodokuok So I need to conf this file now09:47
kodokuand restart guestagent ?09:47
sushilkm2 things can be done09:47
sushilkmone is manually feed the content and check if rest works fine09:48
sushilkmand secondly u may track what was wrong that this file did not get correct values09:48
kodokuok09:48
kodokuI try first then I'll search issue09:48
sushilkmsure09:49
kodokudo you have sample for manually configuration ?09:49
sushilkm[DEFAULT]09:49
sushilkmguest_id=any-text09:49
sushilkmdatastore_manager=mysql09:49
sushilkmtenant_id=any-text09:49
kodokuguest_id is ID of instance ?09:50
kodokuin nova09:50
sushilkmyes09:51
kodokuok09:51
sushilkmfor now u may write anything there09:51
sushilkmits in trove09:51
kodokuImportError: No module named netifaces09:52
kodokuon guestagent log09:52
kodokusushilkm full trace http://paste.openstack.org/show/219730/09:53
kodokuI install this python lib09:54
sushilkmcan u install that module09:54
kodokuok service run but error09:55
kodokuamqp error09:55
kodokuok firewall09:55
kodokuhum09:55
kodokuI must open amqp for all network instance09:55
kodokuI'll try for this test but in production not secure09:56
*** exploreshaifali has joined #openstack-trove09:56
sushilkmcan u install that module09:56
kodokuCreating Consumer connection for Service guestagent start :)09:57
kodokugood09:57
kodokuI go launch thx :)09:57
sushilkm:)09:57
*** exploreshaifali has quit IRC10:01
*** sgotliv has quit IRC10:02
*** sgotliv has joined #openstack-trove10:18
*** amrith is now known as _amrith_10:34
*** sgotliv has quit IRC10:35
*** coolsvap is now known as coolsvap|afk10:48
kodokushushilkm re10:50
sushilkmyup tell me kodoku10:52
sushilkmyup tell me kodoku10:52
kodokusushilkm So I have maybe an issue10:53
kodokuWhen guestagent  make sudo /usr/bin/mysqladmin ping10:53
kodokuI have error because I have sudo warning10:53
*** sgotliv has joined #openstack-trove10:53
sushilkmsudo warning, whats that10:53
kodokutrove.guestagent.datastore.mysql.service Stderr: u'\nWe trust you have received the usual lecture from the local ......10:54
sushilkmcan u try a sudo in ur guest10:54
sushilkmdoes it give u any error10:54
kodokuYou don't know the message when you sudo ?10:54
kodokuIt usually boils down to these three things:\n\n    #1) Respect the privacy of others.\n    #2) Think before you type.\n    #3) With great power comes great responsibility.\n\nsudo: no tty present and no askpass program specified\n'10:54
kodokuIf I make sudo /usr/bin/mysqladmin ping I have ===> mysqld is alive10:55
sushilkmwith which user are you logged in10:55
kodokume ? root10:55
sushilkmso if with root sudo, its wud obviously pass10:56
kodokutrove guest is launch with trove user10:56
sushilkmand trove-guest servicce is run as10:56
sushilkm?10:56
kodokutrove10:56
sushilkmwhich user10:56
sushilkmok so can you try logging in with trove user10:56
kodokutrove     2088  0.0  4.7 339828 48032 ?        Ss   11:54   0:02 /usr/bin/python2 /usr/bin/trove-guestagent10:56
sushilkmand try sudo10:56
kodokuok10:56
kodoku[root@DB ~]# su trove - This account is currently not available.10:57
kodokuin sudoers ==> trove:x:997:995:trove Daemons:/var/lib/trove:/sbin/nologin10:57
sushilkmjst a sec10:58
kodokuheuuuu in /etc/passwd sorry10:58
kodokuI add trove to sudoers10:59
sushilkmokies10:59
sushilkmso trove user is only for daemons and not for login11:00
kodokuyes11:01
sushilkmok so whats now11:02
kodokusushilkm now I modify my image with add missing module and configure sudoers for trove11:03
kodokuAnd I retry to launch instance11:03
sushilkmokies11:03
sushilkm:)11:03
kodokuand debug taskmanager for search why guest-info no feed11:03
sushilkmsure11:04
*** exploreshaifali has joined #openstack-trove11:07
*** exploreshaifali has quit IRC11:17
kodokusushilkm Ok so I launch instance, I have " 27 ticks left until next run run_periodic_tasks " in taskmanager11:26
kodokuSo I wait 0 and taskmanager configure guest_info :)11:26
sushilkmno11:26
sushilkmu may try ssh for ur instance11:27
sushilkmand as soon as u r able to login u may check and see whats in that file11:27
kodokuok11:27
kodokumachine is up11:27
kodoku# guest_id = placeholder to be overwritten when VM instance created11:27
sushilkmalso u may read nova console-log "nova-instance-id" to see the processing11:27
sushilkmyup11:27
kodokuso guest_info is empty :/11:27
sushilkmguest_id, tenant_id, datastore_manager11:27
sushilkmso that means something is bad11:28
kodokuBut I don't know HOW this file is modify ? By who ?11:28
sushilkmtaskmanager writes this file11:29
kodokuwhich service modify this file11:29
kodokuok taskmanager on trove controller ?11:29
sushilkmyup11:29
sushilkmbefore it sends a create server to nova11:29
kodokuSo in tasklog I can see error11:29
sushilkmit creates the file and adds this as an argument11:29
kodokuwith user-data ?11:29
sushilkmif there is an error u shud see in taskmanager log11:30
*** kodoku_ has joined #openstack-trove11:31
kodoku_sorry proxy ^^11:31
sushilkmr u using volumes11:31
kodoku_sorry laste message is with user-data ?11:32
sushilkmif u r using cinder volumes then the relevant code creating the file is11:32
sushilkmhttps://github.com/openstack/trove/blob/stable/juno/trove/taskmanager/models.py#L699-70311:32
*** tlashchova has joined #openstack-trove11:33
kodoku_I have cinder11:34
kodoku_But I dont have volume11:34
kodoku_when I launch instance11:34
*** kodoku has quit IRC11:34
kodoku_what relation with cinder volume and the file guest_info ?11:35
sushilkmactually there are different methods called from taskmanager for different purpose11:37
sushilkmlike if u are using heat11:37
sushilkmor nova volumes11:37
kodoku_ok11:38
sushilkmor ephemeral storage11:38
kodoku_I use cinder for volume11:38
kodoku_My backend is Vmware so no ephemeral storage11:38
sushilkmi just meant to suggest the procedure which was creating the file11:38
kodoku_So If I use cinder, what is the procedure ?11:40
sushilkmthe method name is create_servet_volume_individually11:41
kodoku_Ok I see nova logs11:41
sushilkm_create_server_volume_individually *11:41
kodoku_when I create instance11:41
kodoku_DEBUG nova.api.openstack.wsgi [req-877b39e6-f451-4afb-9a8b-431a48a85732 None] Action: 'create', calling method: < ......................... "personality": [{"path": "/etc/guest_info", "contents": "W0RFRkFVTFRdCi0tZ3V..................11:42
kodoku_But nova can't write file in new instance11:42
sushilkmwhat content is that11:42
kodoku_nova can just change metadata11:42
sushilkmoh k11:43
sushilkmlooks something wrong but i m not sure whats that11:43
kodoku_I have "path": "/etc/guest_info", "contents": "W0RFRkFVTFRdCi0tZ3Vlc3RfaWQ9YzM5MTNkMzUtNjA2ZS00ZjQyLTg4YTItYzMyZmU5MmE2MjBlCi0tZGF0YXN0b3JlX21hbmFnZXI9bXlzcWwKLS10ZW5hbnRfaWQ9ZDZmNjEyYWU1MmE5NDExZjg2YWI1ZTJhNzliNGZkN2UK"}]}11:43
sushilkmso that looks like its encoded11:43
kodoku_sushilkm is normal11:44
kodoku_this is base6411:44
kodoku_If I decode I have => --guest_id=c3913d35-606e-4f42-88a2-c32fe92a620e --datastore_manager=mysql --tenant_id=d6f612ae52a9411f86ab5e2a79b4fd7e11:45
sushilkmokies cool11:45
sushilkmso this is correct11:45
sushilkmthen why isnt it written in ur guest11:45
kodoku_yes but I don't know HOW this file is write11:45
kodoku_with cloud-init ?11:46
sushilkmcan u check the logs in guest11:46
kodoku_TRACE root RuntimeError: Manager class not registered for datastore manager None11:47
kodoku_but is normal because guest_info is empty11:47
sushilkmthats because file has no contents11:47
kodoku_I don't understand which service change this file11:48
kodoku_How nova can modify file in instance11:48
sushilkmcan u check logs in /var/log on ur guest instance11:49
sushilkmto find any errors11:49
kodoku_Maybe nova use file injection wit libvirt ?11:50
sushilkmi think yes11:50
sushilkmthats probably could be the pick11:50
kodoku_ok11:50
kodoku_....11:50
kodoku_So trove no works with vmwarebackend11:51
sushilkmas of know it is looking like that, u may hold on until some core is online and u may discuss with them too about this issue11:51
sushilkmvkmc/amrith/peterstac/edmondk/SlickNik11:52
kodoku_yes I talk with vkmc yesterday11:53
kodoku_He told me, vmware works with trove11:53
kodoku_So we need to find HOW trove inject this file11:53
sushilkmyup11:53
sushilkmif it works, then thats what u need to find :)11:54
kodoku_sushilkm look http://developer.openstack.org/api-ref-compute-v2.html11:56
kodoku_personality section11:56
kodoku_:)11:57
kodoku_I bb11:57
sushilkmyup it uses file injection11:59
sushilkmyup it uses file injection11:59
*** kodoku_ has quit IRC12:01
*** kodoku has joined #openstack-trove12:05
kodokusushilkm yes so trove works just with KVM12:07
sushilkm:(12:08
*** pmackinn has joined #openstack-trove12:08
*** _amrith_ is now known as amrith12:17
*** haomaiwa_ has joined #openstack-trove12:43
*** kodoku has quit IRC12:46
*** Longgeek_ has quit IRC12:48
*** Longgeek has joined #openstack-trove12:49
*** radez_g0n3 is now known as radez13:01
*** haomaiwa_ has quit IRC13:04
*** kodoku has joined #openstack-trove13:14
kodokusushilkm So, If I make interne script in Guest. This script configure guest_info on boot13:14
kodokuis good ?13:15
sushilkmi think u shud be able to proceed then13:15
sushilkmbecause right now that is the part which seems not to be working for u13:15
*** Longgeek has quit IRC13:15
sushilkmalso u need to find more files which are injected into guest13:16
*** Longgeek has joined #openstack-trove13:16
sushilkmone more is there which is guest.conf13:16
kodokuOk I need a core member13:16
sushilkmyup thats d best option first of all :)13:17
*** fifieldt has joined #openstack-trove13:17
*** fifieldt has quit IRC13:17
kodokuAnd I talk with core member of nova and he told me => "we are trying to remove file injection, instead make cloud-init do the heavy lifting based on config drive / metadata service"13:17
kodokuSo trove need to change method of injection file for futur version13:18
*** chlong has joined #openstack-trove13:22
*** masco has quit IRC13:23
*** ajutras has joined #openstack-trove13:32
*** ajutras has quit IRC13:36
*** exploreshaifali has joined #openstack-trove13:42
*** amrith is now known as _amrith_13:47
*** exploreshaifali has quit IRC13:54
*** tosky has joined #openstack-trove13:54
*** exploreshaifali has joined #openstack-trove13:55
*** kodoku has quit IRC13:56
*** kodoku has joined #openstack-trove13:57
kodokusushilkm re, so I have configure guest_info13:57
kodokuAnd in guest I have every 3 ticks Making asynchronous cast on trove-conductor... cast13:57
kodokuand Successfully cast set_status. set_status13:57
kodokuBut on conductor I have ==> TRACE trove.openstack.common.rpc.amqp ModelNotFoundError: InstanceServiceStatus Not Found13:57
*** Longgeek has quit IRC14:00
*** Longgeek has joined #openstack-trove14:01
*** Longgeek_ has joined #openstack-trove14:03
*** Longgeek has quit IRC14:04
*** _amrith_ is now known as amrith14:04
*** john_f_ has quit IRC14:04
*** openstackgerrit has quit IRC14:06
*** openstackgerrit has joined #openstack-trove14:06
*** openstack has joined #openstack-trove14:18
-sendak.freenode.net- [freenode-info] please register your nickname...don't forget to auto-identify! http://freenode.net/faq.shtml#nicksetup14:18
kodokuping anyone know this issue with conductor ? ModelNotFoundError: InstanceServiceStatus Not Found14:28
*** shayneburgess has quit IRC14:29
*** sriram_tesora has joined #openstack-trove14:39
*** kodoku has quit IRC14:47
*** tlashchova has quit IRC14:52
*** tlashchova has joined #openstack-trove14:55
*** masco has joined #openstack-trove15:06
sushilkmkodoku, can u check in ur trove database if you this table15:10
*** johnma has joined #openstack-trove15:14
*** bhunter71 has joined #openstack-trove15:20
*** masco has quit IRC15:21
*** fifieldt has joined #openstack-trove15:22
*** fifieldt has quit IRC15:23
*** shayneburgess has joined #openstack-trove15:24
*** bhunter71 has quit IRC15:26
*** sriram_tesora has quit IRC15:26
*** sriram_tesora has joined #openstack-trove15:27
*** bhunter71 has joined #openstack-trove15:28
*** rwsu has joined #openstack-trove15:48
openstackgerritSushil Kumar proposed openstack/trove: Enabled H306 hacking rule.  https://review.openstack.org/18195015:50
*** esp has joined #openstack-trove15:52
openstackgerritOpenStack Proposal Bot proposed openstack/trove: Updated from global requirements  https://review.openstack.org/18195315:52
*** sgotliv_ has joined #openstack-trove15:59
*** sgotliv has quit IRC16:00
*** eghobo has joined #openstack-trove16:06
*** ashleighfarnham has joined #openstack-trove16:15
*** tosky has quit IRC16:32
*** tosky has joined #openstack-trove16:33
openstackgerritSaurabh Surana proposed openstack/trove: accepting network and availability zone for instances in cluster  https://review.openstack.org/17944316:35
*** exploreshaifali has quit IRC16:48
*** tosky has quit IRC17:02
*** tosky has joined #openstack-trove17:03
*** haomaiwa_ has joined #openstack-trove17:22
*** esp has quit IRC17:30
*** jodah has quit IRC17:30
*** vipul has quit IRC17:31
*** jodah- has quit IRC17:35
-openstackstatus- NOTICE: We have discovered post-upgrade issues with Gerrit affecting nova (and potentially other projects). Some changes will not appear and some actions, such as queries, may return an error. We are continuing to investigate.17:40
*** ChanServ changes topic to "We have discovered post-upgrade issues with Gerrit affecting nova (and potentially other projects). Some changes will not appear and some actions, such as queries, may return an error. We are continuing to investigate."17:40
*** amrith is now known as _amrith_17:53
*** _crobertsrh is now known as crobertsrh17:55
*** sgotliv_ has quit IRC18:01
*** jodah has joined #openstack-trove18:05
*** eghobo has quit IRC18:07
openstackgerritSushil Kumar proposed openstack/trove: Enabled H306 hacking rule  https://review.openstack.org/18195018:16
openstackgerritMayuri Ganguly proposed openstack/trove: Associate flavor types with datastore versions  https://review.openstack.org/10982418:19
openstackgerritSushil Kumar proposed openstack/trove: Enabled H404 hacking rule  https://review.openstack.org/18200818:20
*** WonChon has quit IRC18:25
*** morganfainberg has quit IRC18:25
*** cp16net has quit IRC18:25
*** _amrith_ has quit IRC18:25
*** jodah- has joined #openstack-trove18:26
*** sushilkm_ has joined #openstack-trove18:26
*** radez_g0n3 has joined #openstack-trove18:26
*** sushilkm has quit IRC18:26
*** sushilkm_ is now known as sushilkm18:26
*** jodah has quit IRC18:26
*** radez has quit IRC18:26
*** WonChon has joined #openstack-trove18:27
*** morganfainberg has joined #openstack-trove18:27
*** cp16net has joined #openstack-trove18:27
*** _amrith_ has joined #openstack-trove18:27
*** jodah- has left #openstack-trove18:27
*** jodah- has joined #openstack-trove18:27
*** radez_g0n3 is now known as radez18:27
*** saurabhs has joined #openstack-trove18:28
*** eghobo has joined #openstack-trove18:31
*** jodah- has quit IRC18:32
*** jodah has joined #openstack-trove18:33
*** _amrith_ is now known as amrith18:54
*** erkules has quit IRC19:27
*** erkules has joined #openstack-trove19:42
*** saurabhs has quit IRC19:42
*** amrith is now known as _amrith_19:45
*** eghobo has quit IRC19:55
*** eghobo has joined #openstack-trove20:04
*** eghobo has quit IRC20:08
*** tosky has quit IRC20:32
*** tosky has joined #openstack-trove20:33
*** radez is now known as radez_g0n320:36
*** IanGovett1 has joined #openstack-trove20:40
*** IanGovett has quit IRC20:42
*** openstackgerrit_ has joined #openstack-trove20:43
*** eghobo has joined #openstack-trove20:50
*** sgotliv has joined #openstack-trove20:54
*** haomai___ has joined #openstack-trove21:02
*** haomaiwa_ has quit IRC21:05
*** crobertsrh is now known as _crobertsrh21:13
*** eghobo has quit IRC21:31
*** _amrith_ is now known as amrith21:31
*** eghobo has joined #openstack-trove21:40
edmondkAnyone else getting a 500 internal server error when trying to open Sushil's Enable H306 and H404 hacking rule patches?21:40
*** erkules has quit IRC21:45
*** erkules has joined #openstack-trove21:45
*** amrith is now known as _amrith_21:58
*** sgotliv has quit IRC22:06
*** johnma has quit IRC22:06
*** bhunter71 has quit IRC22:07
peterstacedmondk: Looks like the latest gerrit changes aren't quite bullet-proof yet ;)22:15
*** mattgriffin has joined #openstack-trove22:21
*** rwsu has quit IRC22:25
*** mattgriffin has quit IRC22:43
*** sriram_tesora has quit IRC22:54
*** ashleighfarnham has quit IRC23:06
*** Longgeek_ has quit IRC23:20
*** georgelorch has quit IRC23:27
*** georgelorch has joined #openstack-trove23:41
*** tosky has quit IRC23:49
*** IanGovett1 has quit IRC23:49
-openstackstatus- NOTICE: Gerrit is going offline while we perform an emergency downgrade to version 2.8.23:55
*** ChanServ changes topic to "Gerrit is going offline while we perform an emergency downgrade to version 2.8."23:55

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