Understanding CloudBolt’s Errors

Problem Scenario
In CloudBolt (the Cloud Management Platform), you run a job to create a server.  The job stops progressing.  The GUI shows “Failed Order … provisioning nameOfServer” with a bar that has the left most 5% red and the rest of the 95% gray.  What do you do to create the server?

Answer
The server may be created; there may have been a small error when the job ran. 

How To Resolve “Certificate_Verify_Failed” error when trying an AWS CLI command?

Problem Scenario  You try to use an AWS CLI command, but you get an error.  The error says “[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:…)”

Possible solutions

#1  Redo the AWS configuration.  Issue this command: aws configure
Leave the AWS Access Key ID and the AWS Secret Access Key the way they are.  Look at the “Default region name.”  Verify there is no letter at the end. 

Python Quiz

(For the DevOps and ETL Quiz, click here.)

Python Quiz

1.  What is an iterator in Python?

A)  A stream of data that is manipulated or interacted with as an object.
B)  A function that returns a namespace.
C)  A module of nested objects.
D)  A function that returns packages.

2.  Which module in Python allows you to translate strings to and from binary formats?

The Apparent Story Behind OpenStack Component Log File Names

AWS used to have a separate API package from their CLI package; now the two are the same.  OpenStack components’ command line interface activity is captured in a log when proper thresholds are set (e.g., nova.conf, glance.conf etc.) and later met.  CLI activity (which bypasses Horizon) as well as GUI API activity (e.g., mouse clicks on buttons in Horizon) is written to a file named api.log.  The location of this api.log file follows this convention: /var/log/OpenStackComponentName/api.log (where “OpenStackComponentName” is nova,

How To Install Docker on an AWS Instance of RedHat Linux

Update on 11/20/20: We recommend you see How Do You Install the docker.service File on RHEL 8.x? instead of the directions below. (Many times this command will work: sudo yum -y install docker )

Update on 9/10/19: These directions below work to install Docker version 17.05.0-ce on RHEL 8.x.

These “directions” to install Docker on RedHat Enterprise Linux include a script and how to run it. 

How To Install Docker on an AWS Instance of Ubuntu

Updated 12/26/18
Problem scenario

You want to install Docker.  You can make changes to the Ubuntu Linux repositories so you can use apt-get to install it.  How do you install Docker on an AWS EC-2 instance?

Solution
There is an alternative set of directions if you click on this link here (if you would prefer not to configure the apt-get repositories).  These directions below to install Docker on Ubuntu Linux include a script and how to run it (but the script below will make a change to the repositories that the Linux server uses). 

What is TCP port 8080 typically used for?

Question
What is TCP port 8080 typically used for?

Answer
Jenkins, Docker, NodeJS, Apache Ambari, Apache Marathon, Apache Tomcat, Amazon Web Services’ Elastic Load Balancer, JBoss Application Server, GitLab, M2MLogger (remote monitoring), InfoSphere BigInsights Console (IBM’s proprietary Hadoop and Spark solution), JasperReports (because of Apache Tomcat), remote management of physical routers, and enterprise network proxy services all commonly use port 8080. 

In part, taken from Learning AWS

AWS S3 Problem: “The specified key does not exist.” How do you solve this?

Problem scenario:  You are trying to upload a file to S3 but get an error.  You use a command like this:
curl -T /path/to/sourcefile.java http://s3.amazonaws.com/my.bucket/sourcefile.java
You get an error in XML that includes “The specified key does not exist.”

Solution:  Check the path to your source file.  Verify your source file is there with the name you expect it to be.

How Do You Troubleshoot the Error “eve.exceptions.ConfigException: DOMAIN dictionary missing or wrong.”?

Problem scenario
You are trying to use Python Eve.  You are using Python’s interactive command prompt, and you run these two commands:

from eve import Eve
app = Eve()

But you get this error:

“File “/usr/local/lib/python2.7/dist-packages/eve/flaskapp.py”, line 138, in __init__
    self.validate_domain_struct()
  File “/usr/local/lib/python2.7/dist-packages/eve/flaskapp.py”, line 269, in validate_domain_struct
    raise ConfigException(‘DOMAIN dictionary missing or wrong.’)
eve.exceptions.ConfigException: DOMAIN dictionary missing or wrong.”

What should you do?