Ask Your Question

xu-haiwei's profile - activity

2016-10-04 06:06:40 -0500 received badge  Nice Answer (source)
2015-10-13 00:20:19 -0500 received badge  Famous Question (source)
2015-10-13 00:20:19 -0500 received badge  Notable Question (source)
2015-10-07 00:08:38 -0500 answered a question Use Celiometer and Heat to spin up more vm when required

about auto-scaling function, you can refer to a new project Senlin, which mainly do auto-scaling things. https://github.com/stackforge/senlin

2015-10-06 23:59:46 -0500 answered a question Kilo - Adding second compute node

Is this problem solved? It seems this log is the reason 'AMQP server on 127.0.0.1:5672 is unreachable'. The second compute node can't access to the controller's rabbitmq server, it seems the controller node's IP is not configured.

2015-04-09 15:58:12 -0500 received badge  Popular Question (source)
2015-02-12 19:45:36 -0500 answered a question How to specify https configuration for Heat?

I am not very about this, but when I looked up into heat.conf and nova.conf, the variable is "cafile", not "ca-file", is this the matter?

2015-01-19 01:31:10 -0500 commented answer How to power on or start all VMs of HP Helion, after restart the server or workstation.

Hi echiu,

I have downloaded Helion_Openstack_Community_V1.4.tar.gz, I think it is the latest version, but I couldn't find hp_ced_backup.sh and hp_ced_restore.sh either. Are them deleted from the latest version??

2014-05-13 18:21:56 -0500 received badge  Famous Question (source)
2014-05-03 06:15:44 -0500 received badge  Good Question (source)
2014-05-03 06:13:00 -0500 received badge  Famous Question (source)
2014-04-02 03:15:16 -0500 received badge  Notable Question (source)
2014-03-17 18:55:52 -0500 received badge  Notable Question (source)
2014-03-17 14:16:23 -0500 received badge  Popular Question (source)
2014-03-14 13:04:46 -0500 received badge  Nice Question (source)
2014-03-13 21:59:33 -0500 commented question Does tripleo overcloud contain only vm?

Yes, I mean when deploying the overcloud, do you have to deploy it on the baremetal machine? I have got the answer from the PTL Robert Collins, the overcloud is hosted on the baremetal machine, and on the overcloud we can create Kvm, Xen etc. The undercould and overcloud are on the different nodes.

2014-03-11 20:09:14 -0500 asked a question Does tripleo overcloud contain only vm?

I am still confused about tripleo's architecture even reading the wiki.

I am confused about:

  • Does undercloud contain only baremetal vm?
  • Does overcloud contain only vm(without baremetal vm)?
  • I think in undercloud heat and heat-template are used to deploy overcloud, if overcloud contains baremetal vm, can heat deploy that?

My understanding is :

  • seed cloud: an openstack environment with nova-baremetal service running.
  • undercloud: a baremetal node deployed by the seed cloud with heat in it. Configure with os-apply-config, os-refresh-config and os-collect-config, and create an openstack environment with heat-template.
  • overcloud: This cloud is running on the undercloud on the same baremetal machine. This cloud is created by heat using the heat-template, so there should be no baremetal node in overcloud, and only KVM ,Xen or else.

Now, I am confused because of the information on this site.

https://gist.github.com/jistr/9228638

Does the 'Overcloud' in this site equals to the overcloud I said? I think it points to the undercloud.

Thank you.

2014-03-11 01:25:17 -0500 received badge  Scholar (source)
2014-03-11 01:25:03 -0500 answered a question Can't fetch the device UUID when deploying the baremetal node

I got a reply from the Robert Collins, "for nova baremetal you need partition image, not disk images."

2014-03-10 11:47:18 -0500 received badge  Self-Learner (source)
2014-03-09 19:44:52 -0500 received badge  Popular Question (source)
2014-03-06 22:15:06 -0500 answered a question Can't fetch the device UUID when deploying the baremetal node

I have got a little progress, I modified the diskimage-builder command by removing the 'vm' option, and got a new image. Use this command.

$diskimage-builder/bin/disk-image-create -u base local-config stackuser heat-cfntools -a amd64 -o bootstrap

When I used the new image to deploy the bm node, the error disappeared.

2014-03-05 22:47:06 -0500 commented answer Guide for Baremetal deployment with openstack in Devstack

Sorry, I only tried Ubuntu12.04.

2014-03-04 01:30:00 -0500 commented answer Guide for Baremetal deployment with openstack in Devstack

To install Ironic using devstack, you just need to do some configuration in localrc. You can add these lines. enable_service ir-api enable_service ir-cond

