Re: [Users] oVirt 3.4.0 beta - Hosted Engine Setup -- issues

2014-01-23 Thread Brad House

On 1/22/14 11:42 PM, Andrew Lau wrote:

That sounds exactly what I did, do you mind putting those log files into the BZ 
saves me from having to find some
hardware and replicate it again.

So what i did was I ended up just nuking the whole OS, and getting a clean 
start. First after doing all your initial
prep EXCEPT configuring your 4 NICs run the hosted-engine --deploy command 
twice. Assuming the first run fails always
like in my case, else once you get to the Configure Storage phase press Ctrl 
+ D to exit.

Now configure your NICs (also configure ovirtmgmt manually as there is another 
BZ about it not being able to create the
bridge) and rerun hosted-engine --deploy and you should be back in action. 
This should get you to a working
hosted-engine solution.

P.S. could you add me in the CC when you reply, I would've seen your message 
sooner.


Weird, very very weird.  I'll give it a shot and see what happens.

Thanks!
-Brad
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.4.0 beta - Hosted Engine Setup -- issues

2014-01-23 Thread Andrew Lau
Good luck! If you get time it'd really be great if you could post those
logs (ovirt-hosted-engine-setup.log and vdsm.log) to BZ 1055153 for me?
It'd help them debug the issue and save me from having to find a new spare
server.

I spent a good 2 days trying to work through the alpha jungle so hope this
helps :)

On Thu, Jan 23, 2014 at 10:32 PM, Brad House b...@monetra.com wrote:

 On 1/22/14 11:42 PM, Andrew Lau wrote:

 That sounds exactly what I did, do you mind putting those log files into
 the BZ saves me from having to find some
 hardware and replicate it again.

 So what i did was I ended up just nuking the whole OS, and getting a
 clean start. First after doing all your initial
 prep EXCEPT configuring your 4 NICs run the hosted-engine --deploy
 command twice. Assuming the first run fails always
 like in my case, else once you get to the Configure Storage phase press
 Ctrl + D to exit.

 Now configure your NICs (also configure ovirtmgmt manually as there is
 another BZ about it not being able to create the
 bridge) and rerun hosted-engine --deploy and you should be back in
 action. This should get you to a working
 hosted-engine solution.

 P.S. could you add me in the CC when you reply, I would've seen your
 message sooner.


 Weird, very very weird.  I'll give it a shot and see what happens.

 Thanks!
 -Brad

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.4.0 beta - Hosted Engine Setup -- issues

2014-01-23 Thread Brad House



On 1/23/14 7:00 AM, Andrew Lau wrote:

Good luck! If you get time it'd really be great if you could post those logs 
(ovirt-hosted-engine-setup.log and
vdsm.log) to BZ 1055153 for me? It'd help them debug the issue and save me from 
having to find a new spare server.

I spent a good 2 days trying to work through the alpha jungle so hope this 
helps :)


No, problem, I'll do that before I rebuild the server to follow your procedure.
Hopefully I'll be able to do it today since it is test day, but unfortunately
I've got meetings planned most of the day :/

-Brad
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.4.0 beta - Hosted Engine Setup -- issues

