[openstack-dev] [Openstack]Devstack error tgt process related to iscsi not getting started

2015-10-20 Thread Sumanth Sathyanarayana
Hi,

On running stack.sh, I am getting the below error related to tgt process,
which has
something to do with Cinder.

2015-10-20 23:28:24.030 | + echo_summary 'Starting Cinder'
2015-10-20 23:28:24.030 | + [[ -t 3 ]]
2015-10-20 23:28:24.030 | + [[ True != \T\r\u\e ]]
2015-10-20 23:28:24.030 | + echo -e Starting Cinder
2015-10-20 23:28:24.030 | + start_cinder
2015-10-20 23:28:24.031 | + local service_port=8776
2015-10-20 23:28:24.031 | + local service_protocol=http
2015-10-20 23:28:24.031 | + is_service_enabled tls-proxy
2015-10-20 23:28:24.033 | + return 1
2015-10-20 23:28:24.033 | + '[' tgtadm = tgtadm ']'
2015-10-20 23:28:24.033 | + is_service_enabled c-vol
2015-10-20 23:28:24.035 | + return 0
2015-10-20 23:28:24.035 | + sudo rm -f /etc/tgt/conf.d/stack.conf
2015-10-20 23:28:24.043 | + _configure_tgt_for_config_d
2015-10-20 23:28:24.043 | + [[ ! -d /etc/tgt/stack.d/ ]]
2015-10-20 23:28:24.044 | + is_ubuntu
2015-10-20 23:28:24.044 | + [[ -z deb ]]
2015-10-20 23:28:24.044 | + '[' deb = deb ']'
2015-10-20 23:28:24.044 | + sudo service tgt restart
2015-10-20 23:28:24.055 | stop: Unknown instance:
2015-10-20 23:28:24.589 | start: Job failed to start
2015-10-20 23:28:24.590 | + exit_trap
2015-10-20 23:28:24.590 | + local r=1
2015-10-20 23:28:24.591 | ++ jobs -p
2015-10-20 23:28:24.592 | + jobs=
2015-10-20 23:28:24.592 | + [[ -n '' ]]
2015-10-20 23:28:24.592 | + kill_spinner
2015-10-20 23:28:24.592 | + '[' '!' -z '' ']'
2015-10-20 23:28:24.592 | + [[ 1 -ne 0 ]]
2015-10-20 23:28:24.592 | + echo 'Error on exit'
2015-10-20 23:28:24.592 | Error on exit
2015-10-20 23:28:24.592 | + [[ -z /opt/stack/logs ]]
2015-10-20 23:28:24.592 | + /home/ubuntu/devstack/tools/worlddump.py -d
/opt/stack/logs
2015-10-20 23:28:25.341 | + exit 1

I see in the above log that the tgt process is somehow failing to restart.
So I tried to manually uninstall the process and re-install it
by
sudo apt-get install tgt
and I also tried sudo apt-get upgrade.
For both the scenarios,  I still got the below log:

