Hi, Vahid!

- Modified /home/stack/workspace/murano/devstack/plugin.sh based on Gosha's 
suggestion and replaced 
MURANO_REPO=${MURANO_REPO:-${GIT_BASE}/openstack/murano.git}with 
MURANO_REPO=/home/stack/workspace/murano.

Unfortunately, I’m not sure, that using local path as MURANO_REPO will work. At 
least, because I never heard about use cases like this.
But looks like you are given it a try. So, I suggest you to make sure, that you 
executed ./unstack and ./clean.sh scripts, before start deployment. If you 
using clean host, this one not needed.
Also, I think that is not needed to change plugin’s code. You can define 
MURANO_REPO=/home/stack/… in your localrc/local.conf file and use 
"enable_plugin murano https://github.com/openstack/murano»

What about suggestions, how to test your local changes. 
I see a two easy ways to do it without using local repositories.
1. Deploy devstack with murano from master as is using plugin or libs and 
replace old files in /opt/stack/murano with new ones, that you changed. After 
this need to restart murano services.
2. Upload your changes to gerrit, and use as 
MURANO_REPO=https://review.openstack.org/openstack/murano and 
MURANO_BRANCH=<refs/changes/…/.../…>. 

Both of methods are good.

But this errors on me when I run ./stack.sh:
        ERROR: openstack Conflict occurred attempting to store user - Duplicate 
Entry (HTTP 409) (Request-ID: req-805b487c-44fe-4155-8349-65362c2a34ee)
It will be really good, if you can give more information (I mean full, or last 
part of deployment log)

Best Regards!
-- 
Victor Ryzhenkin
Junior QA Engeneer
freerunner on #freenode

Включено 26 августа 2015 г. в 2:49:46, Vahid S Hashemian 
([email protected]) написал:

OK. So I'm still having some issues with this.

Here's what I have done:

- Followed instructions on 
http://murano.readthedocs.org/en/latest/install/development.htmlup to step 4
        * cloned murano into /home/stack/workspace/murano
        * cloned devstack into /home/stack/devstack

- Modified /home/stack/workspace/murano/devstack/plugin.sh based on Gosha's 
suggestion and replaced 
MURANO_REPO=${MURANO_REPO:-${GIT_BASE}/openstack/murano.git}with 
MURANO_REPO=/home/stack/workspace/murano.

- Modified /home/stack/devstack/local.conf and added enable_plugin murano 
/home/stack/workspace/murano

But this errors on me when I run ./stack.sh:
        ERROR: openstack Conflict occurred attempting to store user - Duplicate 
Entry (HTTP 409) (Request-ID: req-805b487c-44fe-4155-8349-65362c2a34ee)

I appreciate some clarification. Thanks.

Regards,
-----------------------------------------------------------------------------
Vahid Hashemian, Ph.D.
Advisory Software Engineer, IBM Cloud Labs              





From:        Vahid S Hashemian/Silicon Valley/IBM@IBMUS
To:        "OpenStack Development Mailing List \(not for usage questions\)" 
<[email protected]>
Date:        07/10/2015 04:02 PM
Subject:        Re: [openstack-dev] [Murano] Documentation on how to        
Start        Contributing



Thanks Nikolay and Gosha.

As Gosha mentioned I'd like to be able to integrate my local changes to Murano 
into my devstack installation.  
I figured for UI changes I can probably make the changes directly to the file 
and restart my apache2 service.  
However, I am looking for an easy way to test back-end changes, like if I had 
to modify how a particular CLI behaves, and test it in my devstack environment.

Gosha, thanks for the info you sent. Can you clarify something though?

In local.conf there is a line "enable_plugin murano 
https://github.com/openstack/murano"; pointing to the Murano's github 
repository.  
In plugin.sh, on the other hand, there is a line 
"MURANO_REPO=${MURANO_REPO:-${GIT_BASE}/openstack/murano.git}" that also 
another configuration for Murano repository.
Are these two related? Should I modify both for the purpose I mentioned above?  
Also, I cannot find a "murano.git" file on my server (as referenced in line 17 
of plugin.sh). Should I use something like "/home/stack/murano/.git" instead?  

Thank you again for your help.  

Regards,
-----------------------------------------------------------------------------
Vahid Hashemian, Ph.D.
Advisory Software Engineer, IBM Cloud Labs              






From:        Georgy Okrokvertskhov <[email protected]>
To:        "OpenStack Development Mailing List (not for usage questions)" 
<[email protected]>
Date:        07/10/2015 07:45 AM  
Subject:        Re: [openstack-dev] [Murano] Documentation on how to Start      
  Contributing  



Hi,

If I understand correctly, you want to be able to install modified Murano from 
your own repository. There is a devstack integration script in Murano 
repository which does this. Here are lines where you can point to specific 
repository for Murano installation in devstack: 
https://github.com/openstack/murano/blob/master/devstack/plugin.sh#L17-L18

Installation procedure in the README.rst file in the folder devstack of murano 
repository.

Thanks
Gosha

On Thu, Jul 9, 2015 at 9:54 PM, Nikolay Starodubtsev 
<[email protected]> wrote:
Hi,
Can you describe what problems do you have with "bring code changes into a live 
Devstack environment, and test them".
If you want a real-time Q&A experience you can ask your questions at #murano on 
freenode.

                                 
Nikolay Starodubtsev  
Software Engineer  
Mirantis Inc.  

Skype: dark_harlequine1

2015-07-10 2:32 GMT+03:00 Vahid S Hashemian <[email protected]>:  
Hello,  

I am wondering if there is any documentation for new contributors that explains 
how to get up-to-speed with Murano development; something that covers how to 
bring code changes into a live Devstack environment, and test them.  
I've looked at the Murano documentation online and have not been able to find 
it.  

Any pointer is very much appreciated.

Thanks.  
-----------------------------------------------------------------------------

Vahid Hashemian, Ph.D.
Advisory Software Engineer, IBM Cloud Labs              



__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




--  
Georgy Okrokvertskhov
Architect,
OpenStack Platform Products,
Mirantis
http://www.mirantis.com
Tel. +1 650 963 9828
Mob. +1 650 996 
3284__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__________________________________________________________________________  
OpenStack Development Mailing List (not for usage questions)  
Unsubscribe: [email protected]?subject:unsubscribe  
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev  
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to