Ask Your Question

antonnoble's profile - activity

2016-01-13 07:14:06 -0600 received badge  Nice Answer (source)
2014-11-14 00:40:38 -0600 received badge  Famous Question (source)
2014-10-28 03:04:21 -0600 received badge  Famous Question (source)
2014-10-22 08:09:11 -0600 received badge  Famous Question (source)
2014-07-23 10:28:05 -0600 received badge  Self-Learner (source)
2014-06-30 04:54:57 -0600 received badge  Taxonomist
2014-05-28 20:48:35 -0600 received badge  Famous Question (source)
2014-05-17 03:00:49 -0600 received badge  Popular Question (source)
2014-05-17 03:00:49 -0600 received badge  Notable Question (source)
2014-04-27 03:43:14 -0600 received badge  Famous Question (source)
2014-04-26 06:11:22 -0600 received badge  Notable Question (source)
2014-04-26 06:11:22 -0600 received badge  Popular Question (source)
2014-03-19 06:37:31 -0600 received badge  Famous Question (source)
2014-03-07 09:30:00 -0600 received badge  Famous Question (source)
2014-03-03 03:59:05 -0600 received badge  Notable Question (source)
2014-03-03 03:59:05 -0600 received badge  Famous Question (source)
2014-02-28 08:19:36 -0600 received badge  Notable Question (source)
2014-02-25 15:19:12 -0600 received badge  Notable Question (source)
2014-02-11 06:10:55 -0600 received badge  Famous Question (source)
2014-01-23 18:45:05 -0600 marked best answer Where can I find Heat-cfn command in havana?

I've installed heat-api heat-api-cfn heat-engine and heat-cloudwatch

My heat commands work (when I invoke heat-cfn form command line, the interpreter complains command not found). Heat-cfn doesn't at all and heat-api-cfn starts loading the service up into console. So do I just use heat commands for both heat and cloud formation?

2014-01-23 18:42:54 -0600 marked best answer publicURL endpoint for orchestration not found

I have:

# keystone service-list
+----------------------------------+----------+----------------+---------------------------+
|                id                |   name   |      type      |        description        |
+----------------------------------+----------+----------------+---------------------------+
| f7c043e5b305456384d6002a191e7aed |  glance  |     image      |    Glance Image Service   |
| f223e1e6309c42d189f6f512ccd72cd5 |   heat   | Orchestration  |   Heat Orchestration API  |
| c81aede2173e4e71b82618e04d351331 | heat-cfn | cloudformation |  Heat CloudFormation API  |
| 1e9dc6ce38404fb290a2e6d75c6b4b9d | keystone |    identity    | Keystone Identity Service |
| 3a44e89c99d54af18d8741e6e1e2c652 |   nova   |    compute     |    Nova Compute Service   |
+----------------------------------+----------+----------------+---------------------------+

But:

# heat stack-list
publicURL endpoint for orchestration not found.

This is defined in my /etc/heat/heat.conf

[keystone_authoken]
auth_host = MYCONTROLLER
auth_port = 35357
auth_protocol = http
auth_uri = http://MYCONTROLLER:5000/v2.0
admin_tenant_name =service
admin_user = heat
admin_password = MYPASSWORD

[ec2authtoken]
auth_uri = http://MYCONTROLLER:5000/v2.0
keystone_ec2_uri = http://MYCONRTOLLER:5000/v2.0/ec2tokens

I followed the standard procedures for setting up Orchestration from the Havana install guide for Ubuntu 12.04. I get a Orchestration-stacks area under projects in Horizon but when I click on stack it errors out bringing up a something went wrong page.

Any direction on how to remedy this would be great. Thanks.

Based on comments and suggestions here is what my endpoints/services look like

I ran the --debug option on endpoint-list and service-list, but I'm not exactly sure what I am looking for? Also, I'm not sure how you want me to use the --os-region-name=regionOne or RegionOne in the syntax?

How can I send you the result of the debug?

2014-01-23 18:41:47 -0600 marked best answer security group not working - nova networking FlatDHCP - vSphere

Seems that nothing is being blocked by either the default security group or any security group I create.... Not sure if I'm missing something?

Can someone point out places I can check?

I have this in my nova.conf

firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
2014-01-10 00:21:01 -0600 received badge  Popular Question (source)
2014-01-07 17:47:40 -0600 received badge  Nice Answer (source)
2014-01-07 15:46:21 -0600 asked a question wget http://169.254.169.254/2009-04-04/meta-data/instance-id - error 404?

I want to verify if my metadata service is working properly.

So I perform:

wget http://169.254.169.254/2009-04-04/meta-data/instance-id

I get an ERROR 404 not found. Is this normal? If not, how can I get my metadata service working properly?

2014-01-07 10:46:12 -0600 answered a question Where can I find out more about migrating vmware VMs to an Openstack cloud?

VMWare community: http://www.vmware.com/go/openstack

VMWare configuration reference: http://docs.openstack.org/trunk/config-reference/content/vmware.html

OpenStack Imaging guide: http://docs.openstack.org/image-guide/content/

Not a simple 1, 2, 3 process. The community link at the top should have some answers and you might want to ask VMWare directly on how they suggest moving a VM from vSphere/ESXi to an OpenStack instance. (Any caveat steps, etc etc.) After much research it appears that building a VM on KVM and sending it to glance is much easier and better supported than doing from ESXi.

2014-01-06 20:22:26 -0600 commented answer nova list - ERROR: HTTPConnectionPool(host='openstackcloud1', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

I just needed to restart the the controller which happened to have horizon compute and keystone on it

2014-01-06 13:08:22 -0600 commented answer Heat Delete Stack Horizon not working

Thanks. Yea the problem is fixed, but know where to find the logs is key to troubleshooting.

2014-01-06 13:03:02 -0600 commented question nova list - ERROR: HTTPConnectionPool(host='openstackcloud1', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

Rebooted server and everything appears to be working now...

2014-01-06 12:59:03 -0600 commented question nova list - ERROR: HTTPConnectionPool(host='openstackcloud1', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

Apparently I somehow removed my nova-api service.... I reinstalled it and now nova list works. However, now horizon isn't working....

2014-01-06 07:44:52 -0600 commented question nova list - ERROR: HTTPConnectionPool(host='openstackcloud1', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

I'm using vSphere for my hypervisor. The compute node operation is currently sitting on the same server as my keystone service. There are multiple vSphere hosts that this compute node connects to via the vSphere cluster. I think multi node would be considered if I had multi vSphere clusters.

2014-01-06 04:19:24 -0600 received badge  Notable Question (source)
2014-01-04 17:17:53 -0600 commented answer VMwareESXDriver: VMX Configuration

However, I still think my hack might have a chance of working, it's just not ideal, and it's tedious, and...you would have to do it that way every time you wanted to spin up an esxi instance.

2014-01-04 17:16:34 -0600 commented answer VMwareESXDriver: VMX Configuration

Yea cloning wouldn't work loading it to glance, I just thought it would be nice if you could. As for the image guide, I think you would probably want to refer to the VMWare team directly to ask if they haven't documented all of the parameters for the vmwareapi driver. www.vmware.com/go/openstack

2014-01-04 08:02:31 -0600 commented answer VMwareESXDriver: VMX Configuration

Usually you would set custom specifications for an instance with cloud-init. However, I'm pretty sure cloud-init is not supported for use on ESXi. The reason I'm suggesting the hack is because you can configure this specific instance to run ESXi, but I'm pretty sure you wouldn't be able to clone it.

2014-01-03 19:08:01 -0600 received badge  Popular Question (source)
2014-01-03 16:03:59 -0600 commented question VMwareESXDriver: VMX Configuration

Also please ask this question directly to the OpenStack team here: www.vmware.com/go/openstack . I know you can do nested hypervisors with KVM and libvirt driver. They may be working on nested hypervisor compatibility with the vmwarepi driver for OpenStack.

2014-01-03 15:49:28 -0600 answered a question VMwareESXDriver: VMX Configuration

Here's maybe a hack you could try.

1. Deploy an instance from whatever image you want. 
2.Shutdown instance. 
3.Goto vCenter in web client right click powered off vm that was created on your OpenStack cluster.
4. Select vCenter Actions then Compatibility and Upgrade VM to latest hardware (if greyed it should be on the latest your host supports)  ESXi 5.0 = version 8 ESXi 5.1 = version 9 ESXi 5.5 = version 10
5. Right click VM again and edit settings
6. Under virtual hardware select CPU and tick the "hardware virtualization box"
7. Click ok
8. Boot VM from an ISO of ESXi and install over whatever your image had.
9. I suggest probably rebooting your compute node after this.
10. Power off VM after installation and configuration completes
11. Attempt to power on instance from OpenStack.

Warning this may have a good chance of not working....but might be worth the try.

Edit:

There are so many flaws in my plan I would be surprised if it worked. Furthermore if it worked it would be nice to port your VM into glance for a quick redeploy when needed.

Something to think about is this: http://www.virtuallyghetto.com/2013/12/how-to-properly-clone-nested-esxi-vm.html

2014-01-03 15:34:35 -0600 commented question VMwareESXDriver: VMX Configuration

Questions: 1. Why would you want to run a nested hypervisor as an instance? (Seems to defeat the purpose of an instance) 2. Are you building an image with ESXi baked in for quick deploy?

2014-01-03 12:27:18 -0600 commented question nova list - ERROR: HTTPConnectionPool(host='openstackcloud1', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

lsof -i:8774 returns nothing at all

2014-01-03 12:26:53 -0600 commented question nova list - ERROR: HTTPConnectionPool(host='openstackcloud1', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

nova list output is in my original question. nova service-list has the same error showing max retries exceeded with url : /2/uuid connection refused. No I can not telnet to port 8774. Which I assume nova service is listening on that port?

2014-01-03 09:52:38 -0600 commented question nova list - ERROR: HTTPConnectionPool(host='openstackcloud1', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

Posted my nova.conf on my question.

2014-01-03 09:51:52 -0600 edited question nova list - ERROR: HTTPConnectionPool(host='openstackcloud1', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

Not sure how to troubleshoot this.... Nova was working...then it blew up.... Its been a couple weeks since I've looked at the problem, but I think this happend after I installed the nova-api-metadata package....I have since removed it, but nothing with nova is working.

root@openstackcloud1:~# nova list
ERROR: HTTPConnectionPool(host='openstackcloud1', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

Any pointers would be extremely helpful... I'm using Ubuntu 12.04.03 and OpenStack Havana. My keystone, cinder, heat, and horizon services are working fine.

+----------------------------------+----------+----------------+---------------------------+
|                id                |   name   |      type      |        description        |
+----------------------------------+----------+----------------+---------------------------+
| 1d8c950f65a342c8b400529a531e03ed |  cinder  |    volumev2    |  Cinder Volume Service V2 |
| 4cf047e43a834388b1e6fc5e4292cd29 |  cinder  |     volume     |   Cinder Volume Service   |
| f7c043e5b305456384d6002a191e7aed |  glance  |     image      |    Glance Image Service   |
| f17ff36eded547a799e5a71c1d95ec9f |   heat   | orchestration  |   Heat Orchestration API  |
| c81aede2173e4e71b82618e04d351331 | heat-cfn | cloudformation |  Heat CloudFormation API  |
| 1e9dc6ce38404fb290a2e6d75c6b4b9d | keystone |    identity    | Keystone Identity Service |
| 3a44e89c99d54af18d8741e6e1e2c652 |   nova   |    compute     |    Nova Compute Service   |
+----------------------------------+----------+----------------+---------------------------+

root@openstackcloud1:~# keystone endpoint-list
+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+
|                id                |   region  |                  publicurl                   |                 internalurl                  |                   adminurl                   |            service_id            |
+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+
| 1f40acb0c58249dabdb07ad1674b1d53 | regionOne | http://openstackcloud1:8776/v2/%(tenant_id)s | http://openstackcloud1:8776/v2/%(tenant_id)s | http://openstackcloud1:8776/v2/%(tenant_id)s | 1d8c950f65a342c8b400529a531e03ed |
| 488535d7ab72474ca8310bb3684e024d | regionOne | http://openstackcloud1:8774/v2/%(tenant_id)s | http://openstackcloud1:8774/v2/%(tenant_id)s | http://openstackcloud1:8774/v2/%(tenant_id)s | 3a44e89c99d54af18d8741e6e1e2c652 |
| 5c96f322cc994c37b22ff7e8f10b0b07 | regionOne |       http://openstackcloud1:5000/v2.0       |       http://openstackcloud1:5000/v2.0       |      http://openstackcloud1:35357/v2.0       | 1e9dc6ce38404fb290a2e6d75c6b4b9d |
| 6c6f23b9c64a4c71abc875f3f4b4d494 | regionOne |         http://openstackcloud1:9292          |         http://openstackcloud1:9292          |         http://openstackcloud1:9292          | f7c043e5b305456384d6002a191e7aed |
| d99c5ab966cd4850baea5cfb3d4b15c4 | regionOne |        http://openstackcloud1:8000/v1        |        http://openstackcloud1:8000/v1        |        http://openstackcloud1:8000/v1        | c81aede2173e4e71b82618e04d351331 |
| dd252e79ea8b47c08f86943343b3f0b4 | regionOne | http://openstackcloud1:8004/v1/%(tenant_id)s | http://openstackcloud1:8004/v1/%(tenant_id)s | http://openstackcloud1:8004/v1/%(tenant_id)s | f17ff36eded547a799e5a71c1d95ec9f |
| f649dd9c49aa4bdd90838b5ee596a8f5 | regionOne | http://openstackcloud1:8776/v1/%(tenant_id)s | http://openstackcloud1:8776/v1/%(tenant_id)s | http://openstackcloud1:8776/v1/%(tenant_id)s | 4cf047e43a834388b1e6fc5e4292cd29 |
+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+

Debug for nova list

INFO (connectionpool:202) Starting new HTTP connection (1): openstackcloud1
DEBUG (shell:740) HTTPConnectionPool(host='openstackcloud1', port=8774): Max retries exceeded with url: /v2/728de3699e104a9b8a9f2ef8b15c84c7/servers/detail (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 737, in main
    OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 673, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 1129, in do_list
    servers = cs.servers.list(search_opts=search_opts)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 404, in list
    return self._list("/servers%s%s" % (detail, query_string), "servers")
  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 61, in _list
    _resp, body = self.api.client.get(url)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 229, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 213, in _cs_request
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 195, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 166, in request
    **kwargs)
  File ...
(more)
2014-01-03 09:45:30 -0600 commented question nova list - ERROR: HTTPConnectionPool(host='openstackcloud1', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

I didn't copy the entire curl string from my --debug because it was quite long