After this operation, 670 kB of additional disk space will be used.
Selecting previously unselected package tgt.
(Reading database ... 68926 files and directories currently installed.)
Preparing to unpack .../tgt_1%3a1.0.43-0ubuntu4.1~14.04.2_amd64.deb ...
Unpacking tgt (1:1.0.43-0ubuntu4.1~14.04.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up tgt (1:1.0.43-0ubuntu4.1~14.04.2) ...
start: Job failed to start
invoke-rc.d: initscript tgt, action "start" failed.
dpkg: error processing package tgt (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 tgt
E: Sub-process /usr/bin/dpkg returned an error code (1)


I saw that there were similar issues raised earlier,
like
http://lists.openstack.org/pipermail/openstack-dev/2014-June/038157.html

But I did not find any clear solution. Has any body faced this issue
recently?

Thanks & Best Regards
Sumanth
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Openstack] [openstack] [murano] Deployment of Environment gives [yaql.exceptions.YaqlExecutionException]: Unable to run values error

2015-10-12 Thread Sumanth Sathyanarayana
Hi,

I am trying to add a simple app like MySql into a new enviroment from the
murano dashboard and trying to deploy the environment and I get the error -
"[yaql.exceptions.YaqlExecutionException]: Unable to run values"

I saw that this error/bug was already reported some time back and made sure
that my code has the changes mentioned in:
*https://review.openstack.org/#/c/119072/1/meta/io.murano/Classes/resources/Instance.yaml

- Bug#1364446*
*&*

*https://bugs.launchpad.net/murano/+bug/1359225
*

*But I still am getting the error even after restarting the murano-engine
and murano-api services. If anyone has any suggestion on how to deploy a
new environment, it would be very helpful.*

*Thanks & Best Regards*
*Sumanth*
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [murano] Murano code flow for custom development and combining murano with horizon in devstack

2015-09-28 Thread Sumanth Sathyanarayana
Thanks Kirill.

Would adding "[murano]” to the subject line suffice or pls let me know if
there is a separate mailing list for murano?

Let me try to clarify what I am asking over here.
So we have all these panels - 'Compute', 'Network', etc on Horizon
dashboard.
If I add another panel like 'Example1' in Horizon by changing the code of
openstack-dashboard inside horizon, it gets added. Similarly if I change
the code of murano-dashboard and add another panel 'Example2' it gets added
as a separate panel. Now, assuming I have some changes in Horizon's
openstack-dashboard(i.e. example 1) and some changes in
murano-dashboard(i.e. example2) is there a way of combining them into one
panel i.e. say along with Compute, Network, etc panels I have something
like a Murano panel under which both the changes of Horizon's
openstack-dashboard(example1 - subpanel) and murano-dashboard(example2 -
subpanel) be incorporated.

Would a simple copy paste of say all the changes in Horizon's
openstack-dashboard to murano-dashboard work or is there a better way of
handling it.  Is murano-dashboard and openstack-dashboard code flow similar
with all the different files like 'tables.py', 'form.py', 'views.py', etc?
Does murano have a tutorial page something similar to this -
http://docs.openstack.org/developer/horizon/topics/tutorial.html

Thanks & Best Regards
Sumanth

On Mon, Sep 28, 2015 at 3:56 AM, Kirill Zaitsev <kzait...@mirantis.com>
wrote:

> Hi, murano-dashboard works the same way any other horizon dashboard does.
>
> I’m not quite sure, what you meant by «combined and showed under one tab»,
> could you please elaborate?
> If you’re asking about debugging — you can install murano-dashboard
> locally and configure it to use remote cloud (i.e. devstack) as descried
> here
> http://murano.readthedocs.org/en/latest/install/manual.html#install-murano-dashboard
>  .
> If not — then I did’t quite understood what you asked in the first place =)
>
> Feel free to come and ask around in #murano — you might get help there
> faster then on ML =)
>
> --
> Kirill Zaitsev
> Murano team
> Software Engineer
> Mirantis, Inc
>
> On 26 Sep 2015 at 02:24:10, Sumanth Sathyanarayana (
> sumanth.sathyanaray...@gmail.com) wrote:
>
> Hello,
>
> Could anyone let me know if the changes in murano dashboard and horizon's
> openstackdashboard, both be combined and showed under one tab.
> i.e. say under Murano tab on the side left panel all the changes done in
> horizon and murano both appear.
>
> If anyone could point me to a link explaining custom development of murano
> and the code flow would be very helpful...
>
> Thanks & Best Regards
> Sumanth
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] Murano code flow for custom development and combining murano with horizon in devstack

2015-09-25 Thread Sumanth Sathyanarayana
Hello,

Could anyone let me know if the changes in murano dashboard and horizon's
openstackdashboard, both be combined and showed under one tab.
i.e. say under Murano tab on the side left panel all the changes done in
horizon and murano both appear.

If anyone could point me to a link explaining custom development of murano
and the code flow would be very helpful...

Thanks & Best Regards
Sumanth
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev