Ask Your Question

MichaelCropper's profile - activity

2020-09-02 17:19:44 -0500 received badge  Famous Question (source)
2020-09-02 12:17:54 -0500 received badge  Notable Question (source)
2020-09-02 11:30:52 -0500 received badge  Popular Question (source)
2020-09-02 09:57:31 -0500 received badge  Notable Question (source)
2020-09-02 08:45:40 -0500 received badge  Popular Question (source)
2020-09-02 05:11:45 -0500 received badge  Famous Question (source)
2020-09-02 04:50:18 -0500 received badge  Notable Question (source)
2020-09-02 04:45:15 -0500 received badge  Popular Question (source)
2020-09-02 03:31:55 -0500 received badge  Famous Question (source)
2020-08-15 16:47:21 -0500 commented question How to Install OpenStack Glance on CentOS 8?

What command would I run to confirm if Glance is running?

2020-08-07 14:36:09 -0500 commented question How to Install OpenStack Glance on CentOS 8?

Just updated the original question with info about what i've changed and what the problem is.

2020-08-07 14:15:24 -0500 commented question How to Install OpenStack Glance on CentOS 8?

Thanks. Looking at that guide, it implies that you need to create one of these files for every Project? It was my understanding that projects could be self-serve via Horizon once set up?

2020-08-03 15:16:20 -0500 asked a question How to Install OpenStack Glance on CentOS 8?

Up to here; https://docs.openstack.org/glance/ussuri/install/install-rdo.html (https://docs.openstack.org/glance/uss...)

And this doesn't work;

$ openstack user create --domain default --password-prompt glance

The error message is;

"Missing value auth-url required for auth plugin password"

Thoughts?

Regards,

Michael

UPDATE

I've just created the environment variables with the following commands;

sudo nano ./admin-openrc

Then;

export OS_PROJECT_DOMAIN_NAME=Default
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=password
export OS_AUTH_URL=http://192.168.0.100:5000/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2

Yet when I run the following commands;

. admin-openrc

openstack user create --domain default --password-prompt glance

I then get the following error;

Gateway Timeout (HTTP 504)

Not really sure what I need to do to go about debugging this?

I've just checked a few of the services that are supposed to start on boot, but they aren't all running. Not sure if that is related or not? And when I tried to start some of them, they wouldn't start. I must not have noticed that when I was installing them that they didn't start up after running the commands. Looks like something else I'll need to create a few more questions for to figure out those problems too.

2020-07-30 16:38:37 -0500 asked a question How to Install Memcached

Ok, so got up to here, https://docs.openstack.org/install-guide/environment-memcached-rdo.html (https://docs.openstack.org/install-gu...), and with the section;


Edit the /etc/sysconfig/memcached file and complete the following actions:

Configure the service to use the management IP address of the controller node. This is to enable access by other nodes via the management network:

OPTIONS="-l 127.0.0.1,::1,controller"

Note

This doesn't make sense. What is this telling me to do? What is the syntax in the OPTIONS line? -l? ::1? 127.0.0.1 VS the actual IP address of the controller node?

Confused...

Regards Michael

Change the existing line OPTIONS="-l 127.0.0.1,::1".

2020-07-30 11:15:15 -0500 answered a question Struggling to install RabbitMQ on Controller Node

How very odd... came back today to have a play and the same command that was failing last time is now working. Perhaps the server needs a reboot after the installation of RabbitMQ before adding the user. I can only assume that the rabbitmqctl is loaded on boot rather than as a service.

Good old IT solution.... turn it off and back on again :-)

I also tried to run the command as the rabbitmq user, but you can't actually do that since that user is Linux user that is not allowed to login so you can't "su - rabbitmq" to then run the script.

2020-07-28 07:59:02 -0500 commented answer Struggling to install RabbitMQ on Controller Node

So you need to run that command as the rabbitmq user rather than as root user? I'll give that a go.

2020-07-26 15:15:02 -0500 received badge  Commentator
2020-07-26 15:15:02 -0500 commented answer Struggling to install RabbitMQ on Controller Node

What was the solution? I've currently only got a root user set up on the VM. Do I need to set up a non-root user, then run that command again?

2020-07-25 15:15:30 -0500 received badge  Editor (source)
2020-07-25 15:13:35 -0500 asked a question Struggling to install RabbitMQ on Controller Node

Managed to get to this part in the installation guide successfully (woo, progress!), https://docs.openstack.org/install-guide/environment-messaging-rdo.html (https://docs.openstack.org/install-gu...)

Then when running the following command (CentOS 8), it fails;

rabbitmqctl add_user openstack password123

(note.... I've used a slightly more secure password than that :-) )

The error is;


[root@controller ~]# rabbitmqctl add_user openstack password123 Error: unable to perform an operation on node 'rabbit@controller'. Please see diagnostics information and suggestions below.

Most common reasons for this are:

  • Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
  • CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
  • Target node is not running

In addition to the diagnostics info below:

  • See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
  • Consult server logs on node rabbit@controller
  • If target node is configured to use long node names, don't forget to use --longnames with CLI tools

DIAGNOSTICS

attempted to contact: [rabbit@controller]

rabbit@controller: * unable to connect to epmd (port 4369) on keystone: nxdomain (non-existing domain)

Current node details: * node name: 'rabbitmqcli-30475-rabbit@controller' * effective user's home directory: /var/lib/rabbitmq * Erlang cookie hash: RJFprQ150jL+a0zgqAuoPA==


Then when checking the logs;

Nothing at all. Just a message saying that the service has successfully started.

Thoughts?

Note: I've recently changed the hostname from 'keystone' to 'controller' after realising that this is a better name, I've updated most of the names in the above, but it looks as though something is kind of out of sync perhaps. I've tried renaming the hostname back to 'keystone', and also as 'controller' but similar error messages appear. Not sure if this is related or not.

To add, I'm thinking there may be an issue with DNS name resolution. But this is running on a pure localhost setup, so not sure if there is anything I need to do here? Just adding info in case this may be an issue that I need to consider that is not in the OpenStack Docs?

More to add.... Looking at the CentOS 8 logs, there is a note saying;

"SELinux is preventing 9_dirty_io_sche from write access on the file rabbitmq.conf. For complete SELinux messages run: sealert -l 32fa043c-33fb-4aa0-972a-435f63050cbe"

Regards, Michael

2020-07-24 19:10:43 -0500 received badge  Notable Question (source)
2020-07-23 15:07:48 -0500 commented answer How to Install OpenStack Keystone?

Plus if you can point me in the direction of that missing comma in advance, that would also be super helpful :-) Perhaps a quick git commit can solve that one

2020-07-23 15:02:37 -0500 received badge  Supporter (source)
2020-07-23 15:02:27 -0500 commented answer How to Install OpenStack Keystone?

Thanks! That's probably why I've struggling with this one with the documentation pointing to the wrong place as there are clearly more prerequisites than listed on the prerequisites page. Let me give that a go and see how I get on.

2020-07-23 14:27:23 -0500 commented question How to Install OpenStack Keystone?

Can you point me in the direction of those docs you mention as the guide I was following linked above had no mention of installing MySQL as a pre-requisite....

2020-07-22 04:59:33 -0500 received badge  Popular Question (source)
2020-07-21 14:56:09 -0500 asked a question How to Install OpenStack Keystone?

Woo! More badly documented installation guides....

Ok. So OpenStack Keystone appears to be the cornerstone of all other OpenStack services. So I thought, let's give that a go and try installing that from the guides.

Requires these prerequisites: https://docs.openstack.org/install-guide/environment-packages-rdo.html (https://docs.openstack.org/install-gu...) Then once you've done that, you should be able to follow the commands outlined here: https://docs.openstack.org/keystone/latest/install/keystone-install-rdo.html (https://docs.openstack.org/keystone/l...)

But no...

Yet again, fails at the first step.... "mysql: command not foudn"

* * * *bangs head against wall, again * * * *

Does anyone have any accurate documentation for how to install just a single service with Keystone?

2020-07-16 15:37:33 -0500 received badge  Notable Question (source)
2020-07-16 00:03:57 -0500 received badge  Popular Question (source)
2020-07-15 13:58:43 -0500 asked a question How to Install OpenStack?

