[openstack-dev] [ironic] Using pxe-drac driver

2017-10-04 Thread Noam Angel
Hi,

I have been using agent_ipmitool to discover and provision Dell servers with 
different OSes(RHEL7.3/7.4,Fedora25/26,Ubuntu Xenial) I have recently tried 
using pxe_drac with no luck finding how to get it to work fully

I need it to discover Mellanox pci Nic's and it only discovered on board ports

Hardware:
Servers: R730 up to date
bios 2.4.3
life cycle 2.43.43.43
Mellanox connectX-3/4/5

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Ironic][Tripleo] ipmitool issues HP machines

2018-04-04 Thread Noam Angel
Hi,

First check you can ping the.
Then open a browser and login.
Make sure ipmi enabled.
Make sure user has permissions for admin or other role with reboot capabilities.
Check again

Get Outlook for Android


From: Dan Prince 
Sent: Wednesday, April 4, 2018 3:39:00 PM
To: List, OpenStack
Subject: [openstack-dev] [Ironic][Tripleo] ipmitool issues HP machines

Kind of a support question but figured I'd ask here in case there are
suggestions for workarounds for specific machines.

Setting up a new rack of mixed machines this week and hit this issue
with HP machines using the ipmi power driver for Ironic. Curious if
anyone else has seen this before? The same commands work great with my
Dell boxes!

-

[root@localhost ~]# cat x.sh
set -x
# this is how Ironic sends its IPMI commands it fails
echo -n password > /tmp/tmprmdOOv
ipmitool -I lanplus -H 172.31.0.19 -U Adminstrator -f /tmp/tmprmdOOv
power status

# this works great
ipmitool -I lanplus -H 172.31.0.19 -U Administrator -P password power status

[root@localhost ~]# bash x.sh
+ echo -n password
+ ipmitool -I lanplus -H 172.31.0.19 -U Adminstrator -f /tmp/tmprmdOOv
power status
Error: Unable to establish IPMI v2 / RMCP+ session
+ ipmitool -I lanplus -H 172.31.0.19 -U Administrator -P password power status
Chassis Power is on

Dan

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openstack.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopenstack-dev&data=02%7C01%7Cnoama%40mellanox.com%7Cb8324698c48e4fba8de408d59a293ae2%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636584424239254168&sdata=o2D26f1zFNmaM%2BOhQKD0SKaqqISRYdNzVotcR%2Fdqyhc%3D&reserved=0
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Ironic][Tripleo] ipmitool issues HP machines

2018-04-07 Thread Noam Angel
Try to update server bios and web managment

Get Outlook for Android


From: Jim Rollenhagen 
Sent: Wednesday, April 4, 2018 8:18:02 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Ironic][Tripleo] ipmitool issues HP machines

On Wed, Apr 4, 2018 at 8:39 AM, Dan Prince 
mailto:dpri...@redhat.com>> wrote:
Kind of a support question but figured I'd ask here in case there are
suggestions for workarounds for specific machines.

Setting up a new rack of mixed machines this week and hit this issue
with HP machines using the ipmi power driver for Ironic. Curious if
anyone else has seen this before? The same commands work great with my
Dell boxes!

-

[root@localhost ~]# cat x.sh
set -x
# this is how Ironic sends its IPMI commands it fails
echo -n password > /tmp/tmprmdOOv
ipmitool -I lanplus -H 172.31.0.19 -U Adminstrator -f /tmp/tmprmdOOv
power status

# this works great
ipmitool -I lanplus -H 172.31.0.19 -U Administrator -P password power status

[root@localhost ~]# bash x.sh
+ echo -n password
+ ipmitool -I lanplus -H 172.31.0.19 -U Adminstrator -f /tmp/tmprmdOOv
power status
Error: Unable to establish IPMI v2 / RMCP+ session
+ ipmitool -I lanplus -H 172.31.0.19 -U Administrator -P password power status
Chassis Power is on

Very strange. A tcpdump of both would probably be enlightening. :)

Also curious what version of ipmitool this is, maybe you're hitting an old bug.

// jim
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Cannot ping or ssh to floating ip assigned to instance [neutron][floating ip]

2016-12-12 Thread Noam Angel
Have you opened ssh/icmp security groups?

From: Shanker Gudipati [mailto:shanker.gudip...@tcs.com]
Sent: Tuesday, December 13, 2016 7:24 AM
To: openstack-dev@lists.openstack.org
Subject: [openstack-dev] Cannot ping or ssh to floating ip assigned to instance 
[neutron][floating ip]


Hi all,

I have devstack setup which of newton version. (Lab setup)

Issue : cannot ping or ssh to floating ip assigned to instance(Security groups 
are allowed).

172.16.73.0/24 is the external network or lab network.

neutron net-list
+--+--+-+
| id   | name | subnets 
|
+--+--+-+
| ccdb22fe-8bae-4378-9b47-82c04a16186e | ext-net  | 
af84a87f-ce6f-4da3-a6bb-5238e97cabd4 172.16.73.0/24 |
| e5999086-9fb1-403b-9273-7bb218ceebe8 | demo-net | 
734e5660-807b-4038-9a86-096889f5d188 10.10.1.0/24   |
+--+--+-+

neutron net-show e5999086-9fb1-403b-9273-7bb218ceebe8
+---+--+
| Field | Value|
+---+--+
| admin_state_up| True |
| availability_zone_hints   |  |
| availability_zones| nova |
| created_at| 2016-12-12T13:16:49Z |
| description   |  |
| id| e5999086-9fb1-403b-9273-7bb218ceebe8 |
| ipv4_address_scope|  |
| ipv6_address_scope|  |
| mtu   | 1450 |
| name  | demo-net |
| port_security_enabled | True |
| project_id| 03959ecbd383459eaf5d5389ab4372ac |
| provider:network_type | vxlan|
| provider:physical_network |  |
| provider:segmentation_id  | 61   |
| revision_number   | 5|
| router:external   | False|
| shared| False|
| status| ACTIVE   |
| subnets   | 734e5660-807b-4038-9a86-096889f5d188 |
| tags  |  |
| tenant_id | 03959ecbd383459eaf5d5389ab4372ac |
| updated_at| 2016-12-12T13:17:31Z |
+---+--+


neutron net-list
+--+--+-+
| id   | name | subnets 
|
+--+--+-+
| ccdb22fe-8bae-4378-9b47-82c04a16186e | ext-net  | 
af84a87f-ce6f-4da3-a6bb-5238e97cabd4 172.16.73.0/24 |
| e5999086-9fb1-403b-9273-7bb218ceebe8 | demo-net | 
734e5660-807b-4038-9a86-096889f5d188 10.10.1.0/24   |
+--+--+-+
ubuntu@ubuntu-HP-Compaq-Elite-8300-SFF:/etc/neutron/plugins/ml2$ neutron 
router-list
+--+-+-+-+---+
| id   | name| external_gateway_info
   | distributed | ha|
+--+-+-+-+---+
| ce901ef7-60cd-4d88-828a-3bb5a7e3c9d5 | demo-router | {"network_id": 
"ccdb22fe-   | False   | False |
|  | | 
8bae-4378-9b47-82c04a16186e", "enable_snat": true,  | |   |
|  | | "external_fixed_ips": 
[{"subnet_id": "af84a87f- | |   |
|  | | 
ce6f-4da3-a6bb-5238e97cabd4", "ip_address": | |   |
|  | | "172.16.73.247"}]}   
   | |   |
+--+-+-+-+