Ask Your Question

mpetason's profile - activity

2019-03-14 17:28:40 -0500 received badge  Nice Answer (source)
2019-03-12 06:25:26 -0500 received badge  Nice Answer (source)
2018-10-17 16:26:48 -0500 received badge  Nice Answer (source)
2018-08-26 14:29:41 -0500 received badge  Nice Answer (source)
2017-05-24 07:51:03 -0500 received badge  Nice Answer (source)
2017-05-20 21:59:51 -0500 received badge  Good Answer (source)
2016-08-10 10:27:37 -0500 answered a question Mirantis (8 and 9) Admin-PXE interface configuration

You will actually configure this before you install Fuel.

http://docs.openstack.org/developer/f...

http://docs.openstack.org/developer/f...

2016-08-03 11:00:55 -0500 commented answer How to get ssh access of CentOS instance without ssh-key?

No problem. Good luck!

2016-08-02 10:03:51 -0500 commented answer How to get ssh access of CentOS instance without ssh-key?

You'll want to check out the cloud-config examples with cloud-init:

https://cloudinit.readthedocs.io/en/l...

The docs go over the configuration options you can use.

2016-08-01 16:07:14 -0500 answered a question How to get ssh access of CentOS instance without ssh-key?

You can use user-data to set a password for the user. When launching an instance you'll paste this into the user-data:

#cloud-config
ssh_pwauth: True 
disable_root: false 
chpasswd:
  list: |
      user:password 
  expire: false

ssh_pwauth will turn on the ability to use password auth. disable_root will enable the root user. chpassword will setup a password for the user.

It's not recommended to use this regularly. You should use this for testing. Otherwise you should be using the user + ssh-key.

This will allow you to SSH with a password. It didn't work on Debian as the options were different in the sshd config, but should work with CentOS.

2016-07-15 11:29:14 -0500 commented question provisioning fails in fuel 9

Are you adding "OS" to the node assignments when you are assigning nodes? If you don't need a node with just an OS on it, then you should avoid using this option. The OS node should be an empty node installed with just an operating system.

2016-07-13 13:31:36 -0500 answered a question HEAT - Multiple network matches found for name

Users can pull the UUID from the dashboard by clicking the network. They won't have to use the CLI or anything to pull the UUID.

You could also see if using the subnet option works. If your users have the same subnet names then you'll run into the same issue.

http://docs.openstack.org/developer/h...

2016-07-08 09:52:28 -0500 commented answer Cannot create a container and upload a file in swift

It should work for testing. For production you may want something more robust.

2016-07-06 17:25:11 -0500 commented question HA cloud with storage on 2 'micro cloud' chassis?

If it's only going to be a few VMs you may want to look at just using KVM. Or you could look at ESXi. OpenStack doesn't handle the failover/scaling unless you are going to install Heat and other services, but then you'd want those services to be HA.

2016-07-06 14:22:24 -0500 commented question HA cloud with storage on 2 'micro cloud' chassis?

The Controllers (management) are where all of the API endpoints run as well as other agents. HA usually assumes that services are highly available as well, which is why you'd want 3 nodes available for them to run on. If the Control plane doesn't need to be HA, then you can have 1 management 3 vm.

2016-07-06 13:32:21 -0500 commented question Failed to connect mongodb server

You may want to pull the mongo logs and post them to paste.openstack.org then add it to the ticket. Other issues similar to this said that the user needed to remove the current lock file, then restart, but I don't know if that will resolve it.

2016-07-06 13:30:16 -0500 commented question HA cloud with storage on 2 'micro cloud' chassis?

If they each have about the same disk space you could look at something like Ceph for storage instead of dedicating a single server to it. You will probably need 3 management nodes for HA in case you setup services that need to reach quorum with 3 votes instead of 2.

2016-07-06 13:17:58 -0500 answered a question Cannot create a container and upload a file in swift

You may have added 8080 somewhere incorrectly:

http://controller:8080:8080

This isn't valid, which is what is showing up in your error message. Check your OpenRC and Configuration files.

2016-07-04 11:55:39 -0500 commented question Can't connect to OpenStack Cloud using command line clients

Ok, you need to verify that your keystone endpoints have the correct IP (or host name) instead of controller as well, then verify that all of your configs do not contain "controller" as the hostname.

keystone endpoint-list

