[R3.0-36]:docker provision failing during ceilometer setup

Bug #1582996 reported by alok kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Invalid
High
alok kumar
R3.0
Invalid
Low
alok kumar

Bug Description

The docker provision failing during ceilometer setup.
http://anamika.englab.juniper.net:8080/job/Docker_ubuntu-14-04_kilo_Multi_Node_Sanity/48/console

Setup is locked.

Config Nodes : [u'nodei13-vm1', u'nodek7-vm1']
Control Nodes : [u'nodei13-vm1', u'nodek7-vm1']
Compute Nodes : [u'nodeg28', u'nodeg29', u'nodeg30']
Openstack Node : nodek7-vm1
WebUI Node : nodei14-vm1
Analytics Nodes : [u'nodei13-vm1', u'nodek7-vm1']
Physical Devices : [u"'hooper¹²]

Virtual node ip:
nodei13-vm1 - 10.204.217.103
nodei14-vm1 - 10.204.217.232
nodek7-vm1 - 10.204.216.110

sandip has done initial analysis:

Hi Megh

Setup s locked.

Now I see this
root@nodei14-vm1/opt/contrail/utils/fabfile# sudo mongo --hos
192.168.196.1 --quiet --eval 'rs.add("192.68.196.2:27017").ok'
0
Something iswrong.Could you check root@10.204.217.103

Regard
Sandip
On 5/18/16, 10:47 AM, "Sandip Dey" <email address hidden> wrote:

+Megh

Hi Megh>>
The mongodb cluster provisioning failed as

sudo: mongo --host 192.168.196.1 --quiet --eval
'rs.add("192.168.196.2:27017").ok’ returned ‘0’ , expected value is ‘1’.

When I ran the same command on the setup, it returned me ‘1’

root@nodei14-vm1:~# sudo mongo --host 192.168.196.1 --quiet --eval
'rs.add("19.168.196.2:27017").ok'
1

Could it be a timing issu?

I see in the code that , we are not retrying this command like the other
mongodb commans.Is there any specific reason that we are not retrying
this command?

# Add replicaSet members
        for other_ip in mongodb_ip_list:
           if ip == other_ip:
                continue
            cmd = "mongo --host " + ip + \
                " --quiet --eval 'rs.add(\"" + other_ip + ":27017\").ok'"
            verify_command_succeeded(cmd = cmd, expected_output = "1",
                                     error_str = "Not able to add " + \
                                         other_ip + " to replicaSet",
                                     max_count = 1, sleep_interval = 1,
                                     warn_only = False)

Regards
Sandip

Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Changed in juniperopenstack:
importance: Undecided → High
tags: added: blocker
Raj Reddy (rajreddy)
tags: added: analytics
Raj Reddy (rajreddy)
Changed in juniperopenstack:
assignee: nobody → Megh Bhatt (meghb)
Revision history for this message
Megh Bhatt (meghb) wrote :

We need to figure out the errmsg when rs.add() failed and then decide if a retry will work or not.
Please provide access to the setup and the commands to run to see this failure.

Changed in juniperopenstack:
status: New → Incomplete
assignee: Megh Bhatt (meghb) → alok kumar (kalok)
Revision history for this message
Sudheendra Rao (sudheendra-k) wrote :

this problem is not seen on latest builds, will provide required details if it's seen again.

tags: removed: blocker
Raj Reddy (rajreddy)
Changed in juniperopenstack:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.