Project

General

Profile

Bug #20589

remote.cidr is wrong, the netaddr returns wrong cidr

Added by Vasu Kulkarni over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Urgent
Assignee:
-
Category:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

This is on pluto machine in octo lab. I am not sure this was always the case before but we need to fix this asap.

https://github.com/ceph/teuthology/blob/master/teuthology/orchestra/remote.py#L128

[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import netaddr
netaddr.IPNetwork('10.8.129.101/21').cidr

IPNetwork('10.8.128.0/21')

History

#1 Updated by Zack Cerza over 6 years ago

What is the bug here exactly?

#2 Updated by Vasu Kulkarni over 6 years ago

  • Status changed from New to Rejected

Not a bug, It was mistake from my part that /21 didn't address 129.0 network in my case.

Also available in: Atom PDF