2016-07-02 12:20:04 -0500 received badge  Nice Answer (source)
2016-06-30 09:38:54 -0500 commented question AMQP not returning nova notifications

Check the notification_driver in the RDO environment and compare it to the others. Also see if there are messages getting stuck in the queue:

rabbitmqctl list_queues name consumers messages|grep -i notification

on another note, do want services NOT to consume so your script can pull data?

2016-06-30 09:34:11 -0500 commented question http://169.254.169.254/2009-04-04/meta-data/instance-id failed - Permission denied (publickey)

source openrc

neutron agent-list

You can see if your neutron metadata agent is running. Neutron troubleshooting can get complicated as you may need to move around the Namespaces and test connectivity.

https://www.rdoproject.org/troublesho...

2016-06-30 09:31:29 -0500 commented answer Is it possible to deploy Openstack with Cinder on SAN using fuel 7.0?

NP. There may also be documentation from your Vendor if they support plugins.

2016-06-29 17:37:09 -0500 commented question Instance metadata Report

If you want to drill down further you can use the nova API:

http://developer.openstack.org/api-re...

Or with Python you could use:

http://docs.openstack.org/developer/p...

Otherwise you're looping through instances to pull the ID and then looping nova show.

nova list --all-tenants|grep -i active| awk ' { print $2 } '|while read n; do nova show $n;done

2016-06-29 16:49:04 -0500 answered a question Openstack for production evironment

Another good place to start would be here:

https://www.openstack.org/marketplace...

It lists out the different distributions there are. Each distribution may have it's own definition for how a prod environment should be configured.

It's difficult to say exactly what it would take to create a production ready environment as your requirements could be different than the available pre-configured options in certain distros.

2016-06-29 16:39:16 -0500 answered a question Fail to deploy Mirantis 8.0 without public IP address

You do not need a non RFC-1918 address to deploy Fuel. You can use all Private networks.

The issue with your verify is that you have another DHCP server on the network. So 192.168.8.0/24 is probably served up by your DHCP server (could be your router/switch) which is causing a conflict.

For example, my setup has a network configuration of:

NETWORK NAME    IP NET
--------------  -------------
private         10.109.4.0/24
public          10.109.3.0/24
storage         10.109.2.0/24
management      10.109.1.0/24
admin           10.109.0.0/24
2016-06-29 16:34:21 -0500 commented question Centos RDO : Error: Unable to create new image

This should offer more information about the issue:

glance --debug image-list

See if there are any specific errors. If not, check the glance logs to see if there are issues.

source openrc

glance --debug image-list

2016-06-29 16:32:16 -0500 answered a question What's the meaning of the 'project' in keystone?

It used to be called Tenant. A Tenant makes more sense in a public cloud, which may be why the naming is changing to Project. They are interchangeable.

If you used the word Tenant you would expect that a customer would have all of their resources within the specified Tenant. This lets you segregate resources and gives you a way to search for resources based on tenants, instead of some other random ID.

With Keystone V3 it has changed to Projects as a lot of private clouds are using OpenStack. It may make more sense to call it a Project. So if you had a dev group that was working on one thing, and they just need to launch a few VMs for testing, you wouldn't want them to share the same view as devs working on something else. With a Project you can separate the users/resources, as well as ownership of those resources and users.

2016-06-29 16:29:09 -0500 commented question Mirantis - How do i configure vlans between VMs

You should be able to create additional networks without having to designate a VLAN on a virtual network. Unless you are using Provider Networks, but the tags would be setup on the Switch. OVS uses tags as well which may be stripping your tag. Do you really need VLAN tags, or can you use mult nets?

2016-06-29 16:27:43 -0500 commented question heat stack-list - Unexpected error occurred serving API: Timed out waiting for a reply to message ID 7daf49ca17cd4070bcfa1041890f84ae

See if you have a bunch of messages sitting in the Rabbit Queues:

rabbitmqctl list_queues |grep -vi "0$"

If there are a bunch of heat queues that are sitting then verify that each heat service is running on the proper nodes.

2016-06-29 16:24:32 -0500 commented question qemu guest agent connection

Verify that Nova-compute and Qemu are both running on the compute node. SSH to the compute and see if virsh list works. Other than that it looks like an issue with the server running or permissions. I'm not sure if it has to do with your tag. If you try another image does it work?