2014-03-04 00:06:37 -0500 received badge  Enthusiast
2014-03-03 23:56:25 -0500 commented question Can't fetch the device UUID when deploying the baremetal node

@ecnarvaez Have you built a gold image of openstack?

2014-03-03 20:36:53 -0500 commented question Can't fetch the device UUID when deploying the baremetal node

@ecnarvaez Thank you for your comment. I am really confused about this. I used the diskimage-builder to create another ubuntu image in qcow2 type, and it worked. Now my goal is not using ubuntu image, I want to deploy node with an openstack image. There must be something wrong with the image.

2014-03-03 20:29:57 -0500 answered a question How does nova-baremetal-deploy-helper service get to run?

I solved this problem. This is caused by the hardware. One port of the hub doesn't work fine. And now I got the nova-baremetal-deploy-helper to run.

2014-02-27 22:57:08 -0500 asked a question Can't fetch the device UUID when deploying the baremetal node

I used nova-baremetal to deploy a node, and it worked. But it's just a ubuntu node.

But when I used the diskimage-builder to create a image with openstack, the deployment failed.

I got the error message from nova-baremetal-deploy-helper:

2014-02-28 12:29:45.905 ERROR nova.virt.baremetal.deploy_helper [req-dc56aa91-019b-491e-9093-0cf9a4bd39ed None None] deployment to node 1 failed
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper Traceback (most recent call last):
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper   File "/opt/stack/nova/nova/cmd/baremetal_deploy_helper.py", line 292, in run
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper     deploy(*params)
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper   File "/opt/stack/nova/nova/cmd/baremetal_deploy_helper.py", line 257, in deploy
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper     LOG.error(_("StdErr  : %r"), err.stderr)
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in __exit__
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper     six.reraise(self.type_, self.value, self.tb)
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper   File "/opt/stack/nova/nova/cmd/baremetal_deploy_helper.py", line 251, in deploy
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper     image_path, preserve_ephemeral)
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper   File "/opt/stack/nova/nova/cmd/baremetal_deploy_helper.py", line 231, in work_on_disk
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper     LOG.error(_("Failed to detect root device UUID."))
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in __exit__
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper     six.reraise(self.type_, self.value, self.tb)
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper   File "/opt/stack/nova/nova/cmd/baremetal_deploy_helper.py", line 228, in work_on_disk
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper     root_uuid = block_uuid(root_part)
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper   File "/opt/stack/nova/nova/cmd/baremetal_deploy_helper.py", line 146, in block_uuid
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper     check_exit_code=[0])
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper   File "/opt/stack/nova/nova/utils.py", line 165, in execute
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper     return processutils.execute(cmd, **kwargs)
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper   File "/opt/stack/nova/nova/openstack/common/processutils.py", line 193, in execute
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper     cmd=' '.join(cmd))
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper ProcessExecutionError: Unexpected error while running command.
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper Command: sudo nova-rootwrap /etc/nova/rootwrap.conf blkid -s UUID -o value /dev/disk/by-path/ip-192.168.100.11:3260-iscsi-iqn-0f715f00-0e49-4fea-aed6-896bfc60fb9e-lun-1-part1
2014-02-28 12:29:45.905 TRACE nova.virt.baremetal.deploy_helper Exit ...
(more)
2014-02-27 22:32:10 -0500 answered a question Havana baremetal failure during instance launch

I am afraid you haven't create the baremetal database, you should check that first.

2014-02-27 22:27:56 -0500 answered a question Guide for Baremetal deployment with openstack in Devstack

I am doing the same thing, and I also used the configuration under the blog. And it works.

2014-01-22 02:07:52 -0500 received badge  Famous Question (source)
2014-01-07 18:08:26 -0500 commented question How does nova-baremetal-deploy-helper service get to run?

Does anyone have face the same problem? Any comment is welcomed.

2014-01-07 18:07:30 -0500 answered a question How does nova-baremetal-deploy-helper service get to run?

Does anyone have face the same problem? Any comment is welcomed.

2014-01-06 01:14:32 -0500 received badge  Popular Question (source)
2014-01-06 01:14:32 -0500 received badge  Notable Question (source)
2013-12-26 02:30:05 -0500 asked a question How does nova-baremetal-deploy-helper service get to run?

When I deployed a baremetal node under the manual, I didn't get it to work. I have checked the /tftpboot directory and the kernel and ramdisk have been downloaded successfully, and in nova/instance the image can also be found. I can't see any error message in the nova-compute log.

But the machine which the baremetal node is deployed got the error like this PXE-E61: Media test failure, check cable. ... Operating System not found after it is reset.

