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

cyverse / atmosphere / 1042 / 2
37%
master: 37%

Build:
Build:
LAST BUILD BRANCH: script-chmod
DEFAULT BRANCH: master
Ran 29 Mar 2018 11:07PM UTC
Files 444
Run time 14s
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

29 Mar 2018 10:59PM UTC coverage: 35.675% (+0.02%) from 35.657%
DISTRIBUTION=jetstream

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

1009 of 7055 branches covered (14.3%)

Branch coverage included in aggregate %.

11482 of 27958 relevant lines covered (41.07%)

0.41 hits per line

Source Files on job 1042.2 (DISTRIBUTION=jetstream)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1
  • Travis Job 1042.2
  • edb50948 on github
  • Prev Job for DISTRIBUTION=jetstream on v31 (#1026.2)
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