Hi Sachin,

I followed Juniper install guide (http://www.juniper.net/techpubs/en_US/contrail3.0/topics/task/configuration/vcenter-integration-vnc.html#jd0e272).

1. I downloaded install packages Contrail deb package.

2. Then create testbed, setup esxi_hosts{} and vcenter.server.

3. Before i've started fabric command, changed cotrail_debs.tgz for .tgz from Ubuntu 14.04 + 04, because default tgz doesn't include packages like (contrail-openstack-dashboard, contrail-openstack-analytics, contrail-openstack-analytics...).

4. I used fabric command fab prov_esxi, fab setup_vcenter (with env.orchestrator = 'openstack' specification), fab install_pkg_all:<contrail deb package>, fab install_contrail.

5. Put contail-plugin to vcenter-compute, and run fab install_contrail_vcenter_plugin without eror/warning messages

6. After that i've executed fab setup_all and fabric give me a fatal, what i sent in previous mail.

I am using  kilo images 3.0.1.0-23

Pavel Cizinsky

On 05/31/2016 07:52 PM, Sachchidanand Vaidya wrote:
Can you describe the steps followed to setup vcenter-as-compute setup.
Are you using juno or kilo image?

BR/
Sachin

On 5/31/16, 7:12 AM, "Dev on behalf of Pavel Cizinsky"
<[email protected] on behalf of
[email protected]> wrote:

Hey,

I am trying run vCenter-as-Compute and have problem with contrail
vCenter plugin (version 3.0.1.0-23). When  I used fab setup_all and
fabric give me this fatal:

2016-05-31 08:54:52:206783: [[email protected]] out: [localhost] local:
ln -sf /bin/true /sbin/chkconfig
2016-05-31 08:54:52:456658: [[email protected]] out: [localhost] local:
sudo mv /tmp/tmp_K6Zvi/contrail-vcenter-plugin.conf
/etc/contrail/contrail-vcenter-plugin.conf
2016-05-31 08:54:52:460009: [[email protected]] out: [localhost] local:
sudo vcenter-plugin-setup.sh
2016-05-31 08:54:52:467428: [[email protected]] out:
contrail-vcenter-plugin: unrecognized service
2016-05-31 08:54:52:531103: [[email protected]] out:
2016-05-31 08:54:52:531202: [[email protected]] out: Fatal error:
local() encountered an error (return code 1) while executing 'sudo
vcenter-plugin-setup.sh'
2016-05-31 08:54:52:531262: [[email protected]] out:
2016-05-31 08:54:52:531321: [[email protected]] out: Aborting.

Is  vcenter plugin package allright?

root@ContrailVM:/tmp# dpkg -c
/tmp/contrail-vcenter-plugin_3.0.1.0-23_all.deb
drwxr-xr-x root/root         0 2016-04-01 06:26 ./
drwxr-xr-x root/root         0 2016-04-01 06:26 ./usr/
drwxr-xr-x root/root         0 2016-04-01 06:26 ./usr/share/
drwxr-xr-x root/root         0 2016-04-01 06:26
./usr/share/contrail-vcenter-plugin/
drwxr-xr-x root/root         0 2016-04-01 06:26
./usr/share/contrail-vcenter-plugin/lib/
-rw-r--r-- root/root   2189111 2013-02-25 19:55
./usr/share/contrail-vcenter-plugin/lib/guava-14.0.jar
-rw-r--r-- root/root    284220 2011-01-16 23:21
./usr/share/contrail-vcenter-plugin/lib/commons-lang-2.6.jar
-rw-r--r-- root/root    173590 2011-04-13 22:00
./usr/share/contrail-vcenter-plugin/lib/gson-1.7.1.jar
-rw-r--r-- root/root    779974 2012-11-19 01:57
./usr/share/contrail-vcenter-plugin/lib/zookeeper-3.4.5.jar
-rw-r--r-- root/root    427021 2012-06-29 22:54
./usr/share/contrail-vcenter-plugin/lib/httpclient-4.2.1.jar
-rw-r--r-- root/root    608777 2015-01-12 20:21
./usr/share/contrail-vcenter-plugin/lib/openstack4j-core-2.0.1.jar
-rw-r--r-- root/root    186293 2014-10-31 05:33
./usr/share/contrail-vcenter-plugin/lib/curator-framework-2.7.0.jar
-rw-r--r-- root/root    280983 2013-06-08 00:52
./usr/share/contrail-vcenter-plugin/lib/commons-net-3.3.jar
-rw-r--r-- root/root     13453 2015-01-12 20:22
./usr/share/contrail-vcenter-plugin/lib/openstack4j-jersey2-2.0.1.jar
-rw-r--r-- root/root    336580 2011-11-26 23:07
./usr/share/contrail-vcenter-plugin/lib/libthrift-0.8.0.jar
-rw-r--r-- root/root     53947 2014-01-03 03:22
./usr/share/contrail-vcenter-plugin/lib/commons-exec-1.2.jar
-rw-r--r-- root/root    481535 2010-03-31 06:25
./usr/share/contrail-vcenter-plugin/lib/log4j-1.2.16.jar
-rw-r--r-- root/root     23445 2009-06-11 13:58
./usr/share/contrail-vcenter-plugin/lib/slf4j-api-1.5.8.jar
-rw-r--r-- root/root    313898 2005-08-02 04:27
./usr/share/contrail-vcenter-plugin/lib/dom4j-1.6.1.jar
-rw-r--r-- root/root      7585 2009-06-11 13:58
./usr/share/contrail-vcenter-plugin/lib/slf4j-simple-1.5.8.jar
-rw-r--r-- root/root    270319 2014-10-31 05:34
./usr/share/contrail-vcenter-plugin/lib/curator-recipes-2.7.0.jar
-rw-r--r-- root/root   7757631 2015-01-12 20:24
./usr/share/contrail-vcenter-plugin/lib/openstack4j-2.0.1-withdeps.jar
-rw-r--r-- root/root    223374 2012-06-10 17:13
./usr/share/contrail-vcenter-plugin/lib/httpcore-4.2.1.jar
-rw-r--r-- root/root     69253 2014-10-31 05:33
./usr/share/contrail-vcenter-plugin/lib/curator-client-2.7.0.jar
-rw-r--r-- root/root    130694 2016-04-01 06:26
./usr/share/contrail-vcenter-plugin/juniper-contrail-vcenter-3.0-SNAPSHOT.
jar
drwxr-xr-x root/root         0 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/
drwxr-xr-x root/root         0 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/css/
-rw-r--r-- root/root      3743 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/css/DT_bootstrap.css
-rw-r--r-- root/root    106015 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/css/bootstrap.min.css
drwxr-xr-x root/root         0 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/css/images/
-rw-r--r-- root/root      1136 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/css/images/sort_both.png
-rw-r--r-- root/root      1050 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/css/images/sort_asc_disabled.png
-rw-r--r-- root/root      1118 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/css/images/sort_asc.png
-rw-r--r-- root/root      1045 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/css/images/sort_desc_disabled.png
-rw-r--r-- root/root      1127 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/css/images/sort_desc.png
-rw-r--r-- root/root      2364 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/css/style.css
drwxr-xr-x root/root         0 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/js/
-rw-r--r-- root/root    110156 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/js/jquery.dataTables.min.js
-rw-r--r-- root/root     28631 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/js/bootstrap.min.js
-rw-r--r-- root/root     83612 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/js/jquery-2.0.3.min.js
-rw-r--r-- root/root      2416 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/js/util.js
-rw-r--r-- root/root      4270 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/js/DT_bootstrap.js
-rw-r--r-- root/root     28124 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/universal_parse.xsl
-rw-r--r-- root/root       445 2016-04-01 06:25
./usr/share/contrail-vcenter-plugin/webs/vcenter-plugin.html
drwxr-xr-x root/root         0 2016-04-01 06:26 ./usr/share/doc/
drwxr-xr-x root/root         0 2016-04-01 06:26
./usr/share/doc/contrail-vcenter-plugin/
-rw-r--r-- root/root       158 2016-04-01 06:26
./usr/share/doc/contrail-vcenter-plugin/changelog.Debian.gz
-rw-r--r-- root/root       997 2016-04-01 06:25
./usr/share/doc/contrail-vcenter-plugin/copyright
lrwxrwxrwx root/root         0 2016-04-01 06:26
./usr/share/contrail-vcenter-plugin/juniper-contrail-vcenter.jar ->
juniper-contrail-vcenter-3.0-SNAPSHOT.jar

Can someone give me some tips, how fix this problem?

Thanks,

Pavel Cizinsky




_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to