And from 'nova list' I found the instance state is stopped at 'BUILD', doesn't change to 'DEPLOY'. I looked up the manual and noticed the nova-baremetal-deploy-helper service is responsible for the deployment. But my nova-baremetal-deploy-helper service didn't run. Even I start it manually, nothing changed. I want to know how to make nova-baremetal-deploy-helper run itself, did I miss something in the configuraton? I am using the latest openstack source on Ubuntu 12.04.

2013-11-01 20:55:48 -0500 received badge  Good Question (source)
2013-11-01 20:55:44 -0500 marked best answer I can't create a network When the network is set to vlan

I set nova-network to work in vlan mode. I think there is nothing wrong with the network configuration. Because I check the network with this command and it works.

$ brctl show
bridge name     bridge id               STP enabled     interfaces
br100           8000.fa163ebec7c9       no              vlan100
                                                        vnet0
virbr0          8000.000000000000       yes

And the information about my network:

$nova network-list
+--------------------------------------+---------+-------------+
| ID                                   | Label   | Cidr        |
+--------------------------------------+---------+-------------+
| 0b69934f-80ff-4fa0-951f-580fd35a6b2f | private | 10.0.0.0/24 |
+--------------------------------------+---------+-------------+
$ nova network-show private
+---------------------+--------------------------------------+
| Property            | Value                                |
+---------------------+--------------------------------------+
| bridge              | br100                                |
| vpn_public_port     | 1000                                 |
| dhcp_start          | 10.0.0.3                             |
| bridge_interface    | eth0                                 |
| updated_at          | 2013-04-10T06:33:07.000000           |
| id                  | 0b69934f-80ff-4fa0-951f-580fd35a6b2f |
| cidr_v6             | None                                 |
| deleted_at          | None                                 |
| gateway             | 10.0.0.1                             |
| rxtx_base           | None                                 |
| label               | private                              |
| priority            | None                                 |
| project_id          | 2c9c0fe6414e4724849c193fc874c7b0     |
| vpn_private_address | 10.0.0.2                             |
| deleted             | 0                                    |
| vlan                | 100                                  |
| broadcast           | 10.0.0.255                           |
| netmask             | 255.255.255.0                        |
| injected            | False                                |
| cidr                | 10.0.0.0/24                          |
| vpn_public_address  | 192.168.1.100                        |
| multi_host          | True                                 |
| dns2                | None                                 |
| created_at          | 2013-04-10T05:15:29.000000           |
| host                | None                                 |
| gateway_v6          | None                                 |
| netmask_v6          | None                                 |
| dns1                | 8.8.4.4                              |
+---------------------+--------------------------------------+

My problem is when I want to creat a network with network-create, I got this error:

$ nova network-create --fixed-range-v4 11.0.0.0/24 --vlan 123 net1
ERROR: The server has either erred or is incapable of performing the requested operation.   (HTTP 500) (Request-ID: req-418aed88-57dd-495e-bc1f-5ede146137ca)

and the error message in the network log is:

2013-04-10 06:59:57    ERROR [nova.openstack.common.rpc.amqp] Exception during message handling
Traceback (most recent call last):
 File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
   rval = self.proxy.dispatch(ctxt, version, method, **args)
 File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
   return getattr(proxyobj, method)(ctxt, **kwargs)
 File "/opt/stack/nova/nova/network/manager.py", line 1811, in create_networks
   self, context, vpn=True, **kwargs)
 File "/opt/stack/nova/nova/network/manager.py", line 1058, in create_networks
   return self._do_create_networks(context, **kwargs)
 File "/opt/stack/nova/nova/network/manager.py", line 1187, in _do_create_networks
   network = self.db.network_create_safe(context, net)
 File "/opt/stack/nova/nova/db/api.py", line 797, in network_create_safe
   return IMPL.network_create_safe(context, values)
 File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 96, in wrapper
   return f(*args, **kwargs)
 File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 2165, in network_create_safe
   raise exception.DuplicateVlan(vlan=values['vlan'])
 DuplicateVlan: Detected existing vlan with id 100
 2013-04-10 06:59:57    ERROR [nova.openstack.common.rpc.common] Returning exception  Detected   existing vlan with id 100 to caller
 2013-04-10 06:59:57    ERROR [nova.openstack.common.rpc.common] ['Traceback (most recent call last):\n', '  File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 430, in _process_data\n    rval = self.proxy.dispatch(ctxt, version, method, **args)\n', '  File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch\n    return getattr(proxyobj, method)(ctxt, **kwargs)\n', '  File "/opt/stack/nova/nova/network/manager.py", line 1811, in create_networks\n    self, context, vpn=True, **kwargs)\n', '  File "/opt/stack/nova/nova/network/manager.py", line 1058, in create_networks\n    return ...
(more)