Revert "Test creation of server attached to created port"

This reverts commit 2b34ec3ff4

This breaks gate-grenade-dsvm-ironic-sideways on
stable/juno because the requested port's mac address is not
in the list of available mac addresses from the ironic
driver.

It's also unclear how useful this is given we already have
the test_preserve_preexisting_port test which is
essentially testing the same scenario, except it's not
run on stable/icehouse or stable/juno since preserving
pre-existing ports in nova wasn't fixed until Kilo.

Change-Id: I24403c1ae734b2137ddee5c3bf5a1594cf5375d8
Closes-Bug: #1445917
This commit is contained in:
Matt Riedemann 2015-04-19 15:45:38 +00:00
parent 2b34ec3ff4
commit 92b63aa821
1 changed files with 0 additions and 19 deletions

View File

@ -649,22 +649,3 @@ class TestNetworkBasicOps(manager.NetworkScenarioTest):
self.assertEqual(self.network['id'], port['network_id'])
self.assertEqual('', port['device_id'])
self.assertEqual('', port['device_owner'])
@test.idempotent_id('51641c7d-119a-44cd-aac6-b5b9f86dd808')
@test.services('compute', 'network')
def test_creation_of_server_attached_to_user_created_port(self):
self.security_group = (
self._create_security_group(tenant_id=self.tenant_id))
network, subnet, router = self.create_networks()
kwargs = {
'security_groups': [self.security_group['id']],
}
port = self._create_port(network.id, **kwargs)
name = data_utils.rand_name('server-smoke')
server = self._create_server(name, network, port.id)
self._check_tenant_network_connectivity()
floating_ip = self.create_floating_ip(server)
self.floating_ip_tuple = Floating_IP_tuple(floating_ip, server)
self.check_public_network_connectivity(
should_connect=True)