Re: [Openstack] Tamanho de partição - qcow2

2013-03-14 Thread Alex Vitola
Resolvido, era só instalar os pacotes cloud-init  e
 cloud-initramfs-growroot. A configuração default deles já ajusta isso


Alex Vitola
@alexvitola


Em 13 de março de 2013 16:57, Alex Vitola alex.vit...@gmail.com escreveu:

 Estou instalando algumas maquinas a partir de templates do ubuntu, e
 algumas que eu mesmo tenho feito

 Crio uma máquina usando um Flavor que Root de 10GB e Epheremal de 20G

 Ok, quando dou um fdisk -l aparece os discos de 10G e 20G


 Mas quando dou um df -h o disco de 10G mostro apenas 1.7G e já estourando
 a capacidade, menos de 100MB livre.

 O que preciso fazer para corrigir isso?

 http://cloud-images.ubuntu.com/

 Alex Vitola
 @alexvitola

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Tamanho de partição - qcow2

2013-03-13 Thread Alex Vitola
Estou instalando algumas maquinas a partir de templates do ubuntu, e
algumas que eu mesmo tenho feito

Crio uma máquina usando um Flavor que Root de 10GB e Epheremal de 20G

Ok, quando dou um fdisk -l aparece os discos de 10G e 20G


Mas quando dou um df -h o disco de 10G mostro apenas 1.7G e já estourando a
capacidade, menos de 100MB livre.

O que preciso fazer para corrigir isso?

http://cloud-images.ubuntu.com/

Alex Vitola
@alexvitola
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Zenoss + Openstack Folson

2013-03-12 Thread Alex Vitola
An information system is asking and i do not know how to enable it

- API Key

OK with other information:

-Username
-Project ID
- Auth URL
- Region Name

Alex Vitola
@ alexvitola
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-20 Thread Alex Vitola
I solved the problem by downgrading the horizon for packages below

apt-get install \
openstack-dashboard=2012.1.3+stable~20120815-691dd2-0ubuntu1.1 \
openstack-dashboard-ubuntu-theme=2012.1.3+stable~20120815-691dd2-0ubuntu1.1
\
python-django-horizon=2012.1.3+stable~20120815-691dd2-0ubuntu1.1

att

Alex Vitola


