• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cyverse / atmosphere / 1041
37%
master: 37%

Build:
Build:
LAST BUILD BRANCH: script-chmod
DEFAULT BRANCH: master
Ran 29 Mar 2018 10:58PM UTC
Jobs 2
Files 445
Run time 47s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1041

Pull #599

travis-ci

web-flow
Fix unshelved instance failing to get fixed ip

I changed the name of add_fixed_ip, because we are taking a quite different
approach here. We delete all an instance's ports, and then instruct nova to
attach the instance to a subnet. Nova takes care of creating a port.

This fixes an outstanding issue in nova[0]. Our original approach is to keep
ports around and then just update the fixed ips. However, when an instance and
its port are created, they each have an availability zone, when we unshelve an
instance its AZ may change. If it does change, openstack fails to update the
device owner AZ of the port and attaching a fixed ip fails because no ports
exist in the AZ.

We also used to exit from add_fixed_ip if the instance already had a fixed ip.
However, we can no longer do this. Instances affected by this shelving bug,
will never have their fixed ips removed, so if we exited early. Instances that
need a new port (on the new AZ) would not receive a new port.

https://bugs.launchpad.net/nova/+bug/1759924[0]
Pull Request #599: Fix unshelved instance failing to get fixed ip

1071 of 7028 branches covered (15.24%)

Branch coverage included in aggregate %.

19 of 19 new or added lines in 2 files covered. (100.0%)

11984 of 28004 relevant lines covered (42.79%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1041.1 (DISTRIBUTION=cyverse) 29 Mar 2018 10:59PM UTC 0
36.27
Travis Job 1041.1
2 1041.2 (DISTRIBUTION=jetstream) 29 Mar 2018 10:58PM UTC 0
35.97
Travis Job 1041.2
Source Files on build 1041
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1041
  • Pull Request #599
  • PR Base - v31 (#1026)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc