Openstack: nova: Schnittstelle anhängen fehlgeschlagen

nova/api/openstack/compute/attach_interfaces.py

Dabei gibt es viele Ausnahmen, die erklären, warum der Attach fehlgeschlagen ist, die aber nicht im Log ausgedruckt, sondern über das http-Protokoll an den Client bzw. das entsprechende Serverprogramm zurückgesendet werden.

        try:
            vif = self.compute_api.attach_interface(context,
                instance, network_id, port_id, req_ip, tag=tag)
        except (exception.InterfaceAttachFailedNoNetwork,
                exception.NetworkAmbiguous,
                exception.NoMoreFixedIps,
                exception.PortNotUsable,
                exception.AttachInterfaceNotSupported,
                exception.SecurityGroupCannotBeApplied,
                exception.NetworkInterfaceTaggedAttachNotSupported,
                exception.NetworksWithQoSPolicyNotSupported,
                exception.InterfaceAttachPciClaimFailed,
                exception.InterfaceAttachResourceAllocationFailed,
                exception.ForbiddenPortsWithAccelerator,
                exception.ForbiddenWithRemoteManagedPorts,
                exception.ExtendedResourceRequestOldCompute,
                ) as e:
            raise exc.HTTPBadRequest(explanation=e.format_message())

Kostenloser Download:
[cis2-1 (overcloudrc) httpd]$ ls
aodh-bee cinder-bee heat-bee horizon manila-bee nova-bee nova-placement
barbican-bee gnocchi-bee heat-bee-cfn keystone neutron- bee nova- Metadaten Panko-Biene

Supongo que te gusta

Origin blog.csdn.net/qq_36428903/article/details/130508477
Recomendado
Clasificación