Hi Chaitanya,

Since you are using our fab provisioning, it will provision the values in 
/etc/ifmap-server/basicauthusers.properties and also in respective places for 
clients (contrail-api, svc-monitor, schema-transformer, contrail-control and 
contrail-dns).

Please try (1) below.

You can also try stoping ifmap using "service ifmap stop" / supervisorctl –s 
unix:///tmp/supervisord_config.sock  and start it manually by "cd 
/usr/share/ifmap-server/; java -cp ./lib/ -jar ./irond.jar" and check the 
console messages for any errors / exception.

Thanks,
Sanju
From: Chaitanya Pemmaraju <[email protected]<mailto:[email protected]>>
Date: Tuesday, April 14, 2015 5:00 PM
To: Sanju Abraham <[email protected]<mailto:[email protected]>>
Cc: Ashish Ranjan <[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, Sachin Bansal 
<[email protected]<mailto:[email protected]>>
Subject: Re: [opencontrail-dev] issue with opencontrail installation on ubuntu

Hi Sanju,
Thanks for the response.
I have java-6-openjdk/ which gets installed as part of the quick start guide, 
will try commenting that line there. Also what uid/passwd pair in 
basicauthusers.properties , do you mean the following line
control-user:control-user-passwd.

thanks
Chaitanya

On Tue, Apr 14, 2015 at 4:41 PM, Sanju Abraham 
<[email protected]<mailto:[email protected]>> wrote:
Chaitanya,

Provision vrouter is getting stuck because contrail-api is not initialized 
completely and it is evident looking at the IFMAP log.

Please check the following:

1-> Version of Java. If you are using jdk7, enable sslv3 but commenting the 
line "jdk.tls.disabledAlgorithms=SSLv3" in 
/etc/java-7-openjdk/security/java.security
2-> Make sure the uid/passwd pair in basicauthusers.properties is updated 
accordingly.

Restart supervisor-config (service supervisor-config restart) and check the 
IFMAP and contrail-api logs. You can also check for port 8443, 8082 and 9100. 
They should be LISTENING.

Thanks,
Sanju

From: Chaitanya Pemmaraju <[email protected]<mailto:[email protected]>>
Date: Tuesday, April 14, 2015 4:18 PM
To: Ashish Ranjan <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, Sachin Bansal 
<[email protected]<mailto:[email protected]>>
Subject: Re: [opencontrail-dev] issue with opencontrail installation on ubuntu

Tried it still the same behavior, the only change is that now the messages in 
ifmap-server.log print the external mgmt address. They seem to start at the 
same time the python script is trying to run.

see below.

2015-04-14 16:13:50:950668: [[email protected]<mailto:[email protected]>] out: 
Skipping rewrite of this file
2015-04-14 16:13:50:950775: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] run: python 
/opt/contrail/utils/provision_vrouter.py --host_name ace35 --host_ip 10.2.1.35 
--api_server_ip 10.2.1.35 --oper add --admin_user admin --admin_password 
acelio1234 --admin_tenant_name admin --openstack_ip 10.2.1.35


ifmap-server.log

