新星/api/openstack/compute/attach_interfaces.py
これには、アタッチが失敗した理由を説明する多くの例外がありますが、ログには出力されませんが、http プロトコルを使用してクライアントまたは対応するサーバー プログラムに返されます。
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())
無料ダウンロード:
[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-メタデータ パンコビー