In openstack multinode setup, cinder volume cannot be created (from dashboard) or attached (from dashboard as well as command line) - openstack

I recently installed openstack (xena) using kolla-ansible multinode setup on baremetal ubuntu 20.04 servers. However, I cannot create volume or instance with cinder volume from the horizon dashboard. From the cli, I can create OpenStack volume but cannot attach it with an instance. Could anyone give me some clue or help me resolve the issue?

Related

Error - WordPress, Postgres and adminer With Docker - Lab

I’m trying to do an lab with docker but I can’t make everything works right.
My challenge is:
Build a Dockerfile and a Docker Compose
• Use an LTS version of Ubuntu
• Use Wordpress version 6.11
• Install Let's Encrypt SSL certificate
• Mount a volume for user files.
• Run Postgres latest version, and mount a volume for it.
• Install Adminer on port 9000
• Create an internal network to connect the database to Wordpress
• Document in ReadME how to run your project
Pls, anyone knows how to do it?
I’ll aprecciate :D
I’ve tried so many times but I can’t get success on build the image with dockerfile, and also apply the tls certificate.
I just can do the docket-compose.yaml works, and access the adminer. WordPress I can reach him, but the database isn’t connect. :/

unable to find airflow.cfg file in windows 10

I have installed apache airflow using docker desktop for windows and able to create DAGs and running webserver without issue. Here my question is, am unable to find airflow.cfg file in my local machine.
I am new to Airflow and docker please help me to find this one.

Missing value auth-url required for auth plugin password

I am trying to install openstack using devstack on ubuntu 16.04.
I followed the following link.
https://docs.openstack.org/developer/devstack/guides/single-machine.html
When I run
sudo openstack service list
, it prompt the following error.
Missing value auth-url required for auth plugin password
Make sure you are logged into horizon and download the rc file (right corner). After that do source admin-openrc.sh
Note that you have to download the rc file of the project you are working on
This should do. keystonerc_admin file is generated at the end of openstack packstack installation
source keystonerc_admin
always run admin-openrc file before running any openstack command
eg.
$source admin-openrc
then run whatever openstack command you want to run
eg.
$openstack --debug server list
Take rocky version of OpenStack Keystone as an example. https://docs.openstack.org/keystone/rocky/install/keystone-openrc-rdo.html#using-the-scripts
You can create an admin-openrc.sh (If you are installing OpenStack Keystone for the first time.) and put environment params. And source this file before you run any "openstack" command. This resolves the issue.
I put the admin-openrc.sh in directory /usr/share/keystone/admin-openrc.sh for a recommend.

Can't complete mup setup on Dreamhost aka Meteor Up

I'm stuck at the mup setup. Trying to set it up on my Dreamhost server.
Here is what I started with after running mup setup:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Started TaskList: Setup (linux)
[mydomain.com] - Installing Node.js
[mydomain.com] ✘ Installing Node.js: FAILED
-----------------------------------STDERR------------
tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
Sorry, try again.
Then I installed node manually on my server, and set the mup file to "setupNode": false. Tried again and got that:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Started TaskList: Setup (linux)
[mydomain.com] - Installing PhantomJS
[mydomain.com] ✘ Installing PhantomJS: FAILED
-----------------------------------STDERR-----------------
tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
Sorry, try again.
Finally, I also deactivated the PhantomJS install, tried again to run mup setup and got that:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Started TaskList: Setup (linux)
[mydomain.com] - Setting up Environment
[mydomain.com] ✔ Setting up Environment: SUCCESS
[mudomain.com] - Copying MongoDB configuration
[mydomain.com] ✘ Copying MongoDB configuration: FAILED
-----------------------------------STDERR-----------------
Warning: Permanently added 'mydomain.com,69.163.152.69' (RSA) to the list of known hosts.
scp: /etc/mongodb.conf: Permission denied
Killed by signal 1.
-----------------------------------STDOUT-----------------
----------------------------------------------------------
Completed TaskList: Setup (linux)
I am not sure what to do or try next. Thanks in advance for your help and suggestions.
Its seems like its a Permission problem.
Try with sudo mup setup or whatever name process are you running, initialize with the sudo keyword
From dream Host forums (admin or tutor post).
node.js — which is used by Meteor — causes some weird issues on our shared hosting servers that can trigger this behavior. We're aware of
the issue, but, for various reasons, it's been difficult to fix.
That being said, Meteor won't work on a shared hosting account anyway,
as it runs as a persistent server process, which isn't permitted.
You'd need a DreamHost VPS or dedicated server to run Meteor.
So if you don't have a dreamHost VPS or dedicated server, and you only want to deploy the app give a try to Modulus.io, it works pretty fine with meteor, or use the meteor deploy servers, doc here
This happens because Sudo isn't installed on the target machine.
On my Debian target machine I did apt-get install sudo to resolve this.
For a RedHat flavor (Centos etc) target machine you might do yum install sudo etc.
However mup is supported for Ubuntu only so it's very likely to run into issues with other flavors. You might want to stick with Ubuntu target machines to avoid headaches like these.

ImportError: No module named persistence.backends.sql

I am currently working on setting up OpenStack infrastructure on 3 nodes. I am stuck on starting keystone after I have successfully installed it. The error message I am getting is
ImportError: No module named persistence.backends.sql
The controller node has Ubuntu 12.04 and I am installing OpenStack icehouse version.. Could somebody shed some light on this error?
You would get that error if you used a keystone configuration file edited for the OpenStack Juno release with your Icehouse packages. In Icehouse, the correct value was "keystone.token.backends.sql.Token", only in Juno did it become "keystone.token.persistence.backends.sql.Token". [1]
So, check your keystone.conf, make sure it is written for Icehouse.
[1] http://docs.openstack.org/juno/config-reference/content/keystone-conf-changes-juno.html
If you are running Openstack Juno and the distro. you use is Ubuntu 14.04 just modify this line in /etc/keystone/keystone.conf
[token]
driver = keystone.token.persistence.backends.sql.Token
To
driver = keystone.token.backends.sql.Token

Resources