Ok, so since this question hasn't had any answers yet, https://ask.openstack.org/en/question/128448/how-to-use-openstack-with-xenserver-as-hypervisor/ (https://ask.openstack.org/en/question...) - This suggests to me that this isn't really a supported option any more. And I came across this guide, https://docs.openstack.org/nova/latest/admin/configuration/hypervisor-xen-api.html (https://docs.openstack.org/nova/lates...), which says that the XenAPI driver is actually no longer supported anyhow. And despite this YouTube video showing how to set up Xen with OpenStack ( Physical machine > XenServer > VM with OpenStack ) - I'm not convinced this works.

As such - let's try asking the question in a much simpler way so I can try and get OpenStack up and running.

I have a physical server with 1x hard drive (it can be wiped) - what are the steps I need to take to install OpenStack to get it working?

Install Ubuntu / CentOS 8 and run DevStack?

My original plan was to have a flexible environment to play with different technologies. Xen allows this as I can plug in any .iso to spin up a VM on anything I need.

My main concern with the Ubuntu / CentOS 8 on the main HDD is that this locks the entire physical server into OpenStack - and I'm not convinced of the flexibility to be able to configure OpenStack to pull in any .iso and spin up a VM. With Xen it's relatively straight forward to do this.

I feel like I've asked this question in multiple ways on these forums already without getting a simple answer that I can run with - so hopefully with a very basic question like this I'll get somewhere.

2020-07-14 10:41:30 -0500 received badge  Famous Question (source)
2020-07-14 05:31:44 -0500 received badge  Notable Question (source)
2020-07-11 07:12:54 -0500 received badge  Popular Question (source)
2020-07-09 15:53:44 -0500 asked a question How to use openstack with xenserver as hypervisor?

I have a physical server which has XenServer installed. How do I architect this so that I can use OpenStack (via DevStack).

At the moment the setup is as follows (super simplified version...);

  • Physical Machine
    • 1x Physical Hard Drive - XenServer Installed (aka. DomU)
  • - - VM X (Contents not related to OpenStack)
  • - - VM Y (Contents not related to OpenStack)
  • - - VM Z (Ubuntu Server 18.04 with DevStack Installed and XenTools Installed)

After installing OpenStack on VM Z int he example above, while I can login to the Horizon dashboard, I can't spin up any Instances which makes me think that I've got something setup incorrectly.

I've also been reading conflicting/unclear information online that is also suggesting that you may or may not need to install some Xen plugin on DomU to enable some form of communication with the OpenStack Controller node. Not sure how accurate that information is that I've read though as my understanding is that everything is setup with DevStack on VM Z which would be classified as the Controller Node and the Compute Node and the Identity Node etc. in this setup.

Thoughts?

Regards, Michael

2020-07-07 11:12:12 -0500 commented question Simple Step-by-Step Guide to Install All OpenStack Services Manually

Is that the only reason why DevStack and PackStack are seen as non-production ready, because there is only one controller? And is it possible to install every single OpenStack service via DevStack/PackStack?

2020-07-07 09:38:21 -0500 commented question Simple Step-by-Step Guide to Install All OpenStack Services Manually

Re. Packstack, I'll take a look at that to see what that is like to use. Ultimately I'm looking to achieve a production ready setup as a mini-at-home cloud environment where I can safely and securely simulate a real world environment.

2020-07-07 09:38:21 -0500 commented question Simple Step-by-Step Guide to Install All OpenStack Services Manually

Thanks for that blog post, I'll take a look through. Re. DevStack - that says in the documentation that this shouldn't be used for production environments. Hence why I've avoided that. I have actually finally got that set up on Ubuntu 18.04 with zero configuration and minimal services, not all.

2020-07-07 02:39:09 -0500 received badge  Notable Question (source)
2020-07-06 22:06:01 -0500 received badge  Popular Question (source)
2020-07-06 16:53:01 -0500 commented question Simple Step-by-Step Guide to Install All OpenStack Services Manually

Thanks for the info - You've confirmed all of what I've said.

IMO it's no good having a powerful piece of technology, that no-one can use. I'd love to know the practical steps people are expected to do to get up and running - other than blindly playing with configuration and hoping things work?

2020-07-05 18:19:32 -0500 asked a question Simple Step-by-Step Guide to Install All OpenStack Services Manually

Does it exist?

After failing miserably trying the automated deployment tools with DevStack I thought I'd give a go at doing a complete manual install to see if this works and I'm failing at the first hurdle yet again. I'm finding the documentation so frustratingly difficult to follow as nothing seems to work.