2016-06-29 16:22:39 -0500 answered a question Is it possible to deploy Openstack with Cinder on SAN using fuel 7.0?

There are plugins you can use if you are using a specific Vendor that is supported:

https://www.mirantis.com/validated-so...

If you aren't able to use a plugin then you would deploy Cinder backed by LVM, then modify the Cinder configuration files after installation to utilize the storage back-end.

http://docs.openstack.org/juno/config...

You could modify puppet files to do this for you, however that would probably be more complicated than deploying a default installation and modifying the configuration files after.

2016-06-29 16:19:20 -0500 answered a question can we have designate and mysql in two seperate nodes?

Most of the services and API endpoints can exist on a different node than MySQL. As long as they are able to access the MySQL endpoint you should be able to configure them.

Designate contains the option to specify where the DB is, so yes you can have MySQL on another host:

connection = mysql://designate:designate@localhost/designate

You would change "localhost" to your MySQL host.

2016-06-29 16:17:26 -0500 commented question Instance metadata Report

You may want to expand on the question and show users what you mean with an example of output that you are looking for. Metadata is also a service, so it can be confusing. Do you mean "I want to be able to nova show on all instances and save it to a local file/output."

2016-06-29 16:14:38 -0500 commented question http://169.254.169.254/2009-04-04/meta-data/instance-id failed - Permission denied (publickey)

Which network did you attach the instance to? It should be connected to an internal network with DHCP enabled. I've seen this come up when users attempt to launch instances on the Public Network (Floating IP pool network.)

2016-06-29 16:11:08 -0500 answered a question "url_helper.py" Need to disable these messages

You'll need to launch your instances on an internal network so that they can access dhcp and metadata. External networks are there to use for Floating IP addresses.

Floating IP > NAT > Internal IP

Public networks should be created in the Admin tenant.

You'll want to work out of another tenant, say create one called "demo" like the guides, or create a tenant based on the project you are working on. From that point you can create an internal network for the tenant. You'll launch the instance on the internal network in the new tenant.

The issue with using the Admin tenant is that you're able to see all of the resources available. You aren't meant to launch instances on an External network (at least not out of the box.) DHCP is supposed to be disabled on the Public Network as well (external network.)

2016-06-29 16:08:12 -0500 answered a question How to check VM's created in specific date in openstack.

You may be able to do this with Ceilometer instead:

http://docs.openstack.org/developer/c...

Besides that you may just want to create a cron job to run nova list --all-tenants and then only get ones created from the day before.

2016-06-29 16:01:10 -0500 commented question Horizon with SSL, getting Not Found: /horizon/static

Depending on your distribution it may be /dashboard instead of /horizon. Did you modify apache completely, or leave what was in place and modify the SSL options?

2016-06-29 15:55:47 -0500 commented question Fuel 9 - horizon UI not rendering

See if you can replicate the issue, and if you can then you may want to submit a bug to launchpad with your steps.

2016-06-29 15:53:18 -0500 commented question AMQP not returning nova notifications

Are notifications enabled for Nova? If you're using Neutron then the port updates are probably from Neutron itself, but may be placed on the queue to alert nova. See if the notification_driver has been configured for Nova.

2016-06-29 15:50:40 -0500 answered a question Whats are the commands to stop heat-api & heat engine gracefully?

You should be able to use the service scripts.

service heat-api stop

service heat-engine stop

You can see if the service scripts exist in /etc/init.d/.

2016-06-29 15:46:58 -0500 answered a question not able to search networks

Normally you will not see hundreds of networks in a single tenant, which is why it may not be implemented. Usually you only see a few networks per tenant, if they even have more than 1. You can use the CLI as well, if a feature you need isn't implemented in the Dashboard.

Many clouds will break up tenants based on scope of work or even down to single functions.

2016-06-29 15:44:26 -0500 commented question Can't connect to OpenStack Cloud using command line clients

Post new results after changing your OS_AUTH_URL. Also verify that you don't have anything else listed as 'controller' for the hostname in your openrc.

2016-06-09 10:13:30 -0500 received badge  Good Answer (source)
2016-06-07 10:13:50 -0500 commented answer Mirantis Fuel: what is nailgun server?

Correct. It looks like the other nailgun has to do with Java, which this version does not. It was built as a tool for Fuel.