2014-01-23 Thread Sandro Bonazzola
Il 22/01/2014 21:32, Brad House ha scritto:
 I'm trying to test out the oVirt Hosted Engine, but am experiencing a
 failure early on and was hoping someone could point me in the right
 direction.   I'm not familiar enough with the architecture of oVirt
 to start to debug this situation.
 
 Basically, I run the hosted-engine --deploy command and it outputs:
 
 
 [ INFO  ] Stage: Initializing
   Continuing will configure this host for serving as hypervisor and 
 create a VM where you have to install oVirt Engine afterwards.
   Are you sure you want to continue? (Yes, No)[Yes]:
 [ INFO  ] Generating a temporary VNC password.
 [ INFO  ] Stage: Environment setup
   Configuration files: []
   Log file: 
 /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140122110741.log
   Version: otopi-1.2.0_beta (otopi-1.2.0-0.1.beta.fc19)
 [ INFO  ] Hardware supports virtualization
 [ INFO  ] Bridge ovirtmgmt already created
 [ INFO  ] Stage: Environment packages setup
 [ INFO  ] Stage: Programs detection
 [ INFO  ] Stage: Environment setup
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Stage: Environment customization
 
   --== STORAGE CONFIGURATION ==--
 
   During customization use CTRL-D to abort.
 [ ERROR ] Failed to execute stage 'Environment customization': [Errno 111] 
 Connection refused
 [ INFO  ] Stage: Clean up
 [ INFO  ] Stage: Pre-termination
 [ INFO  ] Stage: Termination
 
 
 /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140122110741.log
  has:
 
 2014-01-22 11:07:57 DEBUG 
 otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
 storage._check_existing_pools:631 getConnectedStoragePoolsList
 2014-01-22 11:07:57 DEBUG otopi.context context._executeMethod:152 method 
 exception
 Traceback (most recent call last):
   File /usr/lib/python2.7/site-packages/otopi/context.py, line 142, in 
 _executeMethod
 method['method']()
   File 
 /usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py,
  line 729, in _customization
 self._check_existing_pools()
   File 
 /usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py,
  line 632, in _check_existing_pools
 pools = self.serv.s.getConnectedStoragePoolsList()
   File /usr/lib64/python2.7/xmlrpclib.py, line 1224, in __call__
 return self.__send(self.__name, args)
   File /usr/lib64/python2.7/xmlrpclib.py, line 1578, in __request
 verbose=self.__verbose
   File /usr/lib64/python2.7/xmlrpclib.py, line 1264, in request
 return self.single_request(host, handler, request_body, verbose)
   File /usr/lib64/python2.7/xmlrpclib.py, line 1292, in single_request
 self.send_content(h, request_body)
   File /usr/lib64/python2.7/xmlrpclib.py, line 1439, in send_content
 connection.endheaders(request_body)
   File /usr/lib64/python2.7/httplib.py, line 969, in endheaders
 self._send_output(message_body)
   File /usr/lib64/python2.7/httplib.py, line 829, in _send_output
 self.send(msg)
   File /usr/lib64/python2.7/httplib.py, line 791, in send
 self.connect()
   File /usr/lib64/python2.7/site-packages/vdsm/SecureXMLRPCServer.py, line 
 188, in connect
 sock = socket.create_connection((self.host, self.port), self.timeout)
   File /usr/lib64/python2.7/socket.py, line 571, in create_connection
 raise err
 error: [Errno 111] Connection refused
 2014-01-22 11:07:57 ERROR otopi.context context._executeMethod:161 Failed to 
 execute stage 'Environment customization': [Errno 111] Connection refused
 

It seems that VDSM is not working on your system.
Can you attach vdsm logs?



 
 Unfortunately I do not know what service this is trying to connect to, or 
 what hostname
 or port to try to start debugging that.
 
 Some other useful information about my environment:
 
 - Fedora 19 (64bit), minimal install, selected 'standard' add-on utilities.  
 This was a
   fresh install just for this test.
   - 512MB /boot ext4
   - 80GB / ext4 in LVM, 220GB free in VG
 - yum -y update performed to get all latest updates
 - SElinux in permissive mode
 - Hardware:
   - Supermicro 1026T-URF barebones
   - single CPU populated (Xeon E5630 4x2.53GHz)
   - 12GB ECC DDR3 RAM
   - H/W Raid with SSDs
 - Networking:
   - Network Manager DISABLED
   - 4 GbE ports (p2p1, p2p2, em1, em2)
   - all 4 ports configured in a bond (bond0) using balance-alb
   - ovirtmgmt bridge pre-created with 'bond0' as the only member, assigned a 

Re: [Users] oVirt 3.4.0 beta - Hosted Engine Setup -- issues

