Ask Your Question

mgunjan's profile - activity

2016-09-19 09:27:46 -0500 commented question RDO TripleO Mitaka HA Overcloud Failing

Hi, the issue can be resolved. There was issue in the deployment yaml scripts. Once we rectified the yaml files, deployment went smoothly.

2016-09-12 11:31:47 -0500 received badge  Famous Question (source)
2016-08-08 14:15:18 -0500 commented question how to assign a different network for vm inside openstack?

any specific reason for not using Neutron ?

2016-08-08 11:00:04 -0500 received badge  Notable Question (source)
2016-08-05 09:47:08 -0500 received badge  Enthusiast
2016-08-04 06:53:04 -0500 received badge  Popular Question (source)
2016-08-03 15:57:49 -0500 asked a question RDO TripleO Mitaka HA Overcloud Failing

Hi All,

I am currently working on Tripleo Mitaka Openstack deployment on baremetal servers: Undercloud – 1 baremetal server with 2 NIC (1 for provisioning and 2nd for external network connectivity) Controller – 3 baremetal server ( 7 NICs with each openstack VLANs on separate NIC) Compute – 1 baremetal server ( 7 NICs with each openstack VLANs on separate NIC)

I followed Graeme's instructions here : https://www.redhat.com/archives/rdo-list/2016-June/msg00049.html (https://www.redhat.com/archives/rdo-l...) to set up Undercloud . Undercloud deployment was successful and all the images required for overcloud deployment was properly built as per the instruction. I would like to mention that I used libvirt tools to modify the root password on overcloud-full.qcow2 and we also modified the grub file to include “net.ifnames=0 biosdevname=0” to restore old interface naming.

I was able to successfully introspect 2 serves to be used for controller and compute nodes. Also , we added the serial device discovered during introspection as root device: ironic node-update 604f7dfc-38af-4fe0-8986-4c8ac5f956e2 add properties/root_device='{"serial": "618e728372833010c79bead9066f0f9e"}' ironic node-update afcfbee3-3108-48da-a6da-aba8f422642c add properties/root_device='{"serial": "618e7283728347101f2107b511603adc"}'

Next, we added compute and control tag to respective introspected node with local boot option:

ironic node-update 604f7dfc-38af-4fe0-8986-4c8ac5f956e2 add properties/capabilities='profile:control,boot_option:local' ironic node-update afcfbee3-3108-48da-a6da-aba8f422642c add properties/capabilities='profile:compute,boot_option:local'

We used multiple NIC templates for control and compute node which has been attached along with network-environment.yaml file. Default network isolation template file has been used.

Deployment script looks like this : DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" template_base_dir="$DIR" ntpserver=<sprint.ntp.server.ip> #Sprint LAB openstack overcloud deploy --templates \ -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \ -e ${template_base_dir}/environments/network-environment.yaml \ --control-flavor control --compute-flavor compute \ --control-scale 1 --compute-scale 1 \ --ntp-server $ntpserver \ --neutron-network-type vxlan --neutron-tunnel-types vxlan --debug

Heat stack deployment goes on more really long time (more than 4 hours) and gets stuck at postdeployment configurations. Please find below the capture during install :

Every 2.0s: ironic node-list && nova list && heat stack-list && heat resource-list -n5 overcloud | grep -vi complete                           Wed Aug  3 17:33:37 2016