2015-04-14 16:17:22,890 [pool-1-thread-3] DEBUG  - EventProcessor: Processing 
BadChannelEvent on 10.2.1.35:35750:54
2015-04-14 16:17:22,890 [pool-1-thread-3] DEBUG  - EventProcessor: No session 
found for 10.2.1.35:35750:54
2015-04-14 16:17:25,893 [pool-5-thread-1] DEBUG  - ChannelAcceptor: New 
connection from 10.2.1.35:35773<http://10.2.1.35:35773> on port 8443
2015-04-14 16:17:25,895 [pool-6-thread-1] ERROR  - ChannelThread: Receiving 
request failed
2015-04-14 16:17:25,895 [pool-6-thread-1] ERROR  - ChannelThread: 
SSLHandshakeException: Client doesn't know about our certificate (?)
2015-04-14 16:17:25,896 [pool-6-thread-1] ERROR  - ChannelThread: Setting 
channel 10.2.1.35:35773:55 into state 'BROKEN'
2015-04-14 16:17:25,896 [pool-1-thread-4] DEBUG  - EventProcessor: Processing 
BadChannelEvent on 10.2.1.35:35773:55
2015-04-14 16:17:25,896 [pool-1-thread-4] DEBUG  - EventProcessor: No session 
found for 10.2.1.35:35773:55
2015-04-14 16:17:28,898 [pool-5-thread-1] DEBUG  - ChannelAcceptor: New 
connection from 10.2.1.35:35797<http://10.2.1.35:35797> on port 8443
2015-04-14 16:17:28,901 [pool-6-thread-1] ERROR  - ChannelThread: Receiving 
request failed
2015-04-14 16:17:28,901 [pool-6-thread-1] ERROR  - ChannelThread: 
SSLHandshakeException: Client doesn't know about our certificate (?)
2015-04-14 16:17:28,901 [pool-6-thread-1] ERROR  - ChannelThread: Setting 
channel 10.2.1.35:35797:56 into state 'BROKEN'
2015-04-14 16:17:28,901 [pool-1-thread-1] DEBUG  - EventProcessor: Processing 
BadChannelEvent on 10.2.1.35:35797:56
2015-04-14 16:17:28,902 [pool-1-thread-1] DEBUG  - EventProcessor: No session 
found for 10.2.1.35:35797:56
2015-04-14 16:17:31,903 [pool-5-thread-1] DEBUG  - ChannelAcceptor: New 
connection from 10.2.1.35:35818<http://10.2.1.35:35818> on port 8443
2015-04-14 16:17:31,905 [pool-6-thread-1] ERROR  - ChannelThread: Receiving 
request failed


Thanks
Chaitanya

On Tue, Apr 14, 2015 at 4:01 PM, Ashish Ranjan 
<[email protected]<mailto:[email protected]>> wrote:
Chaitanya,

  Pl do not give lo address in testbed.py file. Lets try with mgmt address. If 
this doesn't work we will take a look.

Once you are past this vrouter provisioning issue, pl revert back. Sachin can 
help you with authentication issue on ifmap.

thanks
Ashish


________________________________
Date: Tue, 14 Apr 2015 15:35:55 -0700
From: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Subject: [opencontrail-dev] issue with opencontrail installation on ubuntu


Hi,
I am trying to do a single node installation following the steps from

http://www.opencontrail.org/opencontrail-quick-start-guide/#_Getting_the_packages


Attached my tesbed.py file. I see that my installation process stalls at
fab setup_all where the command

python /opt/contrail/utils/provision_vrouter.py --host_name ace35 --host_ip 
127.0.0.1
            --api_server_ip 127.0.0.1 --oper add --admin_user admin 
--admin_password acelio1234
            --admin_tenant_name admin --openstack_ip 127.0.0.1

gets stuck.
Also i noticed in /var/log/contrail/ifmap-server.log I see the following errors 
being continuously printed.


2015-04-14 15:12:28,477 [pool-6-thread-1] ERROR  - ChannelThread:
            SSLHandshakeException: Client doesn't know about our certificate (?)
2015-04-14 15:12:28,477 [pool-6-thread-1] ERROR  - ChannelThread: Setting 
channel
            127.0.0.1:59964:391 into state 'BROKEN'
2015-04-14 15:12:28,477 [pool-1-thread-4] DEBUG  - EventProcessor: Processing
            BadChannelEvent on 127.0.0.1:59964:391
2015-04-14 15:12:28,477 [pool-1-thread-4] DEBUG  - EventProcessor: No session 
found
            for 127.0.0.1:59964:391
2015-04-14 15:12:31,479 [pool-5-thread-1] DEBUG  - ChannelAcceptor: New 
connection
            from 127.0.0.1:59983<http://127.0.0.1:59983> on port 8443
2015-04-14 15:12:31,481 [pool-6-thread-1] ERROR  - ChannelThread: Receiving 
request
            failed

ace35 is the hostname and its ip is 10.2.1.35, but on the testbed.py i gave the 
server ip as
127.0.0.1 since i was running the installation locally on the server.

I had a brief chat with "aranjan" on the #opencontrail channel on irc.


Thanks for the help.

-Chaitanya

_______________________________________________ Dev mailing list 
[email protected]<mailto:[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