← Back to team overview

openstack team mailing list archive

Re: How to create image for first instance (CentOS 6.4)

 

I only have the quantum networks in openstack. 
After I create a new instance there is no NIC attached to the instance.

Do I have to configure networking for nova also, so that nova-manage network list actually displays networks?





________________________________
 From: Cristian Falcas <cristi.falcas@xxxxxxxxx>
To: Jake G. <dj_dark_junglist@xxxxxxxxx> 
Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx> 
Sent: Tuesday, July 23, 2013 6:45 PM
Subject: Re: [Openstack] How to create image for first instance (CentOS 6.4)
 

On Tue, Jul 23, 2013 at 11:29 AM, Jake G. <dj_dark_junglist@xxxxxxxxx> wrote:
> nova-manage network list results in no networks found.
>
> I have 2 networks I created via quantum and are usable via the dashboard
> below.
>
> +--------------------------------------+-----------------+-------------------------------------------------------+
> | id                                   | name            | subnets
> |
> +--------------------------------------+-----------------+-------------------------------------------------------+
> | 27028c1b-734d-4557-94bf-d6ae5751ecf8 | Public Network  |
> 827dc7e2-eed2-45d6-b389-320b4e3e92a1 192.168.100.0/24 |
> | ba09ee3b-06cb-4327-9318-3913925d3283 | Private Network |
> 1dff7334-37df-4224-9ca7-63d332105483 172.30.10.0/24   |
> +--------------------------------------+-----------------+-------------------------------------------------------+
>
> I need to configure nova also? How is this done?
>
> Thank you!
>
>
>
> ________________________________
> From: Cristian Falcas <cristi.falcas@xxxxxxxxx>
> To: Jake G. <dj_dark_junglist@xxxxxxxxx>
> Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, July 23, 2013 5:20 PM
>
> Subject: Re: [Openstack] How to create image for first instance (CentOS 6.4)
>
> On Tue, Jul 23, 2013 at 11:08 AM, Jake G. <dj_dark_junglist@xxxxxxxxx>
> wrote:
>> No matter how I work this I cant seem to create a Centos 6.4 image
>> correctly.
>>
>> I can create a new instance using the qcow2 image I uploaded to Openstack,
>> but after booting the instance there is no NICs attached.
>> Should I be using a different formatting than qcow2?
>>
>> I used this doc to create the image ->
>> http://docs.openstack.org/trunk/openstack-image/content/centos-image.html
>>
>> ________________________________
>> From: Jake G. <dj_dark_junglist@xxxxxxxxx>
>> To: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx>
>> Sent: Tuesday, July 23, 2013 10:07 AM
>>
>> Subject: Re: [Openstack] How to create image for first instance (CentOS
>> 6.4)
>>
>> Thanks for all your replies.
>>
>> I guess I don't understand this a bit. I created a new VM with
>> virt-manager
>> then imported the qcow2 file to the glance server, but after deploying an
>> instance from the image, I have no existing network adapters or any other
>> attached virtual hardware it seems.
>>
>> What am I missing here?
>>
>> ________________________________
>> From: Staicu Gabriel <gabriel_staicu@xxxxxxxxx>
>> To: Jake G. <Dj_dark_junglist@xxxxxxxxx>
>> Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx>
>> Sent: Friday, July 19, 2013 12:32 AM
>> Subject: Re: [Openstack] How to create image for first instance (CentOS
>> 6.4)
>>
>> Yes it's ok.
>> Or you can use another computer with virt-manager installed which supports
>> running windows virtual machines on it. In other words another computer
>> with
>> cpu with virtualization feature + kvm + virt-manager.
>> If you use the option with another computer you will have to copy the
>> resulted qcow2 file resulted from the installation of win7 with virtio
>> drivers for net and disk from the computer with virt-manager to the glance
>> server.
>>
>> Regards,
>> Gabriel
>>
>> ________________________________
>> From: Jake G. <Dj_dark_junglist@xxxxxxxxx>
>> To: Brian Schott <brian.schott@xxxxxxxxxxxxxxxxxx>
>> Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx>
>> Sent: Thursday, July 18, 2013 4:54 PM
>> Subject: Re: [Openstack] How to create image for first instance (CentOS
>> 6.4)
>>
>> I saw that but I don't have virt-manager on my compute node.
>>
>> Is it ok to install it?
>>
>> On 2013/07/18, at 22:19, Brian Schott <brian.schott@xxxxxxxxxxxxxxxxxx>
>> wrote:
>>
>> Did this work for you?
>>
>> http://docs.openstack.org/trunk/openstack-image/content/centos-image.html
>>
>> -------------------------------------------------
>> Brian Schott, CTO
>> Nimbis Services, Inc.
>> brian.schott@xxxxxxxxxxxxxxxxxx
>> ph: 443-274-6064  fx: 443-274-6060
>>
>>
>>
>> On Jul 18, 2013, at 5:28 AM, "Jake G." <dj_dark_junglist@xxxxxxxxx> wrote:
>>
>> Hi All,
>>
>> I figured this would be the easiest part, but seems not to be.
>>
>> So creating an instance and booting from a CentOS installation disk
>> doesn't
>> work the way I imagined,
>> How would you create the image template to use to deploy instances of
>> CentOS
>> 6.4? The specs are below:
>>
>> OS: CentOS 6.4 x8664
>> RAM: 1024MB
>> HDD: 40GB
>> NIC: 1
>>
>>
>> Thank you!
>> Jake
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to    : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help  : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to    : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help  : https://help.launchpad.net/ListHelp
>>
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to    : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help  : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to    : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help  : https://help.launchpad.net/ListHelp
>>
>
>
> no nic usually means that no network is defined.
>
> Can you check with:
>
> nova-manage network list
>
> Cristi
>
>

I think that this will be enough to add the interfaces to the vm. Did
you tried to start a new instance?

Follow ups

References