You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Mohd Zainal Abidin Rabani <za...@nocser.net> on 2016/09/21 08:14:56 UTC

Issue with template

Hi,

 

I'm creating template from instance that install using ISO. After finish
install and reboot, I update OS from centos 5.6 to 6.8. Then I reboot again.
After reboot I shutdown the instance and create template from disk. After
creating template finish and available for use I try create new instance
from template that I created. After instance up and running using new
template I saw eth0 not available. It show only eth1. So I need to change in
/etc/sysconfig/network-scripts. Is this normal or I miss any step?

 

Thanks.


Re: Issue with template

Posted by Sergey Levitskiy <Se...@autodesk.com>.
With centos 6 you need to remove line for respective interface from
/etc/udev/rules.d/70-persistent-net.rules
Centos/rhel6 auto detects interface and creates a rules to associate a particular MAC address with interface name. To creating clones from template you need to generalize setup so that detection happens for every new VM

Sent from my iPhone

On Sep 21, 2016, at 2:20 AM, Glenn Wagner <gl...@shapeblue.com>> wrote:

Hi

Just check in your template the eth0 has the UUID and Mac addresses lines removed


Glenn



glenn.wagner@shapeblue.com<ma...@shapeblue.com>
www.shapeblue.com<http://www.shapeblue.com>
First Floor, Victoria Centre, 7 Victoria Street, Somerset West, Cape Town  7129South Africa
@shapeblue




-----Original Message-----
From: Mohd Zainal Abidin Rabani [mailto:zainal@nocser.net]
Sent: Wednesday, 21 September 2016 11:02 AM
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>
Subject: RE: Issue with template

I already follow from link given. Still getting same result.

-----Original Message-----
From: Glenn Wagner [mailto:glenn.wagner@shapeblue.com]
Sent: Wednesday, September 21, 2016 4:31 PM
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>
Subject: RE: Issue with template

Hi,

You can have a look at this document , this will help you

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/templates.html

You are missing the part (Remove the udev persistent device rules)

Thanks
Glenn


glenn.wagner@shapeblue.com<ma...@shapeblue.com>
www.shapeblue.com<http://www.shapeblue.com>
First Floor, Victoria Centre, 7 Victoria Street, Somerset West, Cape Town  7129South Africa @shapeblue




-----Original Message-----
From: Mohd Zainal Abidin Rabani [mailto:zainal@nocser.net]
Sent: Wednesday, 21 September 2016 10:15 AM
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>
Subject: Issue with template

Hi,



I'm creating template from instance that install using ISO. After finish install and reboot, I update OS from centos 5.6 to 6.8. Then I reboot again.
After reboot I shutdown the instance and create template from disk. After creating template finish and available for use I try create new instance from template that I created. After instance up and running using new template I saw eth0 not available. It show only eth1. So I need to change in /etc/sysconfig/network-scripts. Is this normal or I miss any step?



Thanks.



RE: Issue with template

Posted by Glenn Wagner <gl...@shapeblue.com>.
Hi 

Just check in your template the eth0 has the UUID and Mac addresses lines removed 


Glenn



glenn.wagner@shapeblue.comĀ 
www.shapeblue.com
First Floor, Victoria Centre, 7 Victoria Street, Somerset West, Cape Town  7129South Africa
@shapeblue
  
 


-----Original Message-----
From: Mohd Zainal Abidin Rabani [mailto:zainal@nocser.net] 
Sent: Wednesday, 21 September 2016 11:02 AM
To: users@cloudstack.apache.org
Subject: RE: Issue with template

I already follow from link given. Still getting same result.

-----Original Message-----
From: Glenn Wagner [mailto:glenn.wagner@shapeblue.com] 
Sent: Wednesday, September 21, 2016 4:31 PM
To: users@cloudstack.apache.org
Subject: RE: Issue with template

Hi,

You can have a look at this document , this will help you 

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/templates.html

You are missing the part (Remove the udev persistent device rules)

Thanks
Glenn


glenn.wagner@shapeblue.com
www.shapeblue.com
First Floor, Victoria Centre, 7 Victoria Street, Somerset West, Cape Town  7129South Africa @shapeblue
  
 


-----Original Message-----
From: Mohd Zainal Abidin Rabani [mailto:zainal@nocser.net]
Sent: Wednesday, 21 September 2016 10:15 AM
To: users@cloudstack.apache.org
Subject: Issue with template

Hi,

 

I'm creating template from instance that install using ISO. After finish install and reboot, I update OS from centos 5.6 to 6.8. Then I reboot again.
After reboot I shutdown the instance and create template from disk. After creating template finish and available for use I try create new instance from template that I created. After instance up and running using new template I saw eth0 not available. It show only eth1. So I need to change in /etc/sysconfig/network-scripts. Is this normal or I miss any step?

 

Thanks.



RE: Issue with template

Posted by Mohd Zainal Abidin Rabani <za...@nocser.net>.
I already follow from link given. Still getting same result.

-----Original Message-----
From: Glenn Wagner [mailto:glenn.wagner@shapeblue.com] 
Sent: Wednesday, September 21, 2016 4:31 PM
To: users@cloudstack.apache.org
Subject: RE: Issue with template

Hi,

You can have a look at this document , this will help you 

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/templates.html

You are missing the part (Remove the udev persistent device rules)

Thanks
Glenn


glenn.wagner@shapeblue.com
www.shapeblue.com
First Floor, Victoria Centre, 7 Victoria Street, Somerset West, Cape Town  7129South Africa @shapeblue
  
 


-----Original Message-----
From: Mohd Zainal Abidin Rabani [mailto:zainal@nocser.net]
Sent: Wednesday, 21 September 2016 10:15 AM
To: users@cloudstack.apache.org
Subject: Issue with template

Hi,

 

I'm creating template from instance that install using ISO. After finish install and reboot, I update OS from centos 5.6 to 6.8. Then I reboot again.
After reboot I shutdown the instance and create template from disk. After creating template finish and available for use I try create new instance from template that I created. After instance up and running using new template I saw eth0 not available. It show only eth1. So I need to change in /etc/sysconfig/network-scripts. Is this normal or I miss any step?

 

Thanks.



RE: Issue with template

Posted by Glenn Wagner <gl...@shapeblue.com>.
Hi,

You can have a look at this document , this will help you 

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/templates.html

You are missing the part (Remove the udev persistent device rules)

Thanks
Glenn


glenn.wagner@shapeblue.comĀ 
www.shapeblue.com
First Floor, Victoria Centre, 7 Victoria Street, Somerset West, Cape Town  7129South Africa
@shapeblue
  
 


-----Original Message-----
From: Mohd Zainal Abidin Rabani [mailto:zainal@nocser.net] 
Sent: Wednesday, 21 September 2016 10:15 AM
To: users@cloudstack.apache.org
Subject: Issue with template

Hi,

 

I'm creating template from instance that install using ISO. After finish install and reboot, I update OS from centos 5.6 to 6.8. Then I reboot again.
After reboot I shutdown the instance and create template from disk. After creating template finish and available for use I try create new instance from template that I created. After instance up and running using new template I saw eth0 not available. It show only eth1. So I need to change in /etc/sysconfig/network-scripts. Is this normal or I miss any step?

 

Thanks.