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

cyverse / atmosphere / 1041 / 1
37%
master: 37%

Build:
Build:
LAST BUILD BRANCH: script-chmod
DEFAULT BRANCH: master
Ran 29 Mar 2018 10:59PM UTC
Files 445
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:50PM UTC coverage: 36.275% (+0.3%) from 35.96%
DISTRIBUTION=cyverse

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

1030 of 7041 branches covered (14.63%)

Branch coverage included in aggregate %.

11656 of 27931 relevant lines covered (41.73%)

0.42 hits per line

Source Files on job 1041.1 (DISTRIBUTION=cyverse)
  • Tree
  • List 0
  • Changed 56
  • Source Changed 53
  • Coverage Changed 54
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1
  • Travis Job 1041.1
  • ac601510 on github
  • Prev Job for DISTRIBUTION=cyverse on v31 (#1026.1)
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