2014-01-22 Thread Andrew Lau
Hi,

This looks like this BZ which I reported
https://bugzilla.redhat.com/show_bug.cgi?id=1055153

Did you customize your nics before you tried running hosted-engine --deploy?

Thanks,
Andrew


On Thu, Jan 23, 2014 at 7:32 AM, Brad House b...@monetra.com wrote:

 I'm trying to test out the oVirt Hosted Engine, but am experiencing a
 failure early on and was hoping someone could point me in the right
 direction.   I'm not familiar enough with the architecture of oVirt
 to start to debug this situation.

 Basically, I run the hosted-engine --deploy command and it outputs:

 
 [ INFO  ] Stage: Initializing
   Continuing will configure this host for serving as hypervisor
 and create a VM where you have to install oVirt Engine afterwards.
   Are you sure you want to continue? (Yes, No)[Yes]:
 [ INFO  ] Generating a temporary VNC password.
 [ INFO  ] Stage: Environment setup
   Configuration files: []
   Log file: /var/log/ovirt-hosted-engine-
 setup/ovirt-hosted-engine-setup-20140122110741.log
   Version: otopi-1.2.0_beta (otopi-1.2.0-0.1.beta.fc19)
 [ INFO  ] Hardware supports virtualization
 [ INFO  ] Bridge ovirtmgmt already created
 [ INFO  ] Stage: Environment packages setup
 [ INFO  ] Stage: Programs detection
 [ INFO  ] Stage: Environment setup
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Waiting for VDSM hardware info
 [ INFO  ] Stage: Environment customization

   --== STORAGE CONFIGURATION ==--

   During customization use CTRL-D to abort.
 [ ERROR ] Failed to execute stage 'Environment customization': [Errno 111]
 Connection refused
 [ INFO  ] Stage: Clean up
 [ INFO  ] Stage: Pre-termination
 [ INFO  ] Stage: Termination
 

 /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140122110741.log
 has:
 
 2014-01-22 11:07:57 DEBUG 
 otopi.plugins.ovirt_hosted_engine_setup.storage.storage
 storage._check_existing_pools:631 getConnectedStoragePoolsList
 2014-01-22 11:07:57 DEBUG otopi.context context._executeMethod:152 method
 exception
 Traceback (most recent call last):
   File /usr/lib/python2.7/site-packages/otopi/context.py, line 142, in
 _executeMethod
 method['method']()
   File /usr/share/ovirt-hosted-engine-setup/scripts/../
 plugins/ovirt-hosted-engine-setup/storage/storage.py, line 729, in
 _customization
 self._check_existing_pools()
   File /usr/share/ovirt-hosted-engine-setup/scripts/../
 plugins/ovirt-hosted-engine-setup/storage/storage.py, line 632, in
 _check_existing_pools
 pools = self.serv.s.getConnectedStoragePoolsList()
   File /usr/lib64/python2.7/xmlrpclib.py, line 1224, in __call__
 return self.__send(self.__name, args)
   File /usr/lib64/python2.7/xmlrpclib.py, line 1578, in __request
 verbose=self.__verbose
   File /usr/lib64/python2.7/xmlrpclib.py, line 1264, in request
 return self.single_request(host, handler, request_body, verbose)
   File /usr/lib64/python2.7/xmlrpclib.py, line 1292, in single_request
 self.send_content(h, request_body)
   File /usr/lib64/python2.7/xmlrpclib.py, line 1439, in send_content
 connection.endheaders(request_body)
   File /usr/lib64/python2.7/httplib.py, line 969, in endheaders
 self._send_output(message_body)
   File /usr/lib64/python2.7/httplib.py, line 829, in _send_output
 self.send(msg)
   File /usr/lib64/python2.7/httplib.py, line 791, in send
 self.connect()
   File /usr/lib64/python2.7/site-packages/vdsm/SecureXMLRPCServer.py,
 line 188, in connect
 sock = socket.create_connection((self.host, self.port), self.timeout)
   File /usr/lib64/python2.7/socket.py, line 571, in create_connection
 raise err
 error: [Errno 111] Connection refused
 2014-01-22 11:07:57 ERROR otopi.context context._executeMethod:161 Failed
 to execute stage 'Environment customization': [Errno 111] Connection refused
 

 Unfortunately I do not know what service this is trying to connect to, or
 what hostname
 or port to try to start debugging that.

 Some other useful information about my environment:

 - Fedora 19 (64bit), minimal install, selected 'standard' add-on
 utilities.  This was a
   fresh install just for this test.
   - 512MB /boot ext4
   - 80GB / ext4 in LVM, 220GB free in VG
 - yum -y update performed to get all latest updates
 - SElinux in permissive mode
 - Hardware:
   - Supermicro 1026T-URF barebones
   - single CPU populated (Xeon E5630 4x2.53GHz)
   - 12GB ECC DDR3 RAM
   - H/W Raid with SSDs
 - Networking:
   - Network Manager DISABLED
   - 4 GbE ports (p2p1, p2p2, em1, em2)
   - all 4 ports 

