Monday, 2016-01-11

*** dgonzalez has joined #murano00:01
*** dgonzalez has quit IRC00:16
*** dgonzalez has joined #murano00:17
*** dgonzalez has quit IRC00:17
*** dgonzalez has joined #murano00:18
*** dgonzalez has quit IRC00:20
*** dgonzalez has joined #murano00:23
*** dgonzalez has quit IRC00:29
*** dgonzalez has joined #murano00:29
*** dgonzalez has quit IRC00:30
*** dgonzalez has joined #murano00:30
*** dgonzalez has quit IRC00:31
*** dgonzalez has joined #murano00:32
*** dgonzalez has quit IRC00:32
*** dgonzalez has joined #murano00:33
*** dgonzalez has quit IRC00:34
*** dgonzalez has joined #murano00:34
*** dgonzalez has quit IRC00:35
*** dgonzalez has joined #murano00:37
*** ducttape_ has quit IRC00:43
*** vahidh has joined #murano00:44
*** ducttape_ has joined #murano00:52
*** ducttape_ has quit IRC00:54
*** _ducttape_ has joined #murano00:54
*** _ducttape_ has quit IRC01:05
*** ducttape_ has joined #murano02:06
*** zhurong has joined #murano02:08
*** ducttape_ has quit IRC02:10
*** zhurong has quit IRC02:19
*** zhurong has joined #murano02:19
*** mragupat has joined #murano03:19
*** mragupat has quit IRC03:22
*** mragupat has joined #murano03:23
*** ducttape_ has joined #murano03:49
*** ducttape_ has quit IRC03:53
*** mdih has joined #murano04:42
*** klkumar has joined #murano04:46
*** ducttape_ has joined #murano04:50
*** ducttape_ has quit IRC04:56
*** mragupat has quit IRC05:03
*** yamamoto has joined #murano05:04
*** yamamoto has quit IRC05:04
*** mragupat has joined #murano05:04
*** yamamoto has joined #murano05:05
*** yamamoto has quit IRC05:05
*** yamamoto has joined #murano05:18
*** yamamoto has quit IRC05:22
*** yamamoto has joined #murano05:22
*** yamamoto has quit IRC05:25
*** mdih has quit IRC06:08
*** Einherjer has quit IRC06:10
*** madhuri_ has joined #murano06:12
madhuri_Hi can anyone help me to use https://github.com/openstack/murano/tree/master/contrib/plugins/murano_exampleplugin?06:14
*** yamamoto has joined #murano06:22
*** naresht has joined #murano06:27
*** zhurong_ has joined #murano06:27
*** mragupat has quit IRC06:27
*** zhurong has quit IRC06:29
*** gangadhar has quit IRC06:37
openstackgerritNikolay Starodubtsev proposed openstack/murano: WIP  https://review.openstack.org/25325906:43
*** Nikolay_St has joined #murano07:12
*** zhurong_ has quit IRC07:20
*** zhurong has joined #murano07:21
*** yamamoto has quit IRC07:37
*** vahidh has quit IRC07:41
*** katyafervent is now known as katyafervent_awa08:13
*** katyafervent_awa is now known as katyafervent08:14
ddovbiimadhuri_, hi!08:16
ddovbiiDo you still need help?08:17
madhuri_Hi ddovbii08:21
madhuri_Sorry I was out for lunch08:21
madhuri_ddovbii: I  created a zip file and then imported the package. Is it so?08:22
ddovbiiyou need to install python package first08:22
madhuri_Can you guide me how?08:23
madhuri_I don't find any documentation08:23
ddovbiigo to murano/contrib/plugins/murano_exampleplugin/ folder08:23
ddovbiiand run pip install -e ./08:23
*** zhurong has quit IRC08:23
madhuri_ddovbii: Do I need to run it as root?08:24
ddovbiimadhuri_, what type of installation do you have? Did you install murano manually?08:26
madhuri_No devstack08:26
madhuri_ddovbii: http://paste.openstack.org/show/483387/08:28
ddovbiimadhuri_, hmm08:28
ddovbiimadhuri_, looks lile it will be a hack, but try delete version from setup.cfg08:29
madhuri_Ok08:29
madhuri_ddovbii: Yeah it worked08:30
madhuri_ddovbii: What's next?08:31
ddovbiiupload demo app and try to deploy it08:31
ddovbii=)08:31
*** openstackgerrit has quit IRC08:32
*** openstackgerrit has joined #murano08:32
madhuri_ddovbii: Upload using zip file?08:34
openstackgerritMerged openstack/murano: Updated from global requirements  https://review.openstack.org/26443308:34
ddovbiimadhuri_, yes08:34
ddovbiioh, I can see that you've already done it08:35
ddovbiiso try to deploy08:35
*** yamamoto has joined #murano08:37
madhuri_ddovbii: When I try to drag the app to env, it fails08:38
ddovbiiwhat directory did you zip?08:39
madhuri_https://github.com/openstack/murano/tree/master/contrib/plugins/murano_exampleplugin/example-app/io.murano.apps.demo.DemoApp08:40
madhuri_ddovbii: ^08:40
ddovbiimadhuri_, ok, show me the error message please08:41
madhuri_Danger: An error occurred. Please try again later.08:43
madhuri_ddovbii: I don't see any error in murano-api or engine logs08:43
ddovbiiyou should check dashboard's logs08:44
*** yamamoto has quit IRC08:44
madhuri_ddovbii: Sorry where to check, I am using dashboard for first time?08:44
ddovbiismth like /var/log/horizon08:45
ddovbiimadhuri_, btw, did you create archive for folder or for folder's content ?08:47
madhuri_Folder's content08:47
ddovbiiok08:47
madhuri_cd ontrib/plugins/murano_exampleplugin/example-app/io.murano.apps.demo.DemoApp, zip example.zip *08:48
madhuri_ddovbii: http://paste.openstack.org/show/483388/08:49
ddovbiiare you using kilo?08:50
madhuri_ddovbii: No master08:51
ddovbiiaah! understood08:52
ddovbiicheck your archive. You will find that all directories are empty08:53
madhuri_Ok08:53
ddovbiiarchive is zipped incorrectly08:54
madhuri_yeah empty08:54
ddovbiijust use zip -r08:55
*** vgridnev has joined #murano08:55
madhuri_It says no image. Does Murano needs only Ubuntu images?09:01
madhuri_ddovbii: ^09:01
ddovbiiwho says? =)09:02
ddovbiiapp?09:02
madhuri_App09:02
madhuri_Yes09:02
madhuri_the drop down menu shows no image.09:03
ddovbiithis drop down show all images which have murano metadata09:03
ddovbiinot only ubuntu images09:03
madhuri_Cirros images which are registered by devstack are not shown?09:04
ddovbiiyou should mark it as murano omage first09:04
madhuri_How to mark it?09:05
ddovbiiyou can complete this action in Murano->Manage->Images tab09:05
*** vahidh has joined #murano09:07
madhuri_ddovbii: Sorry I got error again while deploying the env http://paste.openstack.org/show/483391/09:12
*** vahidh has quit IRC09:12
madhuri_ddovbii: There?09:16
openstackgerritEkaterina Chernova proposed openstack/murano: [test-runner] Refactor mock unit-tests  https://review.openstack.org/26130409:18
ddovbiimadhuri_, try to restart murano-engine service09:19
madhuri_Ok09:19
madhuri_Is it also a workaorund?09:19
ddovbiino09:19
ddovbiiI forgot about it09:19
ddovbiiit's needed after plugin is installed09:20
*** samuelBartel has joined #murano09:22
madhuri_ddovbii: It is deployed09:33
madhuri_What this app is suppose to do?09:34
madhuri_ddovbii: I mean how can I verify the deployment?09:34
*** yamamoto has joined #murano09:36
*** yamamoto has quit IRC09:38
*** yamamoto has joined #murano09:39
madhuri_I get it. Thanks ddovbii for your time :)09:40
ddovbiimadhuri_,Sorry I was out of working place. No problem =)09:43
*** kzaitsev_mb has joined #murano09:54
*** yamamoto has quit IRC09:57
*** yamamoto has joined #murano09:57
openstackgerritMerged openstack/murano-dashboard: Add license info for exceptions.py  https://review.openstack.org/26419409:59
*** tlashchova has joined #murano10:08
*** yamamoto has quit IRC10:10
*** yamamoto has joined #murano10:11
*** klkumar has quit IRC10:11
openstackgerritKirill Zaitsev proposed openstack/murano: Allow package cache to persist on disc  https://review.openstack.org/25999910:23
*** dhg has joined #murano10:23
*** dhg is now known as Guest585810:23
openstackgerritKirill Zaitsev proposed openstack/murano: Delete stale packages at cleanup (WIP)  https://review.openstack.org/26257310:23
openstackgerritMadhuri Kumari proposed openstack/murano: Fix error in app io.murano.apps.demo.DemoApp  https://review.openstack.org/26575410:23
*** klkumar has joined #murano10:25
openstackgerritKirill Zaitsev proposed openstack/murano: Delete stale packages at cleanup (WIP)  https://review.openstack.org/26257310:39
Nikolay_Stkzaitsev_mb: hi10:43
Nikolay_Stkzaitsev_mb: is this bug valid: https://bugs.launchpad.net/murano/+bug/1532494 ?10:43
openstackLaunchpad bug 1532494 in Murano "Ci gate is red, Quota exceeded for resources: ['security_group']." [Critical,Confirmed]10:43
Nikolay_Stfor me it looks like temporary CI problem10:43
kzaitsev_mbfeel free to mark it as invalid if it no longer reproduces10:44
Nikolay_Stkzaitsev_mb: ok, will do10:45
*** gangadhar has joined #murano10:49
*** madhuri_ has quit IRC10:55
openstackgerritMerged openstack/murano-dashboard: Adds i18n machinery similar to the one used in horizon  https://review.openstack.org/26207110:56
*** Guest5858 has quit IRC10:59
*** yamamoto has quit IRC11:00
*** yamamoto has joined #murano11:00
*** yamamoto has quit IRC11:03
*** yamamoto has joined #murano11:03
openstackgerritMerged openstack/murano: Replace deprecated library function os.popen() with subprocess  https://review.openstack.org/26559211:18
openstackgerritMerged openstack/murano: Modify filter by 'Name' in Package Definition  https://review.openstack.org/26351711:18
openstackgerritMerged openstack/murano-dashboard: Modify filter by 'Name' in Package Definition  https://review.openstack.org/26351811:18
openstackgerritMerged openstack/murano: Replace assertTrue(isinstance()) by optimal assert  https://review.openstack.org/26558411:18
*** yamamoto has quit IRC11:26
*** dhg has joined #murano11:30
*** dhg is now known as Guest2115111:31
*** Guest21151 has quit IRC11:32
*** kzaitsev_mb has quit IRC11:33
openstackgerritNikolay Starodubtsev proposed openstack/python-muranoclient: Repair package-update command  https://review.openstack.org/26251711:48
*** kzaitsev_mb has joined #murano11:52
*** raildo-afk is now known as raildo12:21
openstackgerritNikolay Starodubtsev proposed openstack/python-muranoclient: Repair package-update command  https://review.openstack.org/26251712:21
*** yamamoto has joined #murano12:26
openstackgerritKirill Zaitsev proposed openstack/murano: Delete stale packages at cleanup (WIP)  https://review.openstack.org/26257312:28
*** enthurohini has joined #murano12:30
*** yamamoto has quit IRC12:30
enthurohinihello kzaitsev_mb12:37
kzaitsev_mbhi, what's up? =)12:37
enthurohiniexlporing muranoclient. I have successfully added support for python-openstackclient at my side. now writing testcase12:39
enthurohinikzaitsev_mb, i have added only single command that is `openstack application catalog environment list` yet. so sholud i submit it in single patch or in a seprate patch by adding other commands as well?12:42
kzaitsev_mbhm12:42
kzaitsev_mbI think it should be `openstack environment list`12:42
kzaitsev_mbno need to type `application catalog` before every command I believe12:43
enthurohinibut all other commands contains api name as well, its a structure for openstack cli commands12:43
kzaitsev_mbenthurohini: let's do it this way — commit your first command as a separate patch and let's add other commands in groups12:43
kzaitsev_mbenthurohini: no they don't `openstack endpoint list` — doesn't for example12:44
*** alejandrito has joined #murano12:45
gangadharHi all.12:45
kzaitsev_mbor say `openstack ip floating list`12:45
enthurohinikzaitsev_mb, ohh yes, i missed it. Sorry. ok will cut down application catalog12:45
kzaitsev_mbenthurohini: np. we should use it only if we clash with other commands12:46
kzaitsev_mbgangadhar: hi, got questions?12:46
*** alejandrito has quit IRC12:46
kzaitsev_mbI saw you asking smth about MOS, but I'm not sure if this is the correct place to do so =)12:46
enthurohinikzaitsev_mb, ok :)12:46
gangadharkzaitsev_mb: yes12:46
*** alejandrito has joined #murano12:46
kzaitsev_mbenthurohini: like if there were nova-environment or smth similar we would have to add something like `application catalo environment list` =)12:47
gangadharWhen I create a K8S environment, selected "Environment Default Network"  to  "Create new".12:47
kzaitsev_mbbut luckily there are no such12:47
gangadharEverything is fine but instances are not getting internet12:47
kzaitsev_mbslagun: ^^12:48
enthurohinikzaitsev_mb, yup, there is no such command. got your point.12:48
kzaitsev_mbgangadhar: does the router have external internet connection? does this happen to other apps or only k8s?12:48
kzaitsev_mbativelkov: summoning you also ^^ =)12:49
gangadharkzaitsev_mb: Sorry I don't have other apps to check.  But if I create a n/w manually and selected that n/w, then instances are getting internet12:50
*** yamamoto has joined #murano13:02
gangadharAny help regarding getting internet in instance if we create environment using option "Create new" as default network?13:10
openstackgerritNikolay Starodubtsev proposed openstack/python-muranoclient: WIP for master  https://review.openstack.org/26581413:10
kzaitsev_mbgangadhar: can you show us network topology screen from horizon?13:11
*** ducttape_ has joined #murano13:13
gangadharkzaitsev_mb: Here is the image: http://oi65.tinypic.com/2urv9sj.jpg13:14
kzaitsev_mbgangadhar: and how do you test internet access?13:16
*** enthurohini has quit IRC13:17
gangadharI login into the instance and tried "ping google.com".13:17
kzaitsev_mband you have the checkboxes 'assign floating ips' checked, right?13:20
*** Nikolay_St has quit IRC13:21
*** MVenesio has joined #murano13:21
gangadharkzaitsev_mb: yes13:24
gangadharFloating IP is enabled13:24
*** enthurohini has joined #murano13:29
openstackgerritEkaterina Chernova proposed openstack/murano: WIP Fix setting owner parameter in getAttr method  https://review.openstack.org/26157013:32
*** ducttape_ has quit IRC13:35
openstackgerritDmytro Dovbii proposed openstack/murano-apps: [Ops Manager] Unify configuration for different versions of app  https://review.openstack.org/26501313:35
*** yamamoto has quit IRC13:42
*** tlashchova has quit IRC13:57
*** tlashchova has joined #murano14:00
*** yamamoto has joined #murano14:02
*** Nikolay_St has joined #murano14:12
gangadharhi14:13
slagungangadhar: hi!14:15
gangadharcan you help me on issue regarding internet in instances..14:16
gangadharslagun: ^^14:16
gangadharslagun: While creating a K8S environment, selected "Environment Default Network"  to  "Create new". instances are not getting internet.14:19
*** ducttape_ has joined #murano14:19
slagunI need to see your OpenStack configuration to help you. It might be that the instances get attached to the wrong router14:20
gangadharslagun: What kind of info ?14:21
slagunnetwork topology14:22
slagunto see what networks instance is attached to, what routers are those networks attached to, properties of router14:23
gangadharslagun: http://oi65.tinypic.com/2urv9sj.jpg may help you?14:23
*** ducttape_ has quit IRC14:24
slagungangadhar: there is no internet on all of the instances?14:26
*** sergmelikyan has joined #murano14:26
gangadharslagun: No, if we create a n/w manually then it's working fine.14:27
slaguncan you deploy 2 environments (manually and automatic) and then compare 2 topologies to find the difference?14:29
gangadharslagun: If we're creating n/w then we provide the DNS name server "8.8.8.8" under subnet details. But if n/w created  automatically, then it don't have any name servers14:31
gangadharSo we edited and added the name server. And restarted all neutron services. But still instances are not getting net.14:32
gangadhar*we edited subnet details14:32
slagungangadhar: looks like you need to configure [networking]/default_dns in murano.conf14:35
*** alraddarla has joined #murano14:36
gangadharslagun: etc/oslo-config-generator/murano.conf??14:36
*** Nikolay_St has quit IRC14:37
slagunit is etc/murano.conf for me. The path to config file is passed in command line for all murano entry points14:37
gangadharslagun: Ok got it. /etc/murano/murano.conf. thanks14:39
gangadharslagun: added line "default_dns = 8.8.8.8". it is ok?14:41
slagunyes. Just make sure it is in [networking] section14:42
slagunthen restart the engine and redeploy k8s from scratch14:43
*** ducttape_ has joined #murano14:43
*** sergmelikyan has quit IRC14:56
gangadharslagun: Thanks a log. After updating "default_dns" it's working great.15:10
gangadhar*Thanks a lot15:10
*** jsheeren has joined #murano15:13
*** naresht has quit IRC15:14
*** jsheeren has quit IRC15:15
*** mragupat has joined #murano15:27
*** enthurohini has quit IRC15:29
*** enthurohini has joined #murano15:33
*** srwilkers has joined #murano15:33
*** sergmelikyan has joined #murano15:42
*** vgridnev has quit IRC15:46
*** stanchan has quit IRC15:48
*** gangadhar_ has joined #murano16:16
*** gangadhar_ has quit IRC16:18
*** vgridnev has joined #murano16:44
*** vahidh has joined #murano16:50
*** yamamoto has quit IRC16:53
openstackgerritEkaterina Chernova proposed openstack/murano-dashboard: Control password field duplication  https://review.openstack.org/26592816:57
*** samuelBartel has quit IRC17:01
*** yamamoto has joined #murano17:13
*** yamamoto has quit IRC17:13
*** fuel-slackbot has quit IRC17:17
*** fuel-slackbot has joined #murano17:18
*** lesage_o has quit IRC17:24
*** sergmelikyan has quit IRC17:28
*** sergmelikyan has joined #murano17:34
*** kzaitsev_mb has quit IRC17:36
*** Nate__ has joined #murano17:42
*** vahidh has quit IRC17:45
Nate__So silly question...  After upgrading our environment from Kilo to Liberty, our murano agents now sit waiting for an execution plan until the token dies18:02
*** klkumar has quit IRC18:06
Nate__Anybody know what would cause this to happen?18:10
*** yamamoto has joined #murano18:13
*** yamamoto has quit IRC18:21
sergmelikyanNate__: We don't have known issues related to the upgrade process itself, did you check that configuration is correct?18:22
Nate__Yep, the configuration seems to be working. I don't have a way to inspect rabbitmq messages. but it connects to rabbit, gets the right config from cloud-init18:24
Nate__It can deploy the VM just fine, the agent gets stuck in _wait_plan18:25
Nate__in appy.py18:25
Nate__app.py*18:25
*** sergmelikyan has quit IRC18:27
*** sergmelikyan has joined #murano18:29
sergmelikyancan you share agent conf from VM?18:30
Nate__Sure18:30
sergmelikyanCan we somehow inspect if message is sent from the engine and actually sitting in the queue?18:31
Nate__I don't know of a way to do that, but if you do I can do it18:32
sergmelikyanThere is a way to enable management plugin for rabbitmq which gives access to the queues in web ui18:32
sergmelikyanBut I don't know your setup and what you can do and can't with it18:33
Nate__I don't think we have the webui installed, we just have the service18:33
Nate__I sent you the agent.conf18:34
*** sergmelikyan has quit IRC18:36
openstackgerritDarla Ahlert proposed openstack/murano-dashboard: Update eslint devDependencies in Murano dashboard  https://review.openstack.org/26483718:41
*** sergmelikyan has joined #murano18:44
sergmelikyanNate__: configuration is indeed looks right, next question is there actually message in the queue18:45
sergmelikyanNate__: https://www.rabbitmq.com/management.html18:45
sergmelikyanplugin is a part of the server, you just need to enable it18:45
Nate__Yep, I enabled it.18:46
Nate__Just trying to get logged in..18:47
Nate__Not sure which account to use18:47
sergmelikyanuse same credentials from config file that you have sent me18:47
sergmelikyannext step would be to take a look at e3a68d170790c42bda35f8f8683aab5ea-he990e061-240c-4e72-b17b-5ba168cf1ef0 queue (one from the config file of the agent) and see if there are messages18:48
Nate__It seems to keep saying login failed.18:49
Nate__once I get it, I will look there18:49
sergmelikyanNate, strange... you are connecting to the same rabbitmq ?18:49
Nate__correct. its very weird...18:49
sergmelikyanmay be you can't login because of enabled ssl?18:50
sergmelikyanI don't know if you need something to do manually in order to enable management plugin if you have ssl enabled18:50
Nate__The webui doesn't appear to use SSL at all. so yes. the logs just say invalid credentials18:52
*** srwilkers has quit IRC18:52
sergmelikyanNate__ there is also a way to check number of messages in a queue through rabbitmqctl18:54
sergmelikyanbut it's less useful18:54
sergmelikyanhttps://www.rabbitmq.com/man/rabbitmqctl.1.man.html list_queues18:55
Nate__Okay, got the web ui working18:57
Nate__Needed to add as management18:57
Nate__Looks like the queue is empty18:57
sergmelikyanCan you also take a look at the message rate in the queue?18:58
sergmelikyanIf there was at least 1 message passed through queue - rate will show some numbers18:59
sergmelikyanThere is a possibility that there is no messages were even send there18:59
sergmelikyanAnd can you share application that you are using to test?18:59
Nate__I've tried with Apache, Wordpress, MySql.18:59
Nate__All were previously working before we upgraded.19:00
Nate__I have 1 Consumeres, with 0 total messages19:00
sergmelikyan1 consumer -> which is agent on VM19:01
sergmelikyanCan you share murano-agent log from the vm?19:01
*** sergmelikyan has quit IRC19:01
Nate__Uh, yeah. I can get the part with out our debug code that we added I'm pretty sure.19:01
Nate__well thats awkward.. he left..19:10
*** sergmelikyan has joined #murano19:12
sergmelikyanNate__: sorry - I am using laptop and sitting on the meeting19:12
*** jasonsb has joined #murano19:12
sergmelikyanwhen I close it disconects19:12
sergmelikyanbut I am reading log :)19:12
sergmelikyanSo no worries - I am not missing your messages19:13
sergmelikyanNate__: so what about log?19:13
Nate__Oh, well now I'm the awkward one.19:13
Nate__Guess the msg command doesn't pick up the last messages when you come back19:14
sergmelikyanNate__: this is whole log after cloud-init configured Murano?19:15
Nate__Yep. it just hangs there19:15
sergmelikyanBased on logs - agent didn't receive any message19:15
Nate__Yep.19:16
sergmelikyanYou can test if it hanged or not - send something to this queue19:16
Nate__Just send anything into the queue and see what happenes?19:16
sergmelikyanyep19:16
Nate__K. I'll restart the agent and try that19:16
sergmelikyanno19:16
sergmelikyando not restart :)19:16
sergmelikyanWhole point to see if agent just hangs, right?19:17
Nate__I think it stopped listening as it was deployed on friday19:17
sergmelikyanshould not actually19:17
Nate__You are correct sir, I stand corrected.. though this one has been restarted multiple times to be honest19:18
sergmelikyanOh... what do you think if we will start from scratch?19:18
Nate__So.. when I publish a message the agent freaks out and I get "Message is not in JSON format19:18
Nate__which I'm assuming is what you expected19:19
sergmelikyanNate__: which means that agent is listening and there are indeed nothing was in the queue in the first place19:19
sergmelikyanyes19:19
Nate__Which.. is what I was afraid of19:19
sergmelikyanWhat do you think if we will debug from start together?19:19
sergmelikyanenable debug level loging, deploy Apache and see what's happening?19:20
Nate__I think we are already on debug logging. But yes, we can start from a fresh deploy if you want19:20
Nate__I've just been told "Make it work again"19:20
sergmelikyanNate__: Let's than try to do that :) Usually issues like that related to some misconfiguration, so let's figure out what is actually wrong19:22
Nate__So I'm up for anything19:22
Nate__Sounds perfect to me19:22
sergmelikyanCan you deploy new instance of Apache application for me?19:23
sergmelikyan1) Check Deployment Log in UI (if deployment fails, but even if it's just hangs forever it's also good).19:25
sergmelikyan2) Check engine and agent configuration19:25
sergmelikyan3) Ensure that they actually talk to the same rabbit mq (sometimes DNS records refers to different rabbit mq)19:25
sergmelikyan4) take a look at the Engine logs and see if message was sent19:26
sergmelikyan5) Check if it's reached to RabbitMQ which is listened by agent19:26
Nate__What will the engine log say when it sends the message?19:27
sergmelikyanUnfortunately I don't remember the message, but anyway would be helpfull if you would share whole log from the point "Starting processing" ....19:28
Nate__alright. lets see if I can do that. Unfortunately. Ours ejects logs into stdout and thats it. I'll just redirect to a file for now.19:29
sergmelikyanhttps://github.com/openstack/murano/blob/master/murano/common/engine.py#L10719:29
sergmelikyanWe need everything from this point ^19:30
*** kzaitsev_mb has joined #murano19:32
Nate__okay. Do you know how to redirect the logger to a file? or where the logger handler is set? because the standard way or redirecting stdout to a file isn't capturing those19:32
sergmelikyanthere is logger.conf used by Murano to configure logging19:33
sergmelikyanhttps://github.com/openstack/murano/blob/master/etc/murano/logging.conf.sample19:33
sergmelikyanbut honestly I am not a expert on logging configuration19:34
Nate__thats okay. I just need to redirect to a file, or I lose it off the terminal window to fast19:35
*** ducttape_ has quit IRC19:36
kzaitsev_mbNate__: we use oslo_logging, so it's universal across openstack projects19:36
kzaitsev_mbhttp://docs.openstack.org/developer/oslo.log/opts.html19:36
kzaitsev_mbso you can set log_file in config to log everything to that file, afai remeber you would still get stderr output19:38
kzaitsev_mboh and if you just want to redirect standard 2>/path/to/file should work too19:39
Nate__Alright, I'll look into it. I used a hackish method to redirect for the time being. But I'll make sure to do it the right way as I finalize this in production19:39
kzaitsev_mbcause oslo.log outputs to stderr as far as I see from defaults19:39
Nate__I think so as well. &> also works19:39
*** sergmelikyan has quit IRC19:41
*** sergmelikyan has joined #murano19:41
*** kzaitsev1mb has joined #murano19:42
kzaitsev1mbI'd advise to use config options over redirection for production anyway =)19:43
*** alraddarla has quit IRC19:43
Nate__Yes, for sure. We also need to make the engine a service... right now its just tox commands in tmux.. only a little sketchy19:44
kzaitsev1mbNate__: you'll have hard time logrotating logs, that are being redirected by '>' =)19:44
*** kzaitsev_mb has quit IRC19:44
*** kzaitsev1mb is now known as kzaitsev_mb19:44
sergmelikyankzaitsev1mb: Nate is not planning to have this in production ) We are debugging19:44
sergmelikyanNate__: so we are capturing output from the engine, let's deploy Apache and see to logs?19:44
kzaitsev_mbk, sure, haven't read through the whole conversation. And my internet blinked O_o19:45
Nate__Yep, we are. just finished. trying to figure out how to get them out to you..19:45
kzaitsev_mbhttp://paste.openstack.org is the usual way =)19:45
sergmelikyanNate__: yeah, paste should be enough, but whatever is suitable for you - you can upload to google drive19:46
sergmelikyanor anything19:46
Nate__Getting ot to there is difficult. Small copy and paste is easy, large.. not so much because of where it sits. openstack -> VPN -> VM-> host  very odd set up we have.19:46
sergmelikyanNate__: yeah, it's really tricky usually :)19:48
sergmelikyansometimes it takes several SCP to get the file )19:48
Nate__Yep, going to have to get creative19:49
sergmelikyan:D19:51
sergmelikyanI think someone should invent service to upload logs from shell for this cases19:51
sergmelikyanLike $super-tool upload <path-to-log-file>19:52
sergmelikyanand get back url19:52
sergmelikyansad side - you may not have access to internet from the controller where are logs are located usually19:53
Nate__Correct haha19:53
Nate__this is where I'm having to think a bit19:53
kzaitsev_mbit might be an overkill, but I'd setup a rsyslog to somewhere, that has i-net access and would upload from there =)19:54
Nate__Yes, a logging infrastructure is now next on my list of things to do.19:57
Nate__Cause this is ridiculous19:57
*** sergmelikyan has quit IRC20:00
*** sergmelikyan has joined #murano20:03
Nate__This might actually take multiple pastes.. is there a character limit on a paste?20:03
*** sergmelikyan has quit IRC20:07
openstackgerritRohini Choudhary proposed openstack/python-muranoclient: Initial commit for openstack-client support in python-muranoclient  https://review.openstack.org/26601820:09
kzaitsev_mbNate__: I thought not20:10
kzaitsev_mbI mean no limit. do think there is some, but should be reasonably big20:11
Nate__Hmm well it seems to only take a tiny portion of what I'm actually giving it. which makes me a little sad.20:11
openstackgerritRohini Choudhary proposed openstack/python-muranoclient: Initial commit for openstack-client support in python-muranoclient  https://review.openstack.org/26601820:15
Nate__I will just have a few pastes waiting for the return20:15
*** ducttape_ has joined #murano20:24
openstackgerritRohini Choudhary proposed openstack/python-muranoclient: Initial commit for openstack-client support in python-muranoclient  https://review.openstack.org/26601820:25
Nate__sergmelikyan I have to run out for a few minutes. I will be back shortly. I will have the pastes for you then20:27
*** sergmelikyan has joined #murano20:30
kzaitsev_mbsergmelikyan: ^^^ is the 1st step to having OS client plugin =) I'd say, that outreachy turned out to be really productive thing for murano =)20:32
enthurohini:)20:32
kzaitsev_mbenthurohini: thanks a lot, you're making some really valuable contributions to the project =)20:33
sergmelikyanenthurohini: thank you!20:33
enthurohinithankyou so much kzaitsev_mb, sergmelikyan for providing me this opportunity20:34
sergmelikyanNate__: np, can you share links to paste either here in #murano chat? I am going out for a lunch and will not be able to receive personal message (I guess)20:34
*** sergmelikyan has quit IRC20:34
enthurohinikzaitsev_mb, i have some doubts. can i ask right now or tomorrow?20:36
kzaitsev_mbNate__: I have a bot set up here, so feel free to ping me and leave some messages even if no one around — they'd get read eventualy by someone from the team and we'll try to reach out =)20:36
kzaitsev_mbenthurohini: sure, go on20:36
enthurohinikzaitsev_mb, plz have a look at plugin.py in my commit, there is a service_type argument of make_client function. I am not able to mock it, since it is hard coded their. what can be done to mock it?20:39
kzaitsev_mbenthurohini: I don't think that you need to mock it20:42
kzaitsev_mbsnice it's hardcoded and it's intended to be hardcoded — no need to mock it20:42
kzaitsev_mbI'm gonna look at the test and the whole thing closer tomorrow20:42
kzaitsev_mbor more likely on wednesday20:42
enthurohiniok, i was having one more doubt20:43
enthurohini:P20:43
kzaitsev_mbfor the time being you can prepare another commit, that would add other commands we have in murano CLI =) (If you're wondering what to do next)20:43
kzaitsev_mbyou can add it on top of this one, so they would form a chain (or a stack)20:44
kzaitsev_mbgo on =)20:44
enthurohinimeans a seprate commits for group of commands. right?20:45
kzaitsev_mbmy schedule is packed quite tightly tomorrow with meetings, so most likely Wednesday )20:45
kzaitsev_mbyep. like you can add all the commands from environment group in commit. then another for packages.20:46
kzaitsev_mbyou can make everything in 1 commit I think, but the commit might be a bit too big to review, so I'd advise splitting20:46
enthurohinikzaitsev_mb, again in plugin.py, the parameter instance is a instance of https://github.com/openstack/python-muranoclient/blob/master/muranoclient/v1/client.py#L29, and there is no argument _region_name, still it is getting value. how?20:47
enthurohinithe above one doubt is silly kind of. sorry20:48
enthurohiniok i will commit groupwise20:48
enthurohiniparameter instance of make_client function20:48
enthurohinikzaitsev_mb, one more request, please assign me the corresponding BP of this commit that is https://blueprints.launchpad.net/python-muranoclient/+spec/openstack-client-plugin-support20:51
kzaitsev_mbdone20:54
kzaitsev_mbmake_client actually gets instance of ClientManager not Client as far as I understand20:54
kzaitsev_mbhttps://github.com/openstack/python-openstackclient/blob/5aeb83115721a7a03acdb0bcbb14cf9e48ca4c53/doc/source/plugins.rst20:54
kzaitsev_mbhttps://github.com/openstack/python-openstackclient/blob/eab508fddd671b8946094335b93e3ae9db493e29/openstackclient/common/clientmanager.py#L51 this one20:55
kzaitsev_mbI guess20:55
kzaitsev_mbI'm not sure =)20:55
kzaitsev_mbI'll play around with your patch tomorrow/on wednesday to see if it's correct =)20:56
enthurohiniactually i used pdb, to understamd the flow, ok will try one more time to understand it. thanks anyway. np20:57
kzaitsev_mbcheck out ipdb ;)20:59
enthurohiniohk, will :)21:01
*** MVenesio has quit IRC21:36
*** kzaitsev_mb has quit IRC21:42
*** vgridnev has quit IRC21:43
*** Shanker_ has joined #murano21:46
*** Shanker_ has quit IRC21:50
*** ducttape_ has quit IRC21:54
Nate__sergmelikyan: here they are in order. had to do multiple for some reason. http://paste.openstack.org/raw/y6YzMtTFc8BbVSX3zkdx/ http://paste.openstack.org/raw/483481/ http://paste.openstack.org/raw/483482/ http://paste.openstack.org/raw/483483/21:56
-openstackstatus- NOTICE: Gerrit is restarting to resolve java memory issues22:04
*** enthurohini has quit IRC22:07
*** kzaitsev_mb has joined #murano22:14
*** tlashchova has quit IRC22:19
*** stanchan has joined #murano22:32
*** jasonsb has quit IRC23:13
*** ducttape_ has joined #murano23:25
*** MVenesio has joined #murano23:37
*** mragupat has quit IRC23:38
*** alejandrito has quit IRC23:40
*** MVenesio has quit IRC23:42
*** mragupat has joined #murano23:59

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