[ 
https://issues.apache.org/jira/browse/VCL-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412787#comment-13412787
 ] 

Young-Hyun commented on VCL-590:
--------------------------------

Curtis, 

I've tried to reproduce the issue but I got the $instance_id. The $instance_id 
only get when the computer is pingable. Otherwise it will be null. 

You can test whether the computer is pingable like below. 

        if(_pingnode($computer_shortname))
        {
                $instance_id = $self->_get_instance_id;
                notify($ERRORS{'OK'}, 0, "instance id: $instance_id is done");
                if(!$instance_id)
                {
                        notify($ERRORS{'DEBUG'}, 0, "unable to get instance id 
for $computer_shortname");
                        return 0;
                }
        } else {
               notify($ERRORS{'DEBUG'}, 0, "unable to ping to 
$computer_shortname");
       }

                
> Openstack Essex Module
> ----------------------
>
>                 Key: VCL-590
>                 URL: https://issues.apache.org/jira/browse/VCL-590
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>    Affects Versions: 2.2.1
>         Environment: OpenStack Essex with Ubuntu 12.04 x64 server
>            Reporter: Young-Hyun
>         Attachments: openstack_euca2ool.pm, openstack_nova_api .pm
>
>
> The OpenStack module supports the VCL provisioning module for OpensStack 
> Essex that is open source software for building private and public clouds 
> (http://www.openstack.org/)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to