*** dgonzalez has joined #murano | 00:01 | |
*** dgonzalez has quit IRC | 00:16 | |
*** dgonzalez has joined #murano | 00:17 | |
*** dgonzalez has quit IRC | 00:17 | |
*** dgonzalez has joined #murano | 00:18 | |
*** dgonzalez has quit IRC | 00:20 | |
*** dgonzalez has joined #murano | 00:23 | |
*** dgonzalez has quit IRC | 00:29 | |
*** dgonzalez has joined #murano | 00:29 | |
*** dgonzalez has quit IRC | 00:30 | |
*** dgonzalez has joined #murano | 00:30 | |
*** dgonzalez has quit IRC | 00:31 | |
*** dgonzalez has joined #murano | 00:32 | |
*** dgonzalez has quit IRC | 00:32 | |
*** dgonzalez has joined #murano | 00:33 | |
*** dgonzalez has quit IRC | 00:34 | |
*** dgonzalez has joined #murano | 00:34 | |
*** dgonzalez has quit IRC | 00:35 | |
*** dgonzalez has joined #murano | 00:37 | |
*** ducttape_ has quit IRC | 00:43 | |
*** vahidh has joined #murano | 00:44 | |
*** ducttape_ has joined #murano | 00:52 | |
*** ducttape_ has quit IRC | 00:54 | |
*** _ducttape_ has joined #murano | 00:54 | |
*** _ducttape_ has quit IRC | 01:05 | |
*** ducttape_ has joined #murano | 02:06 | |
*** zhurong has joined #murano | 02:08 | |
*** ducttape_ has quit IRC | 02:10 | |
*** zhurong has quit IRC | 02:19 | |
*** zhurong has joined #murano | 02:19 | |
*** mragupat has joined #murano | 03:19 | |
*** mragupat has quit IRC | 03:22 | |
*** mragupat has joined #murano | 03:23 | |
*** ducttape_ has joined #murano | 03:49 | |
*** ducttape_ has quit IRC | 03:53 | |
*** mdih has joined #murano | 04:42 | |
*** klkumar has joined #murano | 04:46 | |
*** ducttape_ has joined #murano | 04:50 | |
*** ducttape_ has quit IRC | 04:56 | |
*** mragupat has quit IRC | 05:03 | |
*** yamamoto has joined #murano | 05:04 | |
*** yamamoto has quit IRC | 05:04 | |
*** mragupat has joined #murano | 05:04 | |
*** yamamoto has joined #murano | 05:05 | |
*** yamamoto has quit IRC | 05:05 | |
*** yamamoto has joined #murano | 05:18 | |
*** yamamoto has quit IRC | 05:22 | |
*** yamamoto has joined #murano | 05:22 | |
*** yamamoto has quit IRC | 05:25 | |
*** mdih has quit IRC | 06:08 | |
*** Einherjer has quit IRC | 06:10 | |
*** madhuri_ has joined #murano | 06: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 #murano | 06:22 | |
*** naresht has joined #murano | 06:27 | |
*** zhurong_ has joined #murano | 06:27 | |
*** mragupat has quit IRC | 06:27 | |
*** zhurong has quit IRC | 06:29 | |
*** gangadhar has quit IRC | 06:37 | |
openstackgerrit | Nikolay Starodubtsev proposed openstack/murano: WIP https://review.openstack.org/253259 | 06:43 |
*** Nikolay_St has joined #murano | 07:12 | |
*** zhurong_ has quit IRC | 07:20 | |
*** zhurong has joined #murano | 07:21 | |
*** yamamoto has quit IRC | 07:37 | |
*** vahidh has quit IRC | 07:41 | |
*** katyafervent is now known as katyafervent_awa | 08:13 | |
*** katyafervent_awa is now known as katyafervent | 08:14 | |
ddovbii | madhuri_, hi! | 08:16 |
ddovbii | Do you still need help? | 08:17 |
madhuri_ | Hi ddovbii | 08:21 |
madhuri_ | Sorry I was out for lunch | 08:21 |
madhuri_ | ddovbii: I created a zip file and then imported the package. Is it so? | 08:22 |
ddovbii | you need to install python package first | 08:22 |
madhuri_ | Can you guide me how? | 08:23 |
madhuri_ | I don't find any documentation | 08:23 |
ddovbii | go to murano/contrib/plugins/murano_exampleplugin/ folder | 08:23 |
ddovbii | and run pip install -e ./ | 08:23 |
*** zhurong has quit IRC | 08:23 | |
madhuri_ | ddovbii: Do I need to run it as root? | 08:24 |
ddovbii | madhuri_, what type of installation do you have? Did you install murano manually? | 08:26 |
madhuri_ | No devstack | 08:26 |
madhuri_ | ddovbii: http://paste.openstack.org/show/483387/ | 08:28 |
ddovbii | madhuri_, hmm | 08:28 |
ddovbii | madhuri_, looks lile it will be a hack, but try delete version from setup.cfg | 08:29 |
madhuri_ | Ok | 08:29 |
madhuri_ | ddovbii: Yeah it worked | 08:30 |
madhuri_ | ddovbii: What's next? | 08:31 |
ddovbii | upload demo app and try to deploy it | 08:31 |
ddovbii | =) | 08:31 |
*** openstackgerrit has quit IRC | 08:32 | |
*** openstackgerrit has joined #murano | 08:32 | |
madhuri_ | ddovbii: Upload using zip file? | 08:34 |
openstackgerrit | Merged openstack/murano: Updated from global requirements https://review.openstack.org/264433 | 08:34 |
ddovbii | madhuri_, yes | 08:34 |
ddovbii | oh, I can see that you've already done it | 08:35 |
ddovbii | so try to deploy | 08:35 |
*** yamamoto has joined #murano | 08:37 | |
madhuri_ | ddovbii: When I try to drag the app to env, it fails | 08:38 |
ddovbii | what directory did you zip? | 08:39 |
madhuri_ | https://github.com/openstack/murano/tree/master/contrib/plugins/murano_exampleplugin/example-app/io.murano.apps.demo.DemoApp | 08:40 |
madhuri_ | ddovbii: ^ | 08:40 |
ddovbii | madhuri_, ok, show me the error message please | 08: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 logs | 08:43 |
ddovbii | you should check dashboard's logs | 08:44 |
*** yamamoto has quit IRC | 08:44 | |
madhuri_ | ddovbii: Sorry where to check, I am using dashboard for first time? | 08:44 |
ddovbii | smth like /var/log/horizon | 08:45 |
ddovbii | madhuri_, btw, did you create archive for folder or for folder's content ? | 08:47 |
madhuri_ | Folder's content | 08:47 |
ddovbii | ok | 08: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 |
ddovbii | are you using kilo? | 08:50 |
madhuri_ | ddovbii: No master | 08:51 |
ddovbii | aah! understood | 08:52 |
ddovbii | check your archive. You will find that all directories are empty | 08:53 |
madhuri_ | Ok | 08:53 |
ddovbii | archive is zipped incorrectly | 08:54 |
madhuri_ | yeah empty | 08:54 |
ddovbii | just use zip -r | 08:55 |
*** vgridnev has joined #murano | 08:55 | |
madhuri_ | It says no image. Does Murano needs only Ubuntu images? | 09:01 |
madhuri_ | ddovbii: ^ | 09:01 |
ddovbii | who says? =) | 09:02 |
ddovbii | app? | 09:02 |
madhuri_ | App | 09:02 |
madhuri_ | Yes | 09:02 |
madhuri_ | the drop down menu shows no image. | 09:03 |
ddovbii | this drop down show all images which have murano metadata | 09:03 |
ddovbii | not only ubuntu images | 09:03 |
madhuri_ | Cirros images which are registered by devstack are not shown? | 09:04 |
ddovbii | you should mark it as murano omage first | 09:04 |
madhuri_ | How to mark it? | 09:05 |
ddovbii | you can complete this action in Murano->Manage->Images tab | 09:05 |
*** vahidh has joined #murano | 09:07 | |
madhuri_ | ddovbii: Sorry I got error again while deploying the env http://paste.openstack.org/show/483391/ | 09:12 |
*** vahidh has quit IRC | 09:12 | |
madhuri_ | ddovbii: There? | 09:16 |
openstackgerrit | Ekaterina Chernova proposed openstack/murano: [test-runner] Refactor mock unit-tests https://review.openstack.org/261304 | 09:18 |
ddovbii | madhuri_, try to restart murano-engine service | 09:19 |
madhuri_ | Ok | 09:19 |
madhuri_ | Is it also a workaorund? | 09:19 |
ddovbii | no | 09:19 |
ddovbii | I forgot about it | 09:19 |
ddovbii | it's needed after plugin is installed | 09:20 |
*** samuelBartel has joined #murano | 09:22 | |
madhuri_ | ddovbii: It is deployed | 09: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 #murano | 09:36 | |
*** yamamoto has quit IRC | 09:38 | |
*** yamamoto has joined #murano | 09:39 | |
madhuri_ | I get it. Thanks ddovbii for your time :) | 09:40 |
ddovbii | madhuri_,Sorry I was out of working place. No problem =) | 09:43 |
*** kzaitsev_mb has joined #murano | 09:54 | |
*** yamamoto has quit IRC | 09:57 | |
*** yamamoto has joined #murano | 09:57 | |
openstackgerrit | Merged openstack/murano-dashboard: Add license info for exceptions.py https://review.openstack.org/264194 | 09:59 |
*** tlashchova has joined #murano | 10:08 | |
*** yamamoto has quit IRC | 10:10 | |
*** yamamoto has joined #murano | 10:11 | |
*** klkumar has quit IRC | 10:11 | |
openstackgerrit | Kirill Zaitsev proposed openstack/murano: Allow package cache to persist on disc https://review.openstack.org/259999 | 10:23 |
*** dhg has joined #murano | 10:23 | |
*** dhg is now known as Guest5858 | 10:23 | |
openstackgerrit | Kirill Zaitsev proposed openstack/murano: Delete stale packages at cleanup (WIP) https://review.openstack.org/262573 | 10:23 |
openstackgerrit | Madhuri Kumari proposed openstack/murano: Fix error in app io.murano.apps.demo.DemoApp https://review.openstack.org/265754 | 10:23 |
*** klkumar has joined #murano | 10:25 | |
openstackgerrit | Kirill Zaitsev proposed openstack/murano: Delete stale packages at cleanup (WIP) https://review.openstack.org/262573 | 10:39 |
Nikolay_St | kzaitsev_mb: hi | 10:43 |
Nikolay_St | kzaitsev_mb: is this bug valid: https://bugs.launchpad.net/murano/+bug/1532494 ? | 10:43 |
openstack | Launchpad bug 1532494 in Murano "Ci gate is red, Quota exceeded for resources: ['security_group']." [Critical,Confirmed] | 10:43 |
Nikolay_St | for me it looks like temporary CI problem | 10:43 |
kzaitsev_mb | feel free to mark it as invalid if it no longer reproduces | 10:44 |
Nikolay_St | kzaitsev_mb: ok, will do | 10:45 |
*** gangadhar has joined #murano | 10:49 | |
*** madhuri_ has quit IRC | 10:55 | |
openstackgerrit | Merged openstack/murano-dashboard: Adds i18n machinery similar to the one used in horizon https://review.openstack.org/262071 | 10:56 |
*** Guest5858 has quit IRC | 10:59 | |
*** yamamoto has quit IRC | 11:00 | |
*** yamamoto has joined #murano | 11:00 | |
*** yamamoto has quit IRC | 11:03 | |
*** yamamoto has joined #murano | 11:03 | |
openstackgerrit | Merged openstack/murano: Replace deprecated library function os.popen() with subprocess https://review.openstack.org/265592 | 11:18 |
openstackgerrit | Merged openstack/murano: Modify filter by 'Name' in Package Definition https://review.openstack.org/263517 | 11:18 |
openstackgerrit | Merged openstack/murano-dashboard: Modify filter by 'Name' in Package Definition https://review.openstack.org/263518 | 11:18 |
openstackgerrit | Merged openstack/murano: Replace assertTrue(isinstance()) by optimal assert https://review.openstack.org/265584 | 11:18 |
*** yamamoto has quit IRC | 11:26 | |
*** dhg has joined #murano | 11:30 | |
*** dhg is now known as Guest21151 | 11:31 | |
*** Guest21151 has quit IRC | 11:32 | |
*** kzaitsev_mb has quit IRC | 11:33 | |
openstackgerrit | Nikolay Starodubtsev proposed openstack/python-muranoclient: Repair package-update command https://review.openstack.org/262517 | 11:48 |
*** kzaitsev_mb has joined #murano | 11:52 | |
*** raildo-afk is now known as raildo | 12:21 | |
openstackgerrit | Nikolay Starodubtsev proposed openstack/python-muranoclient: Repair package-update command https://review.openstack.org/262517 | 12:21 |
*** yamamoto has joined #murano | 12:26 | |
openstackgerrit | Kirill Zaitsev proposed openstack/murano: Delete stale packages at cleanup (WIP) https://review.openstack.org/262573 | 12:28 |
*** enthurohini has joined #murano | 12:30 | |
*** yamamoto has quit IRC | 12:30 | |
enthurohini | hello kzaitsev_mb | 12:37 |
kzaitsev_mb | hi, what's up? =) | 12:37 |
enthurohini | exlporing muranoclient. I have successfully added support for python-openstackclient at my side. now writing testcase | 12:39 |
enthurohini | kzaitsev_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_mb | hm | 12:42 |
kzaitsev_mb | I think it should be `openstack environment list` | 12:42 |
kzaitsev_mb | no need to type `application catalog` before every command I believe | 12:43 |
enthurohini | but all other commands contains api name as well, its a structure for openstack cli commands | 12:43 |
kzaitsev_mb | enthurohini: let's do it this way — commit your first command as a separate patch and let's add other commands in groups | 12:43 |
kzaitsev_mb | enthurohini: no they don't `openstack endpoint list` — doesn't for example | 12:44 |
*** alejandrito has joined #murano | 12:45 | |
gangadhar | Hi all. | 12:45 |
kzaitsev_mb | or say `openstack ip floating list` | 12:45 |
enthurohini | kzaitsev_mb, ohh yes, i missed it. Sorry. ok will cut down application catalog | 12:45 |
kzaitsev_mb | enthurohini: np. we should use it only if we clash with other commands | 12:46 |
kzaitsev_mb | gangadhar: hi, got questions? | 12:46 |
*** alejandrito has quit IRC | 12:46 | |
kzaitsev_mb | I saw you asking smth about MOS, but I'm not sure if this is the correct place to do so =) | 12:46 |
enthurohini | kzaitsev_mb, ok :) | 12:46 |
gangadhar | kzaitsev_mb: yes | 12:46 |
*** alejandrito has joined #murano | 12:46 | |
kzaitsev_mb | enthurohini: like if there were nova-environment or smth similar we would have to add something like `application catalo environment list` =) | 12:47 |
gangadhar | When I create a K8S environment, selected "Environment Default Network" to "Create new". | 12:47 |
kzaitsev_mb | but luckily there are no such | 12:47 |
gangadhar | Everything is fine but instances are not getting internet | 12:47 |
kzaitsev_mb | slagun: ^^ | 12:48 |
enthurohini | kzaitsev_mb, yup, there is no such command. got your point. | 12:48 |
kzaitsev_mb | gangadhar: does the router have external internet connection? does this happen to other apps or only k8s? | 12:48 |
kzaitsev_mb | ativelkov: summoning you also ^^ =) | 12:49 |
gangadhar | kzaitsev_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 internet | 12:50 |
*** yamamoto has joined #murano | 13:02 | |
gangadhar | Any help regarding getting internet in instance if we create environment using option "Create new" as default network? | 13:10 |
openstackgerrit | Nikolay Starodubtsev proposed openstack/python-muranoclient: WIP for master https://review.openstack.org/265814 | 13:10 |
kzaitsev_mb | gangadhar: can you show us network topology screen from horizon? | 13:11 |
*** ducttape_ has joined #murano | 13:13 | |
gangadhar | kzaitsev_mb: Here is the image: http://oi65.tinypic.com/2urv9sj.jpg | 13:14 |
kzaitsev_mb | gangadhar: and how do you test internet access? | 13:16 |
*** enthurohini has quit IRC | 13:17 | |
gangadhar | I login into the instance and tried "ping google.com". | 13:17 |
kzaitsev_mb | and you have the checkboxes 'assign floating ips' checked, right? | 13:20 |
*** Nikolay_St has quit IRC | 13:21 | |
*** MVenesio has joined #murano | 13:21 | |
gangadhar | kzaitsev_mb: yes | 13:24 |
gangadhar | Floating IP is enabled | 13:24 |
*** enthurohini has joined #murano | 13:29 | |
openstackgerrit | Ekaterina Chernova proposed openstack/murano: WIP Fix setting owner parameter in getAttr method https://review.openstack.org/261570 | 13:32 |
*** ducttape_ has quit IRC | 13:35 | |
openstackgerrit | Dmytro Dovbii proposed openstack/murano-apps: [Ops Manager] Unify configuration for different versions of app https://review.openstack.org/265013 | 13:35 |
*** yamamoto has quit IRC | 13:42 | |
*** tlashchova has quit IRC | 13:57 | |
*** tlashchova has joined #murano | 14:00 | |
*** yamamoto has joined #murano | 14:02 | |
*** Nikolay_St has joined #murano | 14:12 | |
gangadhar | hi | 14:13 |
slagun | gangadhar: hi! | 14:15 |
gangadhar | can you help me on issue regarding internet in instances.. | 14:16 |
gangadhar | slagun: ^^ | 14:16 |
gangadhar | slagun: While creating a K8S environment, selected "Environment Default Network" to "Create new". instances are not getting internet. | 14:19 |
*** ducttape_ has joined #murano | 14:19 | |
slagun | I need to see your OpenStack configuration to help you. It might be that the instances get attached to the wrong router | 14:20 |
gangadhar | slagun: What kind of info ? | 14:21 |
slagun | network topology | 14:22 |
slagun | to see what networks instance is attached to, what routers are those networks attached to, properties of router | 14:23 |
gangadhar | slagun: http://oi65.tinypic.com/2urv9sj.jpg may help you? | 14:23 |
*** ducttape_ has quit IRC | 14:24 | |
slagun | gangadhar: there is no internet on all of the instances? | 14:26 |
*** sergmelikyan has joined #murano | 14:26 | |
gangadhar | slagun: No, if we create a n/w manually then it's working fine. | 14:27 |
slagun | can you deploy 2 environments (manually and automatic) and then compare 2 topologies to find the difference? | 14:29 |
gangadhar | slagun: 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 servers | 14:31 |
gangadhar | So 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 details | 14:32 |
slagun | gangadhar: looks like you need to configure [networking]/default_dns in murano.conf | 14:35 |
*** alraddarla has joined #murano | 14:36 | |
gangadhar | slagun: etc/oslo-config-generator/murano.conf?? | 14:36 |
*** Nikolay_St has quit IRC | 14:37 | |
slagun | it is etc/murano.conf for me. The path to config file is passed in command line for all murano entry points | 14:37 |
gangadhar | slagun: Ok got it. /etc/murano/murano.conf. thanks | 14:39 |
gangadhar | slagun: added line "default_dns = 8.8.8.8". it is ok? | 14:41 |
slagun | yes. Just make sure it is in [networking] section | 14:42 |
slagun | then restart the engine and redeploy k8s from scratch | 14:43 |
*** ducttape_ has joined #murano | 14:43 | |
*** sergmelikyan has quit IRC | 14:56 | |
gangadhar | slagun: Thanks a log. After updating "default_dns" it's working great. | 15:10 |
gangadhar | *Thanks a lot | 15:10 |
*** jsheeren has joined #murano | 15:13 | |
*** naresht has quit IRC | 15:14 | |
*** jsheeren has quit IRC | 15:15 | |
*** mragupat has joined #murano | 15:27 | |
*** enthurohini has quit IRC | 15:29 | |
*** enthurohini has joined #murano | 15:33 | |
*** srwilkers has joined #murano | 15:33 | |
*** sergmelikyan has joined #murano | 15:42 | |
*** vgridnev has quit IRC | 15:46 | |
*** stanchan has quit IRC | 15:48 | |
*** gangadhar_ has joined #murano | 16:16 | |
*** gangadhar_ has quit IRC | 16:18 | |
*** vgridnev has joined #murano | 16:44 | |
*** vahidh has joined #murano | 16:50 | |
*** yamamoto has quit IRC | 16:53 | |
openstackgerrit | Ekaterina Chernova proposed openstack/murano-dashboard: Control password field duplication https://review.openstack.org/265928 | 16:57 |
*** samuelBartel has quit IRC | 17:01 | |
*** yamamoto has joined #murano | 17:13 | |
*** yamamoto has quit IRC | 17:13 | |
*** fuel-slackbot has quit IRC | 17:17 | |
*** fuel-slackbot has joined #murano | 17:18 | |
*** lesage_o has quit IRC | 17:24 | |
*** sergmelikyan has quit IRC | 17:28 | |
*** sergmelikyan has joined #murano | 17:34 | |
*** kzaitsev_mb has quit IRC | 17:36 | |
*** Nate__ has joined #murano | 17:42 | |
*** vahidh has quit IRC | 17: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 dies | 18:02 |
*** klkumar has quit IRC | 18:06 | |
Nate__ | Anybody know what would cause this to happen? | 18:10 |
*** yamamoto has joined #murano | 18:13 | |
*** yamamoto has quit IRC | 18:21 | |
sergmelikyan | Nate__: 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-init | 18:24 |
Nate__ | It can deploy the VM just fine, the agent gets stuck in _wait_plan | 18:25 |
Nate__ | in appy.py | 18:25 |
Nate__ | app.py* | 18:25 |
*** sergmelikyan has quit IRC | 18:27 | |
*** sergmelikyan has joined #murano | 18:29 | |
sergmelikyan | can you share agent conf from VM? | 18:30 |
Nate__ | Sure | 18:30 |
sergmelikyan | Can 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 it | 18:32 |
sergmelikyan | There is a way to enable management plugin for rabbitmq which gives access to the queues in web ui | 18:32 |
sergmelikyan | But I don't know your setup and what you can do and can't with it | 18:33 |
Nate__ | I don't think we have the webui installed, we just have the service | 18:33 |
Nate__ | I sent you the agent.conf | 18:34 |
*** sergmelikyan has quit IRC | 18:36 | |
openstackgerrit | Darla Ahlert proposed openstack/murano-dashboard: Update eslint devDependencies in Murano dashboard https://review.openstack.org/264837 | 18:41 |
*** sergmelikyan has joined #murano | 18:44 | |
sergmelikyan | Nate__: configuration is indeed looks right, next question is there actually message in the queue | 18:45 |
sergmelikyan | Nate__: https://www.rabbitmq.com/management.html | 18:45 |
sergmelikyan | plugin is a part of the server, you just need to enable it | 18:45 |
Nate__ | Yep, I enabled it. | 18:46 |
Nate__ | Just trying to get logged in.. | 18:47 |
Nate__ | Not sure which account to use | 18:47 |
sergmelikyan | use same credentials from config file that you have sent me | 18:47 |
sergmelikyan | next 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 messages | 18:48 |
Nate__ | It seems to keep saying login failed. | 18:49 |
Nate__ | once I get it, I will look there | 18:49 |
sergmelikyan | Nate, strange... you are connecting to the same rabbitmq ? | 18:49 |
Nate__ | correct. its very weird... | 18:49 |
sergmelikyan | may be you can't login because of enabled ssl? | 18:50 |
sergmelikyan | I don't know if you need something to do manually in order to enable management plugin if you have ssl enabled | 18:50 |
Nate__ | The webui doesn't appear to use SSL at all. so yes. the logs just say invalid credentials | 18:52 |
*** srwilkers has quit IRC | 18:52 | |
sergmelikyan | Nate__ there is also a way to check number of messages in a queue through rabbitmqctl | 18:54 |
sergmelikyan | but it's less useful | 18:54 |
sergmelikyan | https://www.rabbitmq.com/man/rabbitmqctl.1.man.html list_queues | 18:55 |
Nate__ | Okay, got the web ui working | 18:57 |
Nate__ | Needed to add as management | 18:57 |
Nate__ | Looks like the queue is empty | 18:57 |
sergmelikyan | Can you also take a look at the message rate in the queue? | 18:58 |
sergmelikyan | If there was at least 1 message passed through queue - rate will show some numbers | 18:59 |
sergmelikyan | There is a possibility that there is no messages were even send there | 18:59 |
sergmelikyan | And 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 messages | 19:00 |
sergmelikyan | 1 consumer -> which is agent on VM | 19:01 |
sergmelikyan | Can you share murano-agent log from the vm? | 19:01 |
*** sergmelikyan has quit IRC | 19: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 #murano | 19:12 | |
sergmelikyan | Nate__: sorry - I am using laptop and sitting on the meeting | 19:12 |
*** jasonsb has joined #murano | 19:12 | |
sergmelikyan | when I close it disconects | 19:12 |
sergmelikyan | but I am reading log :) | 19:12 |
sergmelikyan | So no worries - I am not missing your messages | 19:13 |
sergmelikyan | Nate__: 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 back | 19:14 |
sergmelikyan | Nate__: this is whole log after cloud-init configured Murano? | 19:15 |
Nate__ | Yep. it just hangs there | 19:15 |
sergmelikyan | Based on logs - agent didn't receive any message | 19:15 |
Nate__ | Yep. | 19:16 |
sergmelikyan | You can test if it hanged or not - send something to this queue | 19:16 |
Nate__ | Just send anything into the queue and see what happenes? | 19:16 |
sergmelikyan | yep | 19:16 |
Nate__ | K. I'll restart the agent and try that | 19:16 |
sergmelikyan | no | 19:16 |
sergmelikyan | do not restart :) | 19:16 |
sergmelikyan | Whole point to see if agent just hangs, right? | 19:17 |
Nate__ | I think it stopped listening as it was deployed on friday | 19:17 |
sergmelikyan | should not actually | 19:17 |
Nate__ | You are correct sir, I stand corrected.. though this one has been restarted multiple times to be honest | 19:18 |
sergmelikyan | Oh... 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 format | 19:18 |
Nate__ | which I'm assuming is what you expected | 19:19 |
sergmelikyan | Nate__: which means that agent is listening and there are indeed nothing was in the queue in the first place | 19:19 |
sergmelikyan | yes | 19:19 |
Nate__ | Which.. is what I was afraid of | 19:19 |
sergmelikyan | What do you think if we will debug from start together? | 19:19 |
sergmelikyan | enable 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 want | 19:20 |
Nate__ | I've just been told "Make it work again" | 19:20 |
sergmelikyan | Nate__: Let's than try to do that :) Usually issues like that related to some misconfiguration, so let's figure out what is actually wrong | 19:22 |
Nate__ | So I'm up for anything | 19:22 |
Nate__ | Sounds perfect to me | 19:22 |
sergmelikyan | Can you deploy new instance of Apache application for me? | 19:23 |
sergmelikyan | 1) Check Deployment Log in UI (if deployment fails, but even if it's just hangs forever it's also good). | 19:25 |
sergmelikyan | 2) Check engine and agent configuration | 19:25 |
sergmelikyan | 3) Ensure that they actually talk to the same rabbit mq (sometimes DNS records refers to different rabbit mq) | 19:25 |
sergmelikyan | 4) take a look at the Engine logs and see if message was sent | 19:26 |
sergmelikyan | 5) Check if it's reached to RabbitMQ which is listened by agent | 19:26 |
Nate__ | What will the engine log say when it sends the message? | 19:27 |
sergmelikyan | Unfortunately 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 |
sergmelikyan | https://github.com/openstack/murano/blob/master/murano/common/engine.py#L107 | 19:29 |
sergmelikyan | We need everything from this point ^ | 19:30 |
*** kzaitsev_mb has joined #murano | 19: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 those | 19:32 |
sergmelikyan | there is logger.conf used by Murano to configure logging | 19:33 |
sergmelikyan | https://github.com/openstack/murano/blob/master/etc/murano/logging.conf.sample | 19:33 |
sergmelikyan | but honestly I am not a expert on logging configuration | 19:34 |
Nate__ | thats okay. I just need to redirect to a file, or I lose it off the terminal window to fast | 19:35 |
*** ducttape_ has quit IRC | 19:36 | |
kzaitsev_mb | Nate__: we use oslo_logging, so it's universal across openstack projects | 19:36 |
kzaitsev_mb | http://docs.openstack.org/developer/oslo.log/opts.html | 19:36 |
kzaitsev_mb | so you can set log_file in config to log everything to that file, afai remeber you would still get stderr output | 19:38 |
kzaitsev_mb | oh and if you just want to redirect standard 2>/path/to/file should work too | 19: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 production | 19:39 |
kzaitsev_mb | cause oslo.log outputs to stderr as far as I see from defaults | 19:39 |
Nate__ | I think so as well. &> also works | 19:39 |
*** sergmelikyan has quit IRC | 19:41 | |
*** sergmelikyan has joined #murano | 19:41 | |
*** kzaitsev1mb has joined #murano | 19:42 | |
kzaitsev1mb | I'd advise to use config options over redirection for production anyway =) | 19:43 |
*** alraddarla has quit IRC | 19: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 sketchy | 19:44 |
kzaitsev1mb | Nate__: you'll have hard time logrotating logs, that are being redirected by '>' =) | 19:44 |
*** kzaitsev_mb has quit IRC | 19:44 | |
*** kzaitsev1mb is now known as kzaitsev_mb | 19:44 | |
sergmelikyan | kzaitsev1mb: Nate is not planning to have this in production ) We are debugging | 19:44 |
sergmelikyan | Nate__: so we are capturing output from the engine, let's deploy Apache and see to logs? | 19:44 |
kzaitsev_mb | k, sure, haven't read through the whole conversation. And my internet blinked O_o | 19:45 |
Nate__ | Yep, we are. just finished. trying to figure out how to get them out to you.. | 19:45 |
kzaitsev_mb | http://paste.openstack.org is the usual way =) | 19:45 |
sergmelikyan | Nate__: yeah, paste should be enough, but whatever is suitable for you - you can upload to google drive | 19:46 |
sergmelikyan | or anything | 19: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 |
sergmelikyan | Nate__: yeah, it's really tricky usually :) | 19:48 |
sergmelikyan | sometimes it takes several SCP to get the file ) | 19:48 |
Nate__ | Yep, going to have to get creative | 19:49 |
sergmelikyan | :D | 19:51 |
sergmelikyan | I think someone should invent service to upload logs from shell for this cases | 19:51 |
sergmelikyan | Like $super-tool upload <path-to-log-file> | 19:52 |
sergmelikyan | and get back url | 19:52 |
sergmelikyan | sad side - you may not have access to internet from the controller where are logs are located usually | 19:53 |
Nate__ | Correct haha | 19:53 |
Nate__ | this is where I'm having to think a bit | 19:53 |
kzaitsev_mb | it 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 ridiculous | 19:57 |
*** sergmelikyan has quit IRC | 20:00 | |
*** sergmelikyan has joined #murano | 20:03 | |
Nate__ | This might actually take multiple pastes.. is there a character limit on a paste? | 20:03 |
*** sergmelikyan has quit IRC | 20:07 | |
openstackgerrit | Rohini Choudhary proposed openstack/python-muranoclient: Initial commit for openstack-client support in python-muranoclient https://review.openstack.org/266018 | 20:09 |
kzaitsev_mb | Nate__: I thought not | 20:10 |
kzaitsev_mb | I mean no limit. do think there is some, but should be reasonably big | 20: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 |
openstackgerrit | Rohini Choudhary proposed openstack/python-muranoclient: Initial commit for openstack-client support in python-muranoclient https://review.openstack.org/266018 | 20:15 |
Nate__ | I will just have a few pastes waiting for the return | 20:15 |
*** ducttape_ has joined #murano | 20:24 | |
openstackgerrit | Rohini Choudhary proposed openstack/python-muranoclient: Initial commit for openstack-client support in python-muranoclient https://review.openstack.org/266018 | 20:25 |
Nate__ | sergmelikyan I have to run out for a few minutes. I will be back shortly. I will have the pastes for you then | 20:27 |
*** sergmelikyan has joined #murano | 20:30 | |
kzaitsev_mb | sergmelikyan: ^^^ 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_mb | enthurohini: thanks a lot, you're making some really valuable contributions to the project =) | 20:33 |
sergmelikyan | enthurohini: thank you! | 20:33 |
enthurohini | thankyou so much kzaitsev_mb, sergmelikyan for providing me this opportunity | 20:34 |
sergmelikyan | Nate__: 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 IRC | 20:34 | |
enthurohini | kzaitsev_mb, i have some doubts. can i ask right now or tomorrow? | 20:36 |
kzaitsev_mb | Nate__: 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_mb | enthurohini: sure, go on | 20:36 |
enthurohini | kzaitsev_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_mb | enthurohini: I don't think that you need to mock it | 20:42 |
kzaitsev_mb | snice it's hardcoded and it's intended to be hardcoded — no need to mock it | 20:42 |
kzaitsev_mb | I'm gonna look at the test and the whole thing closer tomorrow | 20:42 |
kzaitsev_mb | or more likely on wednesday | 20:42 |
enthurohini | ok, i was having one more doubt | 20:43 |
enthurohini | :P | 20:43 |
kzaitsev_mb | for 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_mb | you can add it on top of this one, so they would form a chain (or a stack) | 20:44 |
kzaitsev_mb | go on =) | 20:44 |
enthurohini | means a seprate commits for group of commands. right? | 20:45 |
kzaitsev_mb | my schedule is packed quite tightly tomorrow with meetings, so most likely Wednesday ) | 20:45 |
kzaitsev_mb | yep. like you can add all the commands from environment group in commit. then another for packages. | 20:46 |
kzaitsev_mb | you can make everything in 1 commit I think, but the commit might be a bit too big to review, so I'd advise splitting | 20:46 |
enthurohini | kzaitsev_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 |
enthurohini | the above one doubt is silly kind of. sorry | 20:48 |
enthurohini | ok i will commit groupwise | 20:48 |
enthurohini | parameter instance of make_client function | 20:48 |
enthurohini | kzaitsev_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-support | 20:51 |
kzaitsev_mb | done | 20:54 |
kzaitsev_mb | make_client actually gets instance of ClientManager not Client as far as I understand | 20:54 |
kzaitsev_mb | https://github.com/openstack/python-openstackclient/blob/5aeb83115721a7a03acdb0bcbb14cf9e48ca4c53/doc/source/plugins.rst | 20:54 |
kzaitsev_mb | https://github.com/openstack/python-openstackclient/blob/eab508fddd671b8946094335b93e3ae9db493e29/openstackclient/common/clientmanager.py#L51 this one | 20:55 |
kzaitsev_mb | I guess | 20:55 |
kzaitsev_mb | I'm not sure =) | 20:55 |
kzaitsev_mb | I'll play around with your patch tomorrow/on wednesday to see if it's correct =) | 20:56 |
enthurohini | actually i used pdb, to understamd the flow, ok will try one more time to understand it. thanks anyway. np | 20:57 |
kzaitsev_mb | check out ipdb ;) | 20:59 |
enthurohini | ohk, will :) | 21:01 |
*** MVenesio has quit IRC | 21:36 | |
*** kzaitsev_mb has quit IRC | 21:42 | |
*** vgridnev has quit IRC | 21:43 | |
*** Shanker_ has joined #murano | 21:46 | |
*** Shanker_ has quit IRC | 21:50 | |
*** ducttape_ has quit IRC | 21: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 issues | 22:04 | |
*** enthurohini has quit IRC | 22:07 | |
*** kzaitsev_mb has joined #murano | 22:14 | |
*** tlashchova has quit IRC | 22:19 | |
*** stanchan has joined #murano | 22:32 | |
*** jasonsb has quit IRC | 23:13 | |
*** ducttape_ has joined #murano | 23:25 | |
*** MVenesio has joined #murano | 23:37 | |
*** mragupat has quit IRC | 23:38 | |
*** alejandrito has quit IRC | 23:40 | |
*** MVenesio has quit IRC | 23:42 | |
*** mragupat has joined #murano | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!