Deploy failed: Duplicate Entry (HTTP 409)

Bug #1519349 reported by Vasily Gorin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Vasily Gorin

Bug Description

CI: https://product-ci.infra.mirantis.net/job/8.0.system_test.ubuntu.ha_neutron_tun_scale/50/testReport/(root)/neutron_tun_scalability/

Scenario:
            1. Create cluster
            2. Add 1 controller node
            3. Deploy the cluster
            4. Check swift, and invoke swift-rings-rebalance.sh
               on primary controller if check failed
            5. Add 2 controller nodes
            6. Deploy changes
            7. Check swift, and invoke swift-rings-rebalance.sh
               on primary controller if check failed
            8. Run OSTF
            9. Add 2 controller 1 compute nodes
            10. Deploy changes

Actual result:

Step 10: Deploy failed on node-1 (primary-controller)

Log astute.log:
2015-11-24T05:48:47 info: [664] 129a484e-7868-4bc8-b03d-347df7026e1f: Finished deployment of nodes => roles: {"1"=>"primary-controller"}

2015-11-24T05:48:47 info: [664] Casting message to Nailgun:
{"method"=>"deploy_resp",
 "args"=>
  {"task_uuid"=>"129a484e-7868-4bc8-b03d-347df7026e1f",
   "nodes"=>
    [{"uid"=>"1",
      "status"=>"error",
      "error_type"=>"deploy",
      "role"=>"primary-controller",
      "task"=>
       {"priority"=>4600,
        "type"=>"puppet",
        "uids"=>["1"],
        "parameters"=>
         {"puppet_modules"=>"/etc/puppet/modules",
          "puppet_manifest"=>
           "/etc/puppet/modules/osnailyfacter/modular/glance/keystone.pp",
          "timeout"=>1800,
          "cwd"=>"/"}}}]}}

Log puppet.log on node-1:

2015-11-24 05:48:20 +0000 Puppet (debug): Executing '/usr/bin/openstack domain list --quiet --format csv'
2015-11-24 05:48:22 +0000 Puppet (debug): Executing '/usr/bin/openstack user create --format shell glance --enable --password a4a69VB1cLyprUCKB9HRswm3 --email glance@localhost --domain Default'
2015-11-24 05:48:25 +0000 Puppet (err): Execution of '/usr/bin/openstack user create --format shell glance --enable --password a4a69VB1cLyprUCKB9HRswm3 --email glance@localhost --domain Default' returned 1: Conflict occurred attempting to store user - Duplicate Entry (HTTP 409) (Request-ID: req-a19c5041-c98c-45c2-b5da-84da1c2a4810)

Revision history for this message
Vasily Gorin (vgorin) wrote :
Vasily Gorin (vgorin)
summary: - Duplicate Entry (HTTP 409)
+ Deploy failed: Duplicate Entry (HTTP 409)
Changed in fuel:
status: New → Confirmed
tags: added: area-python swarm-blocker
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Fuel Library Team (fuel-library)
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

This is related to https://bugs.launchpad.net/fuel/+bug/1485638, but that bug is marked as medium and this one high. I'll let MOS Puppet team decide here

tags: added: area-mos
removed: area-python
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → MOS Puppet Team (mos-puppet)
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

I'm trying to reproduce this issue. Currnetly that SWARM test is affected by another deployment problem this swift

Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

This test is affected by another bug https://bugs.launchpad.net/fuel/+bug/1496299 . So, It's not possible to get this reproduced.

Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

Can you please try to reproduce it again?

Changed in fuel:
assignee: MOS Puppet Team (mos-puppet) → Vasily Gorin (vgorin)
Vasily Gorin (vgorin)
Changed in fuel:
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.