<div dir="ltr"><div><div><div><font>hi all:<br></font></div><font>   I used euca2tool3.1.10 to test ec2 api.but when I do cmd "euca-describle-address", it return error, like this:<br></font></div><font>   error(notImplementedError):unknown error occured<br>

    <br>    my <span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">environment:<br>

</span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">    two float IPs:<br>

</span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">    200.200.130.3-> </span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">bingding a instance<br>

</span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">   200.200.130.4->no bingding<br>

   <br></span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">   if  I do cmd "</span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">euca-describle-addres </span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">200.200.130.4</span>", it return OK.<br>

</span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">   if  </span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">I do cmd "</span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">euca-describle-addres </span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">200.200.130.4</span>", it return:<br>

  </span></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"> error(notImplementedError):unknown error occured<br>

    </span></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"> if  </span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">I do cmd "</span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">euca-describle-addres</span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"></span>", it return:<br>

   </span></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"> error(notImplementedError):unknown error occured<br>

    <br></span></span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">     so I think it is error with floatIP which is bingding in a instance.<br>

</span></span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">     I find the code about this:<br>

</span></span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">     nova/api/ec2/cloud.py<br>

     def _format_address(self, context, floating_ip):<br>        ec2_id = None<br>    <span style="color:rgb(255,0,0)">    if floating_ip['fixed_ip_id']:<br>            fixed_id = floating_ip['fixed_ip_id']<br>

            fixed = self.network_api.get_fixed_ip(context, fixed_id)<br>            if fixed['instance_uuid'] is not None:<br>                ec2_id = ec2utils.id_to_ec2_inst_id(fixed['instance_uuid'])</span><br>

        address = {'public_ip': floating_ip['address'],<br>                   'instance_id': ec2_id}<br>        if context.is_admin:<br>            details = "%s (%s)" % (address['instance_id'],<br>

                                   floating_ip['project_id'])<br>            address['instance_id'] = details<br>        return address<br></span></span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">  <br>

</span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">     if floatIP which bingding instance, it will enter in the red code. it will<br>

</span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px">enter function  "</span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="color:rgb(255,0,0)">.get_fixed_ip(</span></span></span></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="color:rgb(255,0,0)"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="color:rgb(255,0,0)">context, fixed_id</span></span></span>)</span></span></span>", but in </span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="color:rgb(255,0,0)">"get_finxd_ip":<br>

</span></span></span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="color:rgb(255,0,0)"><font color="#000000">      nova/network/neutronv2/api.py:<br>

         def get_fixed_ip(self, context, id):<br>        """Get a fixed ip from the id."""<br>        raise NotImplementedError()<br> <br></font></span></span></span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="color:rgb(255,0,0)"><font color="#000000">      <span style="color:rgb(255,0,0)">   it raise exception </span></font></span></span></span></font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;font-size:18px;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;font-size:18px;white-space:normal;font-family:arial;word-spacing:0px"><font><span style="color:rgb(255,0,0)"><font color="#000000"><span style="color:rgb(255,0,0)">NotImplementedError. </span><br>

<br></font></span></font></span></span></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><font><span style="color:rgb(255,0,0)"><font color="#000000">  so I have two questions:<br>

</font></span></font></span></span></font></div><div><font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><font><span style="color:rgb(255,0,0)"><font color="#000000">1. the method of the test is  OK?whether I do cmd error?<br>

2. whether the neutron client unsupport get_fixed_ip by id?<br><br>thanks!<br>lizheming</font></span></font></span></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;white-space:normal;font-family:arial;word-spacing:0px"><font><span style="color:rgb(255,0,0)"><font color="#000000"></font></span></font></span></span></font></div>
<font>
</font><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:22px;color:rgb(51,51,51);text-transform:none;font-size:18px;white-space:normal;font-family:arial;word-spacing:0px"><br>

  <br></span></div></div>