+--------------------------------------+------+--------------------------------------+-------------+--------------------+-------------+
| UUID                                 | Name | Instance UUID                        | Power State | Provisioning State | Maintenance |
+--------------------------------------+------+--------------------------------------+-------------+--------------------+-------------+
| 604f7dfc-38af-4fe0-8986-4c8ac5f956e2 | None | 9e7aae15-cabc-4489-a1b2-778915a78df2 | power on    | active             | False       |
| afcfbee3-3108-48da-a6da-aba8f422642c | None | c1ab52a9-461a-4a11-a13e-e57ff0a3ae2a | power on    | active             | False       |
+--------------------------------------+------+--------------------------------------+-------------+--------------------+-------------+
+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
| ID                                   | Name                    | Status | Task State | Power State | Networks               |
+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
| 9e7aae15-cabc-4489-a1b2-778915a78df2 | overcloud-controller-0  | ACTIVE | -          | Running     | ctlplane=192.168.149.9 |
| c1ab52a9-461a-4a11-a13e-e57ff0a3ae2a | overcloud-novacompute-0 | ACTIVE | -          | Running     | ctlplane=192.168.149.8 |
+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
+--------------------------------------+------------+---------------+---------------------+--------------+
| id                                   | stack_name | stack_status  | creation_time       | updated_time |
+--------------------------------------+------------+---------------+---------------------+--------------+
| 26ee0150-4cfa-4268-9107-8bfbf6712913 | overcloud  | CREATE_FAILED | 2016-08-03T08:11:34 | None         |
+--------------------------------------+------------+---------------+---------------------+--------------+
+---------------------------------------------+-----------------------------------------------+------------------------------------------------------------------------
---------+--------------------+---------------------+---------------------------------------------------------------------------------------------------------------+
| resource_name                               | physical_resource_id                          | resource_type
         | resource_status    | updated_time        | stack_name                                                                                                    |
+---------------------------------------------+-----------------------------------------------+------------------------------------------------------------------------
---------+--------------------+---------------------+---------------------------------------------------------------------------------------------------------------+
| ComputeNodesPostDeployment                  | 3797aec6-e543-4dda-9cd1-c7261e827a64          | OS::TripleO::ComputePostDeployment
         | CREATE_FAILED      | 2016-08-03T08:11:35 | overcloud                                                                                                     |
| ControllerNodesPostDeployment               | 6ad9f88c-5c55-4125-97f1-eb0e33329d16          | OS::TripleO::ControllerPostDeployment
         | CREATE_FAILED      | 2016-08-03T08:11:35 | overcloud                                                                                                     |
| ComputePuppetDeployment                     | 8b199f85-e4f9-48ad-9aee-b1cdf4900b9f          | OS::Heat::StructuredDeployments
         | CREATE_FAILED      | 2016-08-03T08:29:19 | overcloud-ComputeNodesPostDeployment-6vxfu2g2qucy                                                             |
| ControllerOvercloudServicesDeployment_Step4 | 15509f59-ff28-43af-95dd-6247a6a32c2d          | OS::Heat::StructuredDeployments
         | CREATE_FAILED      | 2016-08-03T08:29:20 | overcloud-ControllerNodesPostDeployment-35y7uafngfwj                                                          |
| 0                                           | 7cd0aa3d-742f-4e78-99ca-b2a575913f8e          | OS::Heat::StructuredDeployment
         | CREATE_IN_PROGRESS | 2016-08-03T08:30:04 | overcloud-ComputeNodesPostDeployment-6vxfu2g2qucy-ComputePuppetDeployment-cpahcct3tfw3                        |
| 0                                           | 5e9308f7-c3a9-4a94-a017-e1acb694c036          | OS::Heat::StructuredDeployment



[stack@mitaka-uc ~]$ openstack software deployment show 5e9308f7-c3a9-4a94-a017-e1acb694c036
+---------------+--------------------------------------+
| Field         | Value                                |
+---------------+--------------------------------------+
| id            | 5e9308f7-c3a9-4a94-a017-e1acb694c036 |
| server_id     | 9e7aae15-cabc-4489-a1b2-778915a78df2 |
| config_id     | 86d49e66-2f25-4cb1-b623-5ae87b01bb64 |
| creation_time | 2016-08-03T08:32:10                  |
| updated_time  |                                      |
| status        | IN_PROGRESS                          |
| status_reason | Deploy data available                |
| input_values  | {}                                   |
| action        | CREATE                               |
+---------------+--------------------------------------+

[stack@mitaka-uc ~]$ openstack software deployment show ...
(more)
2016-07-28 14:40:06 -0500 received badge  Supporter (source)
2016-07-25 13:15:12 -0500 received badge  Famous Question (source)
2016-07-09 10:00:36 -0500 received badge  Notable Question (source)
2016-07-05 09:23:50 -0500 received badge  Popular Question (source)
2016-06-29 09:41:01 -0500 asked a question rdo tripleO liberty undercloud install failing