Re: [Users] oVirt 3.4.0 beta - Hosted Engine Setup -- issues

2014-01-22 Thread Brad House



On 01/22/2014 05:42 PM, Andrew Lau wrote:

Hi,

This looks like this BZ which I reported 
https://bugzilla.redhat.com/show_bug.cgi?id=1055153

Did you customize your nics before you tried running hosted-engine --deploy?

Thanks,
Andrew


Yes, I created all the /etc/sysconfig/network-scripts/ifcfg-* for my 4 NICs in 
the bond,
then also created the ifcfg-bond0, as well as an ifcfg-ovirtmgmt which uses the 
bond0.
So the ovirt management interface should be fully configured before even running
the hosted-engine --deploy ... when I was testing the all-in-one (non-hosted) I 
had
to do that, so figured it was a good idea for hosted too.

I'm trying to understand your BZ 1055153, did you actually get it to work?  Or 
did
you get stuck at that point?  I have seen the same issue as your BZ 1055129 as 
well.

-Brad
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.4.0 beta - Hosted Engine Setup -- issues

2014-01-22 Thread Andrew Lau
That sounds exactly what I did, do you mind putting those log files into
the BZ saves me from having to find some hardware and replicate it again.

So what i did was I ended up just nuking the whole OS, and getting a clean
start. First after doing all your initial prep EXCEPT configuring your 4
NICs run the hosted-engine --deploy command twice. Assuming the first run
fails always like in my case, else once you get to the Configure Storage
phase press Ctrl + D to exit.

Now configure your NICs (also configure ovirtmgmt manually as there is
another BZ about it not being able to create the bridge) and rerun
hosted-engine --deploy and you should be back in action. This should get
you to a working hosted-engine solution.

P.S. could you add me in the CC when you reply, I would've seen your
message sooner.

On Thu, Jan 23, 2014 at 9:55 AM, Brad House b...@monetra.com wrote:



 On 01/22/2014 05:42 PM, Andrew Lau wrote:

 Hi,

 This looks like this BZ which I reported https://bugzilla.redhat.com/
 show_bug.cgi?id=1055153

 Did you customize your nics before you tried running hosted-engine
 --deploy?

 Thanks,
 Andrew


 Yes, I created all the /etc/sysconfig/network-scripts/ifcfg-* for my 4
 NICs in the bond,
 then also created the ifcfg-bond0, as well as an ifcfg-ovirtmgmt which
 uses the bond0.
 So the ovirt management interface should be fully configured before even
 running
 the hosted-engine --deploy ... when I was testing the all-in-one
 (non-hosted) I had
 to do that, so figured it was a good idea for hosted too.

 I'm trying to understand your BZ 1055153, did you actually get it to work?
  Or did
 you get stuck at that point?  I have seen the same issue as your BZ
 1055129 as well.


 -Brad
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users