To troubleshoot a cloud connection, make sure that the information for the cloud is
correct and that the components of the blueprint design server can access the cloud.
- Check the logs
- The default location for the blueprint design server logs is
/opt/ibm-ucd-patterns/logs.
The default location for the engine logs
is /var/log/heat/.
- Confirm software components
- Ensure that you installed all the necessary components. Regardless of which type of cloud you
are connecting to, the connection requires an OpenStack Keystone server, an engine, and a blueprint
design server. See Connecting to clouds through OpenStack Heat.
- Confirm prerequisite packages
- If you did not install the prerequisite packages on the computer that your engine is installed
on and provision to VMware, you might see this error message: Resource CREATE failed:
IOError: [Errno 2] No such file or directory: '/tmp/tmp1RkzaH/userdata.iso
To provision
to VMware, install the
genisoimage package. From the command line of the computer
that your engine is installed on, run the following command:
yum install -y genisoimage
- Confirm connection information
- The connection information for the cloud must match the information
on other systems. For example, the URL of the OpenStack identity service
must be exactly the same (including any trailing slashes) in the authentication
realm and on the allowed_auth_uris parameter
of the engine configuration file.
- Provide proxy connection information
- If you provision to Amazon Web Services and use a proxy server, you must provide the proxy
server URL and port.
- For a Linux operating system, create a file
that is named .boto in the
/home/user_name directory.
- For a Windows operating system, create a
file that is named boto.config in the
C:\Users\user_name directory. Then, set a
user environment variable that is named BOTO_CONFIG to the full
path of the file,
C:\Users\user_name\boto.config.
In the file that you created, add the following
lines:[Boto]
proxy=proxy_host_name
proxy_port=proxy_port_number
See
Boto Config.After you modify the
boto.config file, you must restart the cloud discovery service.
To restart the cloud discovery service, see Stopping the blueprint designer, cloud discovery service, and engine and Stopping the blueprint designer, cloud discovery service, and engine.
For more troubleshooting information, see the UrbanCode
community on IBM® developerWorks®: https://www.ibmdw.net/answers/questions/?community=urbancode.