I've been following the guide here, https://docs.openstack.org/install-guide/ (https://docs.openstack.org/install-gu...)

Got down to this page in the guide, https://docs.openstack.org/install-guide/environment-networking-controller.html (https://docs.openstack.org/install-gu...)

And the first recommendation is to change the default gateway to;

Configure the first interface as the management interface:

IP address: 10.0.0.11

Network mask: 255.255.255.0 (or /24)

Default gateway: 10.0.0.1

This is going to break the VMs connectivity to the internet though, surely? .... Just given that a go, and yes ,no surprise it has broken the connectivity to that VM so going to have to delete that and start again now.

For context, I'm playing with OpenStack at home, so there is a server which is connected to the primary Router (192.168.0.1) which connects to the internet. Changing the Default Gateway on the VM (CentOS 8) to the recommended settings.

I'm close to binning off OpenStack as I've not found any reliable, accurate or complete documentation that I can follow to get it set up, I just want a step by step guide to follow - that actually works. Surely, with a piece of software apparently this powerful, its not too much to ask for a decent bit of documentation to set it up.

What I'm wanting to achieve is a complete OpenStack setup with all the possible services configured and working with a basic home setup (i.e. 1x Router connected to the internet, 1x Server running Xen for VM creation, 1x VM with OpenStack installed). This has to be one of the simplest setups known to man, surely?

Any help appreciated in this area to get me started.

Regards, Michael

2020-05-30 01:52:52 -0500 received badge  Famous Question (source)
2020-05-29 07:49:01 -0500 commented answer OpenStack Installation Guide Doesn't Work for CentOS 7 Full?

Thanks for confirmation, I'll give CentOS 8 a go and also add the additional line into the local.conf file too.

2020-05-28 17:45:35 -0500 answered a question OpenStack Installation Guide Doesn't Work for CentOS 7 Full?

Hi all, thanks for the comments/thoughts. Few follow on questions to clarify things so I understand.

"A week ago, I set up a Devstack without a hitch" - What operating system were you using? I'd like to see if I can replicate that.

"The purpose of a Devstack cloud is to provide a testing environment for continuous integration of the OpenStack project" - So DevStack isn't designed to act as an installer for OpenStack? It's more designed for managing updates to OpenStack itself?

"Also, cloning a stable branch of Devstack is more likely to lead to working cloud than the master branch." - I would have expected that the Master branch would have been stable, but ok. Looking here, https://opendev.org/openstack/devstack/src/branch/stable/ussuri (https://opendev.org/openstack/devstac...), it looks like the way the DevStack repo is split up is to have the different versions split out into separate branches. Seems a bit of an unusual way to work but I can give that a go with selecting the Stable/Ussuri branch and see if that works.

"If your stack.sh stops at line 599, why don't you share your local.conf and a detailed problem description?" - The local.conf file I created has 4 lines of code in;

ADMIN_PASSWORD=password DATABASE_PASSWORD=password RABBIT_PASSWORD=password SERVICE_PASSWORD=password

"Or try Packstack, which could be described as a finished, packaged product." - Thanks, I'll give that a go to see if I can make more progress using that.

"As Bernd said, your problems are with DevStack, not OpenStack. And what he didn't mention is that DevStack is actually developed and managed by OpenDev ... which is not formally part of OpenStack anymore." - So given that, let's say I theoretically wanted to do a full OpenStack install without using either DevStack or PackStack - How would I go about doing that? Can you point me in the direction of a guide/tutorial that explain this process. I've read through so many of the guides on the OpenStack website and they don't seem to go into enough hands on level of detail about what you need to do to get it set up. Lots of conceptual points discussed, but very few "run command X" then "run command Y" type information. Unless I've missed something blindingly obvious?

"Reporting something like "git and nano are not automatically included in Centos 7" would only waste your own and other people's time." - I'd disagree on that. If someone has spent the time to put a tutorial together which has dependencies, those dependencies should be mentioned in the tutorial. Likewise, the tutorial that exists on the OpenStack website mentioned in the original post - that document should be updated to be accurate as it currently doesn't work when you follow those instructions to the letter. It doesn't help newbies like myself.

"I suggest that you report your DevStack problems via the channels mentioned" - Thanks, I'll ... (more)

2020-05-28 13:51:11 -0500 received badge  Notable Question (source)