2013/2/20 Trinath Somanchi trinath.soman...@gmail.com

 Also, on quick think to look is the apache error log while you access the
 horizon.

 look at the log as, tail -f  /var/log/apache/error.log.



 On Wed, Feb 20, 2013 at 5:07 PM, Michaël Van de Borne 
 michael.vandebo...@cetic.be wrote:

  192.168.202.103 = public controller iface
 192.168.203.103 = private controller iface

 anyway, I still get the login problem using any of those values


 Le 20/02/2013 06:59, Kieran Spear a écrit :



 On 20 February 2013 03:40, Michaël Van de Borne 
 michael.vandebo...@cetic.be wrote:

  Same problem here. Running Grizzly. Dashboard keeps prompting me for
 my credentials. Pretty sure dashboard sends wrong tenant name to keystone.
 Here's the relevant section in
 /etc/openstack-dashboard/local-settings.py:
 OPENSTACK_HOST = 192.168.202.103
 OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0; % OPENSTACK_HOST
 #OPENSTACK_KEYSTONE_DEFAULT_ROLE = Member
 OPENSTACK_KEYSTONE_DEFAULT_ROLE = admin


 Is that 202 a typo? You used 192.168.203.103 later.

 Cheers,
 Kieran



 michaël




 Le 13/02/2013 16:13, Razique Mahroua a écrit :

 Is the dash configured to talk with the Keystone backend?
 can you run something like $ keystone endoint-list
 thanks

  *Razique Mahroua** - **Nuage  Co*
 razique.mahr...@gmail.com
 Tel : +33 9 72 37 94 15


  Le 12 févr. 2013 à 16:54, Logan McNaughton lo...@bacoosta.com a
 écrit :

  I've had this problem before, in my experience it's not a problem with
 keystone, it's a problem with nova (by the looks of the traceback). I
 believe it's a bug in Horizon because you'll find a lot of people with this
 issue if you Google it. I don't have an answer on how to fix it, other than
 don't fixate on the EndpointNotFound, look to your nova configs for a
 solution.


 On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi 
 trinath.soman...@gmail.com wrote:

 Hi Stackers-

  I have successfully installed folsom in my test setup.
 But when I browse Horison, with admin/password as credentials, I get
 this error.

  [Tue Feb 12 10:03:16 2013 16%202013] [error] unable to retrieve
 service catalog with token
 [Tue Feb 12 10:03:16 2013 16%202013] [error] Traceback (most recent
 call last):
 [Tue Feb 12 10:03:16 2013 16%202013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132,
 in _extract_service_catalog
 [Tue Feb 12 10:03:16 2013 16%202013] [error]
 endpoint_type='adminURL')
 [Tue Feb 12 10:03:16 2013 16%202013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line
 62, in url_for
 [Tue Feb 12 10:03:16 2013 16%202013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Tue Feb 12 10:03:16 2013 16%202013] [error] EndpointNotFound:
 Endpoint not found.
 [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP
 401)\x1b[0m
 [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last):
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in
 summarize
 [Tue Feb 12 10:03:17 2013] [error] self.usage_list =
 self.get_usage_list(start, end)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 128, in
 get_usage_list
 [Tue Feb 12 10:03:17 2013] [error] return
 api.usage_list(self.request, start, end)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/api/nova.py, line 418, in
 usage_list
 [Tue Feb 12 10:03:17 2013] [error] return [Usage(u) for u in
 novaclient(request).usage.list(start, end, True)]
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py, line 35, in
 list
 [Tue Feb 12 10:03:17 2013] [error] tenant_usages)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/base.py, line 62, in _list
 [Tue Feb 12 10:03:17 2013] [error] _resp, body =
 self.api.client.get(url)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/client.py, line 239, in get
 [Tue Feb 12 10:03:17 2013] [error] return self._cs_request(url,
 'GET', **kwargs)
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/novaclient/client.py, line 236, in
 _cs_request
 [Tue Feb 12 10:03:17 2013] [error] raise ex
 [Tue Feb 12 10:03:17 2013] [error] Unauthorized: n/a (HTTP 401)

  It says , I missed some End point Configuration.

  But then, I have configured it correctly.

  Can any one guide me resolving this issue.

  Thanks in advance.

  --
 Regards,
 --
 Trinath Somanchi,
 +91 9866 235

Re: [Openstack] Horizon Keystone Endpoint Issue

2013-02-20 Thread Alex Vitola
I did the update of all services (new, cinder, glance, horizon, keystone),
and let all the options of the * default. conf, just changing the filter
and sql session: authtoken.

And now it works again

0.2-1ubuntu1~cloud0 - python-jsonschema
0.6-1ubuntu1~cloud0 - python-prettytable
0.7.8-1ubuntu1~cloud0 - python-sqlalchemy
0.7.8-1ubuntu1~cloud0 - python-sqlalchemy-ext
0.8.0-2ubuntu1~cloud0 - python-mock
0.9.17-0ubuntu1.1~cloud0 - python-eventlet
1:0.1.3-0ubuntu1.1~cloud0 - python-keystoneclient
1:0.5.1-0ubuntu1~cloud0 - python-glanceclient
1:1.0.0-0ubuntu1~cloud0 - python-cinderclient
1:2.1-0ubuntu1~cloud0 - python-quantumclient
1:2.9.0-0ubuntu1~cloud0 - python-novaclient
2012.2.1-0ubuntu1.1~cloud0 - glance
2012.2.1-0ubuntu1.1~cloud0 - glance-api
2012.2.1-0ubuntu1.1~cloud0 - glance-common
2012.2.1-0ubuntu1.1~cloud0 - glance-registry
2012.2.1-0ubuntu1.1~cloud0 - keystone
2012.2.1-0ubuntu1.1~cloud0 - python-glance
2012.2.1-0ubuntu1.1~cloud0 - python-keystone
2012.2.1-0ubuntu1~cloud0 - cinder-api
2012.2.1-0ubuntu1~cloud0 - cinder-common
2012.2.1-0ubuntu1~cloud0 - cinder-scheduler
2012.2.1-0ubuntu1~cloud0 - cinder-volume
2012.2.1-0ubuntu1~cloud0 - openstack-dashboard
2012.2.1-0ubuntu1~cloud0 - openstack-dashboard-ubuntu-theme
2012.2.1-0ubuntu1~cloud0 - python-cinder
2012.2.1-0ubuntu1~cloud0 - python-django-horizon
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-api
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-cert
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-common
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-consoleauth
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-network
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-novncproxy
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - nova-scheduler
2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 - python-nova



2013/2/20 Trinath Somanchi trinath.soman...@gmail.com

 Also, on quick think to look is the apache error log while you access the
 horizon.

 look at the log as, tail -f  /var/log/apache/error.log.



 On Wed, Feb 20, 2013 at 5:07 PM, Michaël Van de Borne 
 michael.vandebo...@cetic.be wrote:

  192.168.202.103 = public controller iface
 192.168.203.103 = private controller iface

 anyway, I still get the login problem using any of those values


 Le 20/02/2013 06:59, Kieran Spear a écrit :



 On 20 February 2013 03:40, Michaël Van de Borne 
 michael.vandebo...@cetic.be wrote:

  Same problem here. Running Grizzly. Dashboard keeps prompting me for
 my credentials. Pretty sure dashboard sends wrong tenant name to keystone.
 Here's the relevant section in
 /etc/openstack-dashboard/local-settings.py:
 OPENSTACK_HOST = 192.168.202.103
 OPENSTACK_KEYSTONE_URL = http://%s:5000/v2.0; % OPENSTACK_HOST
 #OPENSTACK_KEYSTONE_DEFAULT_ROLE = Member
 OPENSTACK_KEYSTONE_DEFAULT_ROLE = admin


 Is that 202 a typo? You used 192.168.203.103 later.

 Cheers,
 Kieran



 michaël




 Le 13/02/2013 16:13, Razique Mahroua a écrit :

 Is the dash configured to talk with the Keystone backend?
 can you run something like $ keystone endoint-list
 thanks

  *Razique Mahroua** - **Nuage  Co*
 razique.mahr...@gmail.com
 Tel : +33 9 72 37 94 15


  Le 12 févr. 2013 à 16:54, Logan McNaughton lo...@bacoosta.com a
 écrit :

  I've had this problem before, in my experience it's not a problem with
 keystone, it's a problem with nova (by the looks of the traceback). I
 believe it's a bug in Horizon because you'll find a lot of people with this
 issue if you Google it. I don't have an answer on how to fix it, other than
 don't fixate on the EndpointNotFound, look to your nova configs for a
 solution.


 On Tue, Feb 12, 2013 at 5:03 AM, Trinath Somanchi 
 trinath.soman...@gmail.com wrote:

 Hi Stackers-

  I have successfully installed folsom in my test setup.
 But when I browse Horison, with admin/password as credentials, I get
 this error.

  [Tue Feb 12 10:03:16 2013 16%202013] [error] unable to retrieve
 service catalog with token
 [Tue Feb 12 10:03:16 2013 16%202013] [error] Traceback (most recent
 call last):
 [Tue Feb 12 10:03:16 2013 16%202013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py, line 132,
 in _extract_service_catalog
 [Tue Feb 12 10:03:16 2013 16%202013] [error]
 endpoint_type='adminURL')
 [Tue Feb 12 10:03:16 2013 16%202013] [error]   File
 /usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py, line
 62, in url_for
 [Tue Feb 12 10:03:16 2013 16%202013] [error] raise
 exceptions.EndpointNotFound('Endpoint not found.')
 [Tue Feb 12 10:03:16 2013 16%202013] [error] EndpointNotFound:
 Endpoint not found.
 [Tue Feb 12 10:03:17 2013] [error] \x1b[31;1mUnauthorized: n/a (HTTP
 401)\x1b[0m
 [Tue Feb 12 10:03:17 2013] [error] Traceback (most recent call last):
 [Tue Feb 12 10:03:17 2013] [error]   File
 /usr/lib/python2.7/dist-packages/horizon/usage/base.py, line 93, in
 summarize
 [Tue Feb 12 10:03:17 2013] [error] self.usage_list =
 

Re: [Openstack] Horizon Keystone Nova miscommunication

2013-02-18 Thread Alex Vitola
reinstalled my environment this week and I have the same problem

I believe the error is in the horizon, as it only happens with

2013/2/17 Gabriel Hurley gabriel.hur...@nebula.com:
 That particular “endpoint not found” log message is a red herring. It’s been
 removed in keystoneclient trunk because it was logging an *expected* error.
 There isn’t supposed to be a service catalog available at the point at which
 it logged that message, and it lead to confusion just like this.



 However, as for your actual problem, I’ve got a couple broad ideas:



 Since you’re able to log in that means Keystone is working. And since you’re
 not seeing any error messages indicating that the data couldn’t be retrieved
 from Nova, that means Nova is working and is truly believes that the tenant
 you’re requesting data for has no instances, etc.



 What that sounds like to me is that you’re creating things in Nova with one
 tenant, and then looking for them in Horizon with a different tenant. The
 easiest way to check for that would be to log into horizon with a user who
 has the “admin” role on a project, navigate to the Instances panel in the
 Admin dashboard, and see if you can see the missing instances there. The
 admin instances panel shows *all* running instances across all tenants, so
 if the instances exist and Nova is returning data then they’ll show up
 there.



 The other (much less likely) possibility is that you somehow have two Nova
 services running which are unaware of each other, and you’re managing to
 talk to different ones via the client vs. Horizon. I have to think you’d
 know if you were running two Nova’s, however.



 The last option would be that Keystone’s service catalog is misconfigured
 and you’re not actually communicating with Nova, but if that were the case
 you should be seeing errors all over the place, so I find that highly
 unlikely.



 Hope something there helps.



 -  Gabriel



 From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net
 [mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On
 Behalf Of Greg Chavez
 Sent: Saturday, February 16, 2013 11:54 PM
 To: openstack@lists.launchpad.net
 Subject: [Openstack] Horizon  Keystone  Nova miscommunication





 It seems that nova and horizon are not communicating on my controller node.
 Acces and security objects created with nova are not seen by Horizon and
 vice versa.  This includes key pairs and secgroup rules.  For example, if I
 create a keypair with the nova client, it isn't visible in horizon, and if I
 create one in horizon it is not visible via the nova client.



 Possibly related: VMs that I create, whether via the nova client or Horizon,
 are not shown with I run nova list.  The nova-api.log shows a successful
 servers-detail query, but it comes back empty.



 Also possibly related: Although I have all my services and endpoints
 configured correctly, I can't get individual endpoint detail with
 endpoint-get.  What's more, I see this error in Horizon's error log:



 [Sun Feb 17 07:02:50 2013] [error] EndpointNotFound: Endpoint not found.

 [Sun Feb 17 07:06:55 2013] [error] unable to retrieve service catalog with
 token



 This matches what I get when I run:



 $ keystone endpoint-get --service nova

 Endpoint not found.



 But that can't be because endpoint-list shows all six endpoints I created
 and all the information seems correct in the database:





 mysql select * from endpoint where service_id
 ='9e40d355b49342f8ac6947c497df76d2'\G

 *** 1. row ***

 id: 922baafde75f4cffa7dbe7f57cddb951

 region: RegionOne

 service_id: 9e40d355b49342f8ac6947c497df76d2

  extra: {adminurl: http://192.168.241.100:35357/v2.0;, internalurl:
 http://192.168.241.100:5000/v2.0;, publicurl:
 http://10.21.164.75:5000/v2.0}

 1 row in set (0.00 sec)



 mysql select * from service where id ='9e40d355b49342f8ac6947c497df76d2'\G

 *** 1. row ***

id: 9e40d355b49342f8ac6947c497df76d2

  type: identity

 extra: {description: OpenStack Identity, name: keystone}

 1 row in set (0.00 sec)



 Please please please help me.  My boss is giving my project the ax on Monday
 if I can't get this to work.



 --
 \*..+.-
 --Greg Chavez
 +//..;};


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Configuring instances during first boot

2013-01-29 Thread Alex Vitola
package cloud-init?

https://launchpad.net/cloud-init


2013/1/29 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com:
 Hi stackers!

 Does anyone use initial scripts for resizing disks, adding username and
 hostame to instances during first boot?
 Do you know any example of these utils like cloud-init?

 Thanks!

 Regards,
 --
 JuanFra

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Ephemeral and Root Disk

2013-01-25 Thread Alex Vitola
When I install a virtual machine using one of the following flavor's
device /dev/vda (Ubuntu or Redhat)is created in the Ephemeral.

That this correct? should not be at the Root?

By default the value is 0 Ephemeral, but had to switch to 5G. If he
does not think to 0 no disc.

Note: Instance created by dashboard

++---+---+--+---+--+---+-+---+-+
| ID | Name  | Memory_MB | Disk | Ephemeral | Swap | VCPUs |
RXTX_Factor | Is_Public | extra_specs |
++---+---+--+---+--+---+-+---+-+
| 1  | m1.tiny   | 512   | 0| 5 |  | 1 | 1.0
  | True  | {}  |
| 2  | m1.small  | 2048  | 20   | 5 |  | 1 | 1.0
  | True  | {}  |
| 3  | m1.medium | 4096  | 40   | 5 |  | 2 | 1.0
  | True  | {}  |
| 4  | m1.large  | 8192  | 80   | 5 |  | 4 | 1.0
  | True  | {}  |
| 5  | m1.xlarge | 16384 | 160  | 5 |  | 8 | 1.0
  | True  | {}  |
++---+---+--+---+--+---+-+---+-+

My Libvirt.xml

--Ephemeral Disk /dev/vdb --
disk type=file device=disk
  driver name=qemu type=qcow2 cache=none/
  source file=/var/lib/nova/instances/instance-0013/disk.local/
  target bus=virtio dev=vdb/
/disk

-- Volume Disk /dev/vda --
disk type=block device=disk
  driver name=qemu type=raw cache=none/
  source 
dev=/dev/disk/by-path/ip-172.16.100.200:3260-iscsi-iqn.2010-10.org.openstack:volume-df925bb786ef-lun-0/
  target bus=virtio dev=sda/
/disk

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Logging Keystone x Remote Syslog

2013-01-11 Thread Alex Vitola
It's possible send to logs to remote server?

Currently it is configured to send to the local file


I believe it is in the file below


/etc/keystone/logging.conf

[logger_root]
level=DEBUG
 handlers=file

[handler_production]
class=handlers.SysLogHandler
level=ERROR
formatter=normal_with_name
 args=(('localhost', handlers.SYSLOG_UDP_PORT), 
 handlers.SysLogHandler.LOG_USER)

[handler_file]
class=FileHandler
level=DEBUG
formatter=normal_with_name
args=('/var/log/keystone/keystone.log', 'a')


att


Alex Vitola

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-10 Thread Alex Vitola
Changed directly by the database.

Not the best way but I did because it was an environment.

So far I have not found any problems


mysql use nova;
mysql UPDATE `nova`.`instances` SET `user_id` =
'c892202c2a134b8e9f19c047f29c60ee', `project_id` =
'debd50b4ec2b4905a3296ac0f0971849' WHERE `instances`.`id` =7;


att

Alex Vitola


2013/1/10 Razique Mahroua razique.mahr...@gmail.com

 +1

 Seb, have you ever tried to change the tenant id for an instance into the 
 database and reboot/ recover it? I wonder how nova behaves into such case

 Razique Mahroua - Nuage  Co
 razique.mahr...@gmail.com
 Tel : +33 9 72 37 94 15


 Le 9 janv. 2013 à 22:18, Sébastien Han han.sebast...@gmail.com a écrit :

 Moving instances from project to project is not possible however what
 you can do is (safe way):

 - as an admin user
 - snapshot the image from env 1
 - grab the snapshotted file from your glance store
 - import the snapshot into glance
 - make the image public
 - run the snapshot from env 2
 - enjoy!

 Cheers!

 --
 Regards,
 Sébastien Han.


 On Wed, Jan 9, 2013 at 8:14 PM, Alex Vitola alex.vit...@gmail.com wrote:

 I have 2 projects in my environment:

 ProjectQA1: ID - 0001
 ProjectQA2: ID - 0002

 root@Controller:# keystone tenant-list
 +-++-+
 | id  |name| enabled |
 +-++-+
 | 0001| ProjectQA1 |   True  |
 | 0002| ProjectQA2 |   True  |
 +--++-+

 In Project 1 there are 1 instance
 In Project 2 there are 7 instances

 root@Controller:# nova usage-list

 +---+---+--+---+---+
 | Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |
 +---+---+--+---+---+
 | 0001  | 1 | 12533.78 | 24.48 | 244.80|
 | 0002  | 7 | 127447.40| 171.17| 2100.45   |
 +---+---+--+---+---+

 Is it possible to move this instance of Project 1 for 2?

 root@Controller:# nova list
 +--+---+++
 | ID   | Name  | Status | Networks   |
 +--+---+++
 | 9991 | QA-07 | ACTICE | Net-Demo=200.100.50.25 |
 +--+---+++

 Move ID 9991/QA-07

 from: Tenant ID 0001
 to: Tenant ID 0002

 Is that possible?



 Att

 Alex Vitola
 System Administrator

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Instances RedHat / Centos / Fedora vs /dev/vdx

2013-01-10 Thread Alex Vitola
I'm having the following problem

Release Folsom

When I install any version of Like Redhat (Fedora all release,
CentOS 6 and 6.3), during the installation the anaconda not find hard
disk.

But, if i switch to the console and give it an fdisk -l the Disk
/dev/vda is there.

Inclusive i can create partitions and format in ext3.


This is some of the Anaconda Bug?

Installing Ubuntu in the same environment that does not happen.


Alex Vitola
System Administrator

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Instances RedHat / Centos / Fedora vs /dev/vdx

2013-01-10 Thread Alex Vitola
I'm creating the Dashboard / Horizon.

Using m1.small flavor.

Strange that using the same process works with Ubuntu.

Using command line, same problem

~# nova boot --flavor=6 --image=e4fc62b7-5e1b-457b-a578-26939b547ed0
CentOS-6.3-i386- --tenant_id=debd50b4ec2b4905a3296ac0f0971849

att

Alex Vitola


2013/1/10 Pádraig Brady p...@draigbrady.com:
 On 01/10/2013 12:18 PM, Alex Vitola wrote:

 I'm having the following problem

 Release Folsom

 When I install any version of Like Redhat (Fedora all release,
 CentOS 6 and 6.3), during the installation the anaconda not find hard
 disk.

 But, if i switch to the console and give it an fdisk -l the Disk
 /dev/vda is there.

 Inclusive i can create partitions and format in ext3.


 This is some of the Anaconda Bug?

 Installing Ubuntu in the same environment that does not happen.


 Can you git more details of the steps/openstack commands you're using,
 as I'm not sure what you're using exactly. What virt driver are
 you using for example?

 Note for preparing images for use in OpenStack, based on install media,
 you can use a tool like Oz:
 http://docs.openstack.org/trunk/openstack-compute/admin/content/creating-new-images.html

 thanks,
 Pádraig.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Migrate Instance to another Tenant ID in the same environment

2013-01-09 Thread Alex Vitola
I have 2 projects in my environment:

ProjectQA1: ID - 0001
ProjectQA2: ID - 0002

root@Controller:# keystone tenant-list
+-++-+
| id  |name| enabled |
+-++-+
| 0001| ProjectQA1 |   True  |
| 0002| ProjectQA2 |   True  |
+--++-+

In Project 1 there are 1 instance
In Project 2 there are 7 instances

root@Controller:# nova usage-list

+---+---+--+---+---+
| Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |
+---+---+--+---+---+
| 0001  | 1 | 12533.78 | 24.48 | 244.80|
| 0002  | 7 | 127447.40| 171.17| 2100.45   |
+---+---+--+---+---+

Is it possible to move this instance of Project 1 for 2?

root@Controller:# nova list
+--+---+++
| ID   | Name  | Status | Networks   |
+--+---+++
| 9991 | QA-07 | ACTICE | Net-Demo=200.100.50.25 |
+--+---+++

Move ID 9991/QA-07

from: Tenant ID 0001
to: Tenant ID 0002

Is that possible?



Att

Alex Vitola
System Administrator

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Instance VNC Console - Failed to connect to server (code: 1006)

2012-12-05 Thread Alex Vitola
I set up an environment with 1 and 2 Controler Cloud Compute Cloud.

When I try to access the machine by the Dashboard it shows me the
following message:

 Failed to connect to server (code: 1006)

If I access the Direct Compute Cloud by vnc can access the
console, but not by the panel.


More weird if I leave a tcpdump running on both servers not
beats anything on port 5900, in any of the two servers

ps.: I'm using the default settings in nova.conf


# # Novnc
novnc_enable = true
novncproxy_base_url = http://PUBLIC_IP_MANAGEMENT_NETWORK:6080/vnc_auto.html
vncserver_proxyclient_address = 127.0.0.1
vncserver_listen = 0.0.0.0

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp