Activity log for bug #1491660

Date Who What changed Old value New value Message
2015-09-02 23:42:11 Mark Kirkwood bug added bug
2015-09-02 23:44:04 Mark Kirkwood description There appears to be no way to separate storage and replication networks in swift-object-device and friends. The naive way doing something like: class profiles::swift::stor { $storage_ip = hiera('profiles::swift::storage_ip') $replication_ip = hiera('profiles::swift::replication_ip') @@ring_object_device { "${storage_ip}:6000R${replication_ip}:/6010/${name}": region => hiera('profiles::swift::region', 1), zone => hiera('profiles::swift::zone', 1), weight => hiera('profiles::swift::weight', 1), } ...while this sets up the two networks ok in the ring, it confuses the provider utterly and it tries to add the device repeatedly even if it is already there (I'm guessing - not a ruby pro - that it is comparing the storage part of the ring builder output to the entire passed in storage + replication string). If I've understood the problem properly this might be easy to correct! There appears to be no way to separate storage and replication networks in swift-object-device and friends. My naive attempt was this: class profiles::swift::stor {   $storage_ip = hiera('profiles::swift::storage_ip')   $replication_ip = hiera('profiles::swift::replication_ip')   @@ring_object_device { "${storage_ip}:6000R${replication_ip}:/6010/${name}":       region => hiera('profiles::swift::region', 1),       zone => hiera('profiles::swift::zone', 1),       weight => hiera('profiles::swift::weight', 1),   } ...while this sets up the two networks ok in the ring, it confuses the provider utterly and it tries to add the device repeatedly even if it is already there (I'm guessing - not a ruby pro - that it is comparing the storage part of the ring builder output to the entire passed in storage + replication string). If I've understood the problem properly this might be easy to correct!
2015-09-02 23:44:37 Mark Kirkwood description There appears to be no way to separate storage and replication networks in swift-object-device and friends. My naive attempt was this: class profiles::swift::stor {   $storage_ip = hiera('profiles::swift::storage_ip')   $replication_ip = hiera('profiles::swift::replication_ip')   @@ring_object_device { "${storage_ip}:6000R${replication_ip}:/6010/${name}":       region => hiera('profiles::swift::region', 1),       zone => hiera('profiles::swift::zone', 1),       weight => hiera('profiles::swift::weight', 1),   } ...while this sets up the two networks ok in the ring, it confuses the provider utterly and it tries to add the device repeatedly even if it is already there (I'm guessing - not a ruby pro - that it is comparing the storage part of the ring builder output to the entire passed in storage + replication string). If I've understood the problem properly this might be easy to correct! There appears to be no way to separate storage and replication networks in swift-object-device and friends. My naive attempt was this: class profiles::swift::stor {   $storage_ip = hiera('profiles::swift::storage_ip')   $replication_ip = hiera('profiles::swift::replication_ip')   @@ring_object_device { "${storage_ip}:6000R${replication_ip}:6010/${name}":       region => hiera('profiles::swift::region', 1),       zone => hiera('profiles::swift::zone', 1),       weight => hiera('profiles::swift::weight', 1),   } ...while this sets up the two networks ok in the ring, it confuses the provider utterly and it tries to add the device repeatedly even if it is already there (I'm guessing - not a ruby pro - that it is comparing the storage part of the ring builder output to the entire passed in storage + replication string). If I've understood the problem properly this might be easy to correct!
2015-12-10 18:40:05 Adam Vinsh puppet-swift: assignee Adam Vinsh (adam-vinsh)
2015-12-10 18:40:25 Adam Vinsh puppet-swift: status New In Progress
2016-04-07 00:42:08 OpenStack Infra puppet-swift: assignee Adam Vinsh (adam-vinsh) Mark Kirkwood (mark-kirkwood)
2016-04-29 20:57:40 Cody Herriges puppet-swift: importance Undecided Wishlist
2016-10-20 19:32:54 OpenStack Infra puppet-swift: assignee Mark Kirkwood (mark-kirkwood) Alex Schultz (alex-schultz)