*** Zer0Byte__ has quit IRC | 00:08 | |
*** _ody has joined #murano | 00:10 | |
*** sergmelikyan has quit IRC | 00:21 | |
*** sergmelikyan has joined #murano | 00:21 | |
*** sergmelikyan has quit IRC | 00:26 | |
*** sergmelikyan has joined #murano | 00:29 | |
*** wasmum has joined #murano | 00:37 | |
*** sergmelikyan has quit IRC | 00:39 | |
*** sergmelikyan has joined #murano | 00:40 | |
*** sergmelikyan has quit IRC | 00:44 | |
*** StanLagun has quit IRC | 00:47 | |
*** kzaitsev_mb has joined #murano | 00:49 | |
openstackgerrit | Merged openstack/murano: [Docs] Add info about using abstract dependencies between applications https://review.openstack.org/366103 | 00:54 |
---|---|---|
*** kzaitsev_mb has quit IRC | 01:02 | |
*** zhurong has joined #murano | 01:05 | |
*** StanLagun has joined #murano | 01:51 | |
*** kzaitsev_mb has joined #murano | 01:59 | |
*** lexplua has quit IRC | 02:56 | |
*** fragatina has quit IRC | 03:03 | |
openstackgerrit | Artem Tiumentcev proposed openstack/murano: [Doc] Add auth params to core library import instruction and add note about devstack https://review.openstack.org/366904 | 03:25 |
openstackgerrit | Artem Tiumentcev proposed openstack/murano: [Doc] Add auth params to core library import instruction https://review.openstack.org/366904 | 03:29 |
*** stanchan has joined #murano | 03:35 | |
*** kzaitsev_mb has quit IRC | 04:14 | |
openstackgerrit | Artem Tiumentcev proposed openstack/murano: [Doc] Add auth params to core library import instruction https://review.openstack.org/366904 | 04:15 |
*** fragatina has joined #murano | 04:26 | |
*** fragatina has quit IRC | 04:30 | |
*** kzaitsev_mb has joined #murano | 04:58 | |
*** kzaitsev_mb has quit IRC | 05:04 | |
*** kzaitsev_mb has joined #murano | 06:01 | |
*** Zer0Byte__ has joined #murano | 06:19 | |
*** Zer0Byte__ has quit IRC | 06:40 | |
*** Zer0Byte has joined #murano | 06:42 | |
openstackgerrit | Stan Lagun proposed openstack/murano: On-demand garbage collection https://review.openstack.org/364090 | 06:58 |
openstackgerrit | Stan Lagun proposed openstack/murano: Raise exception on call of method of destroyed object https://review.openstack.org/366560 | 06:58 |
openstackgerrit | Stan Lagun proposed openstack/murano: Pass receiver to :GC.subscribeDestruction explicitly https://review.openstack.org/366561 | 06:59 |
openstackgerrit | Stan Lagun proposed openstack/murano: Pass receiver to :GC.subscribeDestruction explicitly https://review.openstack.org/366561 | 07:02 |
openstackgerrit | Stan Lagun proposed openstack/murano: Serialization of destroyed objects https://review.openstack.org/366562 | 07:02 |
openstackgerrit | Stan Lagun proposed openstack/murano: Serialization of destruction dependencies https://review.openstack.org/366563 | 07:05 |
*** Zer0Byte has quit IRC | 07:05 | |
openstackgerrit | Stan Lagun proposed openstack/murano: GC.isDoomed() and GC.isDestroyed() functions were added https://review.openstack.org/366564 | 07:12 |
*** Zer0Byte has joined #murano | 07:26 | |
*** akholkin has joined #murano | 07:33 | |
openstackgerrit | Stan Lagun proposed openstack/murano: Remove duplicate Heat stack delete https://review.openstack.org/367796 | 07:48 |
*** kzaitsev_mb has quit IRC | 07:48 | |
*** StanLagun has quit IRC | 07:50 | |
*** samuelBartel has joined #murano | 07:57 | |
*** sdake has joined #murano | 09:02 | |
*** stanchan has quit IRC | 09:11 | |
*** sdake_ has joined #murano | 09:16 | |
*** caowei has joined #murano | 09:18 | |
*** sdake has quit IRC | 09:18 | |
*** kzaitsev_mb has joined #murano | 09:46 | |
*** sergmelikyan has joined #murano | 09:50 | |
*** sdake has joined #murano | 09:57 | |
*** sdake_ has quit IRC | 10:00 | |
*** lexplua has joined #murano | 10:02 | |
*** zhurong has quit IRC | 10:03 | |
openstackgerrit | Merged openstack/murano-agent: TrivialFix: Remove logging import unused https://review.openstack.org/367067 | 10:16 |
*** Nikolay_St has joined #murano | 10:26 | |
*** sdake_ has joined #murano | 10:31 | |
*** sdake has quit IRC | 10:33 | |
openstackgerrit | Merged openstack/murano-pkg-check: Improve logging system https://review.openstack.org/362276 | 10:56 |
openstackgerrit | Merged openstack/murano-pkg-check: Add i18n support https://review.openstack.org/365612 | 10:57 |
openstackgerrit | Victor Ryzhenkin (freerunner) proposed openstack/murano: Adjust region name for network selection in devstack https://review.openstack.org/364885 | 11:11 |
openstackgerrit | Victor Ryzhenkin (freerunner) proposed openstack/murano: Adjust region name for network selection in devstack https://review.openstack.org/364885 | 11:11 |
*** caowei has quit IRC | 11:17 | |
*** lexplua has quit IRC | 11:49 | |
*** lexplua has joined #murano | 11:55 | |
openstackgerrit | Omar Shykhkerimov proposed openstack/murano-agent: TrivialFix: Remove cfg import unused https://review.openstack.org/367068 | 12:14 |
openstackgerrit | Kirill Zaitsev proposed openstack/murano: Cleanup, clarify newton release-notes https://review.openstack.org/367427 | 12:15 |
*** lexplua has quit IRC | 12:16 | |
*** lexplua has joined #murano | 12:30 | |
openstackgerrit | Merged openstack/murano: Adjust region name for network selection in devstack https://review.openstack.org/364885 | 12:31 |
*** vakovalchuk has joined #murano | 12:34 | |
*** sdake_ is now known as sdake | 12:47 | |
openstackgerrit | Kirill Zaitsev proposed openstack/murano: Delete alternate DB migration branches https://review.openstack.org/365148 | 12:48 |
openstackgerrit | Tetiana Lashchova proposed openstack/murano: [Docs] Murano plug-ins https://review.openstack.org/348914 | 12:58 |
*** sdake has quit IRC | 13:05 | |
*** lexplua has quit IRC | 13:08 | |
*** lexplua has joined #murano | 13:08 | |
*** StanLagun has joined #murano | 13:27 | |
*** sdake has joined #murano | 13:30 | |
*** sergmelikyan has quit IRC | 13:31 | |
*** sergmelikyan has joined #murano | 13:32 | |
*** StanLagun has quit IRC | 13:39 | |
*** AlexeyAbashkin has joined #murano | 13:58 | |
*** StanLagun has joined #murano | 14:00 | |
*** fragatina has joined #murano | 14:01 | |
*** fragatina has quit IRC | 14:06 | |
*** lexplua has quit IRC | 14:20 | |
*** zhurong has joined #murano | 14:20 | |
*** kzaitsev_mb has quit IRC | 14:27 | |
*** lexplua has joined #murano | 14:30 | |
*** lexplua has quit IRC | 14:30 | |
*** Nikolay_St has quit IRC | 14:30 | |
*** lexplua has joined #murano | 14:30 | |
*** ducttape_ has joined #murano | 14:41 | |
*** zhurong has quit IRC | 14:48 | |
openstackgerrit | Merged openstack/python-muranoclient: Cleanup, clarify newton release-notes https://review.openstack.org/367636 | 14:51 |
*** lexplua has quit IRC | 14:56 | |
*** lexplua has joined #murano | 15:09 | |
*** kzaitsev_mb has joined #murano | 15:09 | |
*** wasmum has quit IRC | 15:10 | |
*** Zer0Byte__ has joined #murano | 15:10 | |
*** Nikolay_St has joined #murano | 15:44 | |
*** openstackgerrit has quit IRC | 15:49 | |
*** openstackgerrit has joined #murano | 15:49 | |
-openstackstatus- NOTICE: New setuptools release appears to have a circular import which is breaking many jobs - check for ImportError: cannot import name monkey. | 15:50 | |
*** ChanServ changes topic to "New setuptools release appears to have a circular import which is breaking many jobs - check for ImportError: cannot import name monkey." | 15:50 | |
*** Nikolay_St has quit IRC | 15:54 | |
openstackgerrit | Kirill Zaitsev proposed openstack/murano: Delete alternate DB migration branches https://review.openstack.org/365148 | 15:58 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/murano: Updated from global requirements https://review.openstack.org/368112 | 16:05 |
*** sergmelikyan has quit IRC | 16:07 | |
*** sergmelikyan has joined #murano | 16:08 | |
*** sergmelikyan has quit IRC | 16:08 | |
*** sergmelikyan has joined #murano | 16:09 | |
*** sdake has quit IRC | 16:28 | |
*** fragatina has joined #murano | 16:32 | |
*** samuelBartel has quit IRC | 16:37 | |
*** kzaitsev_mb has quit IRC | 16:41 | |
*** lexplua has quit IRC | 16:45 | |
*** sergmelikyan has quit IRC | 16:50 | |
*** sergmelikyan has joined #murano | 16:50 | |
*** sergmelikyan has quit IRC | 16:51 | |
*** sergmelikyan has joined #murano | 16:51 | |
*** ChanServ changes topic to "Wiki: https://wiki.openstack.org/wiki/Murano | Launchpad: https://launchpad.net/Murano" | 16:54 | |
-openstackstatus- NOTICE: setuptools 27.1.2 addresses the circular import | 16:54 | |
*** sergmelikyan has quit IRC | 16:56 | |
*** sergmelikyan has joined #murano | 17:00 | |
*** kzaitsev_mb has joined #murano | 17:04 | |
*** StanLagun has quit IRC | 17:06 | |
*** sergmelikyan has quit IRC | 17:12 | |
*** sergmelikyan has joined #murano | 17:14 | |
*** kzaitsev_mb has quit IRC | 17:17 | |
*** learnmore has joined #murano | 17:19 | |
learnmore | Is it possible to sleep/wait in a Yaql while loop? I would like to test for a certain condition and if it is not met, wait for several seconds and then re-check. | 17:21 |
*** sergmelikyan has quit IRC | 17:33 | |
*** sergmelikyan has joined #murano | 17:33 | |
*** sergmelikyan has quit IRC | 17:35 | |
*** sergmeli_ has joined #murano | 17:35 | |
*** sergmeli_ has quit IRC | 17:37 | |
*** fragatina has quit IRC | 17:39 | |
*** StanLagun has joined #murano | 17:39 | |
*** osh has joined #murano | 17:42 | |
*** sergmelikyan has joined #murano | 17:42 | |
*** fragatina has joined #murano | 17:43 | |
osh | learnmore: hi! there is no way to make cycle in YAQL | 17:44 |
osh | but in murano DSL you can use defined "sleep(seconds)" function | 17:45 |
learnmore | osh: Thank you. Where is the sleep function defined? I am deploying 2 applications in my environment. Each application creates an instance. The 2nd application needs to wait until the 1st applications' instance is created (need the floating ip) before it can proceed. Make sense? | 17:47 |
*** fragatina has quit IRC | 17:48 | |
*** sergmelikyan has quit IRC | 17:48 | |
*** sergmelikyan has joined #murano | 17:49 | |
*** lexplua has joined #murano | 17:49 | |
*** sergmelikyan has quit IRC | 17:53 | |
osh | learnmore: it is defined here https://github.com/openstack/murano/blob/master/murano/dsl/yaql_functions.py#L120 | 17:54 |
learnmore | My idea was to check if the instance is deployed and if not, then wait a few seconds and check again. Since this is not possible in yaql , I do not have a solution. When I deploy my environment, both applications create an instance simultaneously. But the 1st application's instance takes longer to create than the 2nd. | 17:54 |
learnmore | osh: Thanks for the pointer. | 17:55 |
osh | learnmore: how your applications are related with each other? | 17:55 |
osh | According to how I undestood what you said - you can build your applications as ZabbixAgent and ZabbixAgent are created. | 17:57 |
learnmore | osh: The first application is a database that will run on its own instance. The 2nd application on another instance requires the database. Before the 2nd application can complete, it needs the ip address of the database. | 17:57 |
osh | one depends on deploying of another | 17:57 |
learnmore | osh: I will look at the ZabbixAgent and Server packages. Thanks! I appreciate the help here. | 18:01 |
osh | You can take a look at WordPress app here https://github.com/openstack/murano-apps/blob/master/WordPress/package/Classes/WordPress.yaml#L49 It executes .deploy() method of Apach and will not move further in class untill deploy is finished | 18:02 |
*** xiangxinyong_ has joined #murano | 18:03 | |
osh | learnmore: you are welcome to ask your questions here! | 18:04 |
*** xiangxinyong has quit IRC | 18:06 | |
learnmore | osh: I initially tried to do something like in Wordpress and that is I had app. 2 deploy app.1 But this did not work because app. 1 deployed by itself as well. So I had the database starting on 2 instances. | 18:13 |
learnmore | osh: I will try this idea again and see if the same thing happens. | 18:15 |
*** lexplua has quit IRC | 18:15 | |
openstackgerrit | Valerii Kovalchuk proposed openstack/murano-dashboard: Add ability to delete any component in functional tests https://review.openstack.org/368175 | 18:17 |
openstackgerrit | Valerii Kovalchuk proposed openstack/murano-dashboard: Add ability to delete arbitrary component in functional tests https://review.openstack.org/368175 | 18:19 |
*** vakovalchuk has quit IRC | 18:22 | |
*** Ablu has joined #murano | 18:24 | |
Ablu | Hello, I am trying to install murano into my testbed | 18:24 |
Ablu | I installed the testbed with packstack and manually installed the murano-api rpm package afterwards | 18:25 |
Ablu | now how do I activate the murano dashboard with the openstack-dashboard which I installed via rpm? | 18:25 |
osh | learnmore: ok, let me know the results | 18:26 |
osh | Ablu: hi! I'm afraid that no one here has expertise in testbed, but you can try to ping kzaitsew_ws | 18:27 |
Ablu | osh: well you justed pinged him :P | 18:28 |
Ablu | osh: anyway thanks for the info | 18:28 |
Ablu | the setup.py of the murano dashboard looks like it would install some stuff at least... just not sure how to tell the openstack-dashboard to also include those parts... | 18:29 |
*** lexplua has joined #murano | 18:31 | |
*** fragatina has joined #murano | 18:34 | |
*** fragatina has quit IRC | 18:34 | |
*** fragatina has joined #murano | 18:34 | |
osh | Ablu: have you tried https://murano.readthedocs.io/en/stable-liberty/install/manual.html#install-murano-dashboard ? Starting from step 3 "tox -e venv -- pip install -e ../murano-dashboard" will install murano-dashboard to Horizon | 18:35 |
*** lexplua has quit IRC | 18:46 | |
*** lexplua has joined #murano | 18:47 | |
*** kzaitsev_mb has joined #murano | 19:16 | |
learnmore | osh: It did not work. Both apps deploy methods are being called at the same time. So it appears that Murano calls the 1st app (db app) and it does an instance deploy. Then my second app also calls the 1st apps deploy method and another instance deploy is done. It seems that there is some synchronization missing here. | 19:27 |
osh | learnmore: is it possible to share your applications? | 19:28 |
learnmore | osh: I do have the standard check: - If: not $.getAttr(deployed, false) | 19:28 |
*** akholkin has quit IRC | 19:38 | |
learnmore | osh: would it help if I showed you the yaml code in my class file. | 19:38 |
osh | learnmore: let's try! | 19:39 |
learnmore | osh: should I just paste it here? | 19:39 |
osh | please use paste.openstack.org | 19:39 |
*** sdake has joined #murano | 19:44 | |
learnmore | osh: see Paste #570304 for the code in my application that deploys the database first. | 19:51 |
learnmore | osh: see Paste #570306 for the code in my database application. | 19:55 |
osh | learnmore: anyway i'm 100% sure that the line ```- $._environment.reporter.report($this, 'Database has deployed.')``` is executed after ```- $.database.deploy()```. So what the logs in your environment do you receive? | 19:59 |
osh | the provided code seems correct to me | 19:59 |
osh | so you add to the environment only main application, yes? | 20:00 |
osh | btw: can you share the whole apps? | 20:00 |
*** ducttape_ has quit IRC | 20:03 | |
learnmore | osh: I put the output log here: Paste #570309. Sorry I can not share the whole app. | 20:06 |
Zer0Byte__ | learnmore what are you trying to do exactly? | 20:06 |
learnmore | osh: I do a quick deploy of the main app and since it requires a database app, it pulls in the database app too. Is this the problem? | 20:07 |
lexplua | hi folks ! | 20:13 |
Zer0Byte__ | hi | 20:14 |
learnmore | osh: In my manifest.yaml for my main app, I have this line: Require: com.example.database.xxxx: | 20:14 |
osh | learnmore: that's ok that you're not able to share it. (: Can I be sure that you just press quick deploy on your main app, fill in the whole information for your main app and subapp, and then deploy it? And you do not add your app to the env again? (: | 20:14 |
osh | it's totally correct (: | 20:15 |
lexplua | learnmore: If you need only one instance of database, you should call - $.setAttr(deployed, true) in the end of deploy of database application | 20:15 |
lexplua | without this line `not $.getAttr(deployed, false)` condition always false ) | 20:17 |
lexplua | and deployment run again | 20:18 |
lexplua | learnmore ^^ | 20:18 |
learnmore | lexplua: Yes, I do have that line - $.setAttr(deployed, true). But this will only be set after my database is fully up and running and this takes 10 minutes. | 20:18 |
lexplua | http://paste.openstack.org/show/570306/ where ? | 20:19 |
*** osh has quit IRC | 20:19 | |
learnmore | lexplua: see Paste #570312 | 20:23 |
Zer0Byte__ | and where | 20:23 |
lexplua | well, ok | 20:23 |
Zer0Byte__ | you set | 20:23 |
Zer0Byte__ | the attribute | 20:23 |
Zer0Byte__ | $.setAttr(deployed,true) | 20:23 |
lexplua | Zor0Byte__ line44 | 20:24 |
lexplua | Zer0Byte__ line44 | 20:24 |
Zer0Byte__ | i see just line 39 | 20:24 |
lexplua | learnmore , ok. In this case only 1 deploy, right ? | 20:24 |
Zer0Byte__ | wrong paste | 20:24 |
learnmore | lexplua: Yes it is. | 20:25 |
learnmore | lexplua: After I do the quick deploy and before I deploy this environment, the screen shows both my database app and the main app as ready to deploy. Is this expected? | 20:25 |
lexplua | learnmore and you want return from database`s deploy() faster, right ? | 20:25 |
lexplua | learnmore sure | 20:26 |
lexplua | oh | 20:26 |
learnmore | lexplua: no I don't care about making it faster. The deploy fails because it tries to deploy the database twice. | 20:26 |
lexplua | hmmm, can you show me your UI.yaml file ? | 20:26 |
lexplua | main app UI | 20:26 |
Zer0Byte__ | is wierd | 20:27 |
Zer0Byte__ | weird should work | 20:27 |
Zer0Byte__ | on this way | 20:27 |
Zer0Byte__ | question lexplua | 20:27 |
Zer0Byte__ | when you deploy the first time | 20:27 |
Zer0Byte__ | the deployment end correctly? | 20:27 |
lexplua | learnmore >>> both my database app and the main app as ready to deploy - it`s ok, sure. Why not ? | 20:27 |
lexplua | learnmore wow, i found | 20:30 |
learnmore | lexplua: It seems that Murano is deploying my database app and then my main app is deploying the database app too. So the synchronization should be around the deploy attribute, yes? | 20:30 |
lexplua | deploy: | 20:30 |
lexplua | Body: | 20:30 |
lexplua | - If: not $.database.getAttr(deployed, false) | 20:30 |
openstackgerrit | Sergey Slipushenko proposed openstack/murano-pkg-check: Added functional test base https://review.openstack.org/367534 | 20:31 |
lexplua | learnmore this is wrong, you can`t get attrs from other classes | 20:31 |
learnmore | lexplua: Ok. then what do I change it to? | 20:31 |
openstackgerrit | Sergey Slipushenko proposed openstack/murano-pkg-check: Added functional test base https://review.openstack.org/367534 | 20:32 |
learnmore | lexplua: I am very glad you can help me. | 20:32 |
lexplua | learnmore: you should just change this line to $.getAttr(deployed, false) for prevent main application double deploy | 20:33 |
openstackgerrit | Sergey Slipushenko proposed openstack/murano-pkg-check: Added docs autogeneration for error list https://review.openstack.org/366736 | 20:34 |
lexplua | learnmore: don`t forget to set attribute to true in the end of main application deployment | 20:34 |
learnmore | lexplua: But if I make this change, it won't solve the database being deployed twice. | 20:34 |
learnmore | lexpua: I originally had the code the way you suggested and had the same problem. | 20:35 |
learnmore | lexplua: If we can't do a getAttr from another class, it would be nice to get an error saying this. Do you agree? | 20:36 |
lexplua | learnmore: Sorry, it was mistake, you can. I have checked. | 20:40 |
learnmore | lexplua: Thank you for that info. So the code is ok. except I still have the db deploying twice. Weird. | 20:41 |
learnmore | lexplua: It seems to me that we need to know that a deploy is in progress/has started, not that it has finished. Is there any way to tell this? | 20:43 |
lexplua | learnmore AFAIK they run not parallel, consequent. | 20:44 |
learnmore | lexplua: If I remove the db deploy from my main app, then the 2 apps run in parallel, both create instances at the same time. | 20:46 |
learnmore | lexplua: I am looking for a way for my main app to wait for the db app to finished. Osh suggested I try to deploy the db app and that would prevent my main app from continuing until the db app was done. | 20:47 |
*** openstackstatus has quit IRC | 20:57 | |
*** openstackstatus has joined #murano | 20:57 | |
*** ChanServ sets mode: +v openstackstatus | 20:57 | |
learnmore | lexplua: This does look like a bug to me. Looking at the log again. The db app does create an instance and then following that the code in the main | 21:00 |
learnmore | lexplua: which was stalled because the first instance was being created is allowed to proceed and create another instance. I conclude that the synchronization can not be based on whether the deployed attribute is set. Do you agree? | 21:01 |
lexplua | learnmore i see only one "Deploying the database" message in log | 21:02 |
kzaitsev_mb | learnmore: all methods in MuranoPL are synchronized in java sense of the word | 21:02 |
kzaitsev_mb | so it's safe to say, that if you have a dependent app and you want to ensure it's deployed — just call it's .deploy | 21:03 |
learnmore | lexplua: the Deploying the database message comes from the main app...so you would only see one. Creating the instance message is coming from the db app and in the log we see 2. | 21:04 |
kzaitsev_mb | the catch is that it needs to be idempotent | 21:04 |
learnmore | kzaitsev_mb: Ok. I do call the deploy. Sorry to bother you. I just haven't figured out why it is creating an instance for my db app twice. I will try to figure it out on my own. | 21:05 |
kzaitsev_mb | https://github.com/openstack/murano-apps/blob/master/WordPress/package/Classes/WordPress.yaml#L49 here is a good example | 21:06 |
kzaitsev_mb | server is $.class(srv:ApacheHttpServer).notNull() | 21:06 |
kzaitsev_mb | and well if you would try to deploy it — you would see, that it only deploys once | 21:07 |
kzaitsev_mb | because it's .deploy() method is idempotent | 21:07 |
kzaitsev_mb | it's done in a cheesy way, by setting 'deployed' argument, but I guess you get the idea ) | 21:07 |
lexplua | learnmore: i can provide samples for you. This application written by me: https://github.com/openstack/murano-apps/tree/master/Clearwater/package/Classes. It depends from other application https://github.com/openstack/murano-apps/tree/master/BIND/package and create instance of BIND inside. It works 100% | 21:10 |
lexplua | leanmore: oh, kzaitsev_mb provide better example | 21:11 |
kzaitsev_mb | lexplua: it's our shortest and easiest example of dependent app =) | 21:12 |
*** StanLagu_ has joined #murano | 21:17 | |
Zer0Byte__ | hey kzaitsev_mb | 21:19 |
*** StanLagun has quit IRC | 21:20 | |
kzaitsev_mb | yep? =) | 21:23 |
*** wasmum has joined #murano | 21:39 | |
*** igormarnat has quit IRC | 21:44 | |
*** pashkin_ has quit IRC | 21:44 | |
*** rakhmerov has quit IRC | 21:44 | |
*** pashkin has joined #murano | 21:45 | |
*** katyafervent_awa has quit IRC | 21:45 | |
*** ativelkov_ has quit IRC | 21:45 | |
*** kzaitsev_ws has quit IRC | 21:45 | |
*** kzaitsev_ws has joined #murano | 21:47 | |
*** igormarnat has joined #murano | 21:47 | |
*** rakhmerov has joined #murano | 21:47 | |
*** ativelkov has joined #murano | 21:48 | |
*** katyafervent_awa has joined #murano | 21:49 | |
Zer0Byte__ | did you know if exist a way | 21:57 |
Zer0Byte__ | to wait until a package is finished deployed to perform a action? | 21:57 |
Zer0Byte__ | i mean without while or if | 21:57 |
lexplua | Zer0Byte__ maybe some static actions, but i not sure | 22:09 |
Zer0Byte__ | using while stop the template creating while i got the expected result | 22:13 |
Zer0Byte__ | and is stuck on the tree packages | 22:13 |
Zer0Byte__ | three | 22:13 |
Zer0Byte__ | or exist | 22:23 |
Zer0Byte__ | a way to set package priority | 22:23 |
Zer0Byte__ | ? | 22:23 |
kzaitsev_mb | Zer0Byte__: from where do you want to wait? | 22:24 |
Zer0Byte__ | im deploying 3 packages one of them should wait until windows instance is complely deployed to push the settings to the agent | 22:25 |
kzaitsev_mb | Zer0Byte__: you can say .some_app.instance.deploy() | 22:25 |
kzaitsev_mb | it would ensure it is deployed or would deploy it if it's not | 22:26 |
Zer0Byte__ | ok i give u a example | 22:28 |
Zer0Byte__ | the first package is windows | 22:29 |
Zer0Byte__ | and the second for example sql | 22:29 |
Zer0Byte__ | windows package can deploy standalone | 22:29 |
Zer0Byte__ | or with a sql dependency | 22:29 |
kzaitsev_mb | my answer is still the same =) | 22:29 |
Zer0Byte__ | but the second package need wait until the windows package is ready | 22:30 |
kzaitsev_mb | that doesn't change anything =) | 22:30 |
kzaitsev_mb | just call something.something.instance.deploy() | 22:31 |
kzaitsev_mb | the call will only return once the instance has been deployed | 22:31 |
Zer0Byte__ | let me try | 22:31 |
*** sdake has quit IRC | 22:40 | |
*** zhurong has joined #murano | 22:46 | |
*** lexplua has quit IRC | 22:50 | |
*** zhurong has quit IRC | 22:54 | |
openstackgerrit | Merged openstack/murano: Updated from global requirements https://review.openstack.org/368112 | 23:12 |
*** sdake has joined #murano | 23:22 | |
Zer0Byte__ | still there kzaitsev_mb ? | 23:41 |
*** kzaitsev_mb has quit IRC | 23:48 | |
*** StanLagun has joined #murano | 23:51 | |
*** StanLagu_ has quit IRC | 23:54 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!