I am trying to do undercloud installation on baremetal for Openstack liberty but the install is failing.

Even after properly updating the undercloud.conf file and checking the network configuration, undercloud deployment still fails.

To recreate the issue , I am mentioning all the configuration steps:

  1. Installed CentOS Linux release 7.2.1511 (Core) image on baremetal.
  2. created stack user and provided required permission to stack user .
  3. setting hostname

    sudo hostnamectl set-hostname rdo-undercloud.mydomain sudo hostnamectl set-hostname --transient rdo-undercloud.mydomain

    [stack rdo-undercloud etc]$ cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.0.2.1 rdo-undercloud undercloud-rdo.mydomain

  4. enable required repositories

    sudo yum -y install epel-release sudo curl -o /etc/yum.repos.d/delorean-liberty.repo https://trunk.rdoproject.org/centos7-... sudo curl -o /etc/yum.repos.d/delorean-deps-liberty.repo http://trunk.rdoproject.org/centos7-l...

  5. install repos

    sudo yum -y install yum-plugin-priorities sudo yum install -y python-tripleoclient

  6. update undercloud.conf

    [stack@rdo-undercloud ~]$ cat undercloud.conf [DEFAULT] local_ip = 192.0.2.1/24 undercloud_public_vip = 192.0.2.2 undercloud_admin_vip = 192.0.2.3 local_interface = enp6s0 masquerade_network = 192.0.2.0/24 dhcp_start = 192.0.2.150 dhcp_end = 192.0.2.199 network_cidr = 192.0.2.0/24 network_gateway = 192.0.2.1 discovery_iprange = 192.0.2.200,192.0.2.230 discovery_runbench = false [auth]

  7. install undercloud

    openstack undercloud install

install ends in error:

Error: Stage[main]/Neutron::Keystone::Auth/Keystone::Resource::Service_identity[neutron]/Keystone_user[neutron]: Could not evaluate: Execution of  '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default

Error: 
/Stage[main]/Heat::Keystone::Auth/Keystone::Resource::Service_identity
> [heat]/Keystone_user[heat]: Could not evaluate: Execution of 
> '/bin/openstack domain show --format shell Default' returned 1: Could 
> not find resource Default
> Error: Could not prefetch keystone_service provider 'openstack': 
> Execution of '/bin/openstack service list --quiet --format csv --long' 
> returned 1: Gateway Timeout (HTTP 504)
> Error: Not managing Keystone_service[glance] due to earlier Keystone API failures.
> Error: /Stage[main]/Glance::Keystone::Auth/Keystone::Resource::Service_identity[glance]/Keystone_service[glance::image]/ensure: change from absent to present failed: Not managing Keystone_service[glance] due to earlier Keystone API failures.
> Error: Could not prefetch keystone_role provider 'openstack': 
> Execution of '/bin/openstack role list --quiet --format csv' returned 
> 1: Gateway Timeout (HTTP 504)
> Error: Not managing Keystone_role[ResellerAdmin] due to earlier Keystone API failures.
> Error: /Stage[main]/Ceilometer::Keystone::Auth/Keystone_role[ResellerAdmin]/ensure: change from absent to present failed: Not managing Keystone_role[ResellerAdmin] due to earlier Keystone API failures.
> Error: Not managing Keystone_service[ironic] due to earlier Keystone API failures.
> Error: /Stage[main]/Ironic::Keystone::Auth/Keystone::Resource::Service_identity[ironic]/Keystone_service[ironic::baremetal]/ensure: change from absent to present failed: Not managing Keystone_service[ironic] due to earlier Keystone API failures.
> Error: 
> /Stage[main]/Nova::Keystone::Auth/Keystone::Resource::Service_identity
> [nova service, user nova]/Keystone_user[nova]: Could not evaluate: 
> Execution of '/bin/openstack domain show --format shell Default' 
> returned 1: Could not find resource Default
> Error: 
> /Stage[main]/Glance::Keystone::Auth/Keystone::Resource::Service_identi ...
(more)
2016-06-29 09:40:57 -0500 asked a question RDO Manager TripleO Undercloud Install failing

I am trying to do undercloud installation on baremetal for Openstack liberty but the install is failing.

Even after properly updating the undercloud.conf file and checking the network configuration, undercloud deployment still fails. >

To recreate the issue , I am mentioning all the configuration steps: 1. Installed CentOS Linux release 7.2.1511 (Core) image on baremetal. 2. created stack user and provided required permission to stack user . 3. setting hostname sudo hostnamectl set-hostname rdo-undercloud.mydomain sudo hostnamectl set-hostname --transient rdo-undercloud.mydomain

[stack@rdo-undercloud etc]$ cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.0.2.1 rdo-undercloud undercloud-rdo.mydomain

Could you try removing the 192.0.2.1 entry from /etc/hosts and replace it with the address of the public interface, e.g: $ip_public_nic rdo-undercloud rdo-undercloud.mydomain

then rerun openstack undercloud install

  1. enable required repositories sudo yum -y install epel-release sudo curl -o /etc/yum.repos.d/delorean-liberty.repo https://trunk.rdoproject.org/centos7-liberty/current/delorean.repo (https://trunk.rdoproject.org/centos7-...) sudo curl -o /etc/yum.repos.d/delorean-deps-liberty.repo http://trunk.rdoproject.org/centos7-liberty/delorean-deps.repo (http://trunk.rdoproject.org/centos7-l...)

  2. install repos

sudo yum -y install yum-plugin-priorities sudo yum install -y python-tripleoclient

  1. update undercloud.conf

[stack@rdo-undercloud ~]$ cat undercloud.conf [DEFAULT] local_ip = 192.0.2.1/24 undercloud_public_vip = 192.0.2.2 undercloud_admin_vip = 192.0.2.3 local_interface = enp6s0 masquerade_network = 192.0.2.0/24 dhcp_start = 192.0.2.150 dhcp_end = 192.0.2.199 network_cidr = 192.0.2.0/24 network_gateway = 192.0.2.1 discovery_iprange = 192.0.2.200,192.0.2.230 discovery_runbench = false [auth]

  1. install undercloud

openstack undercloud install

install ends in error: Error: /Stage[main]/Neutron::Keystone::Auth/Keystone::Resource::Service_ident ity[neutron]/Keystone_user[neutron]: Could not evaluate: Execution of '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default Error: /Stage[main]/Heat::Keystone::Auth/Keystone::Resource::Service_identity [heat]/Keystone_user[heat]: Could not evaluate: Execution of '/bin/openstack domain show --format shell Default' returned 1: Could not find resource Default Error: Could not prefetch keystone_service provider 'openstack': Execution of '/bin/openstack service list --quiet --format csv --long' returned 1: Gateway Timeout (HTTP 504) Error: Not managing Keystone_service[glance] due to earlier Keystone API failures. Error: /Stage[main]/Glance::Keystone::Auth/Keystone::Resource::Service_identity[glance]/Keystone_service[glance::image]/ensure: change from absent to present failed: Not managing Keystone_service[glance] due to earlier Keystone API failures. Error: Could not prefetch keystone_role provider 'openstack': Execution of '/bin/openstack role list --quiet --format csv' returned 1: Gateway Timeout (HTTP 504) Error: Not managing Keystone_role[ResellerAdmin] due to earlier Keystone API failures. Error: /Stage[main]/Ceilometer::Keystone::Auth/Keystone_role[ResellerAdmin]/ensure: change from absent to present failed: Not managing Keystone_role[ResellerAdmin] due to earlier Keystone API failures. Error: Not managing Keystone_service[ironic] due to earlier Keystone API failures. Error: /Stage[main]/Ironic::Keystone::Auth/Keystone::Resource::Service_identity[ironic]/Keystone_service[ironic::baremetal]/ensure: change from absent to present failed ...

(more)