Re: Linux SMAPI wrappers - invitation to Openstack meeting

2017-05-22 Thread Emily K Hugenbruch
Hi Joe,
I received your email this morning.  I just sent out the invite a few
minutes ago.  Thanks.
Sincerely,
Emily Kate Hugenbruch
OpenStack Cloud Enablement Engineer - z/VM and Software Engineer - z/VM
IBM Corporation Endicott, NY
Twitter: @ekhugen
IRC: ekhugen@freenode



From:   "Vitale, Joseph" <joseph.vit...@bnymellon.com>
To: LINUX-390@VM.MARIST.EDU
Date:   05/22/2017 12:58 PM
Subject:    Re: Linux SMAPI wrappers - invitation to Openstack meeting
Sent by:Linux on 390 Port <LINUX-390@VM.MARIST.EDU>



Hello Emily,

 I cannot reach you to join Openstack weekly meetings.  Can you
invite me:  joseph.vit...@bnymellon.com,  id  tsgmf



Thanks
 Joe

Technology Services Group
Mainframe Operating Systems

Pershing Plaza
95 Christopher Columbus Drive
Floor 14
Jersey City,  N.J.  07302
Work  201-395-1509
Cell917-903-0102


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Emily
K Hugenbruch
Sent: Monday, May 22, 2017 10:58 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Linux SMAPI wrappers

smcli is supported two ways:
   If you use it as part of the CMA that's shipped with z/VM, then we
   support it via the normal z/VM support process (PMRs, APARs, etc).
   If you get it from the open source community, then it's supported via
   that community.  You can use github issues to open problems, contribute
   to the code yourself, etc.  IBM is an active participant in that
   community.
Thanks.
Sincerely,
Emily Kate Hugenbruch
OpenStack Cloud Enablement Engineer - z/VM and Software Engineer - z/VM IBM
Corporation Endicott, NY
Twitter: @ekhugen
IRC: ekhugen@freenode



From:Michael MacIsaac <mike99...@gmail.com>
To:  LINUX-390@VM.MARIST.EDU
Date:05/22/2017 10:50 AM
Subject: Re: Linux SMAPI wrappers
Sent by: Linux on 390 Port <LINUX-390@VM.MARIST.EDU>



I see this in the append:
> smcli is supported.

But in an SR I have open, I see this:
> z/VM does not own or officially support the smcli function.

You can't have it both ways.

-Mike M

On Mon, May 22, 2017 at 9:33 AM, Emily K Hugenbruch
<ekhugenbr...@us.ibm.com
> wrote:

>
> Hi,
> Although I responded to Mike directly, reposting here for the
> listserv's benefit with some extra information:
>
> smcli is supported.  We ship it as part of our z/VM Cloud Manager
> Appliance, so it's supported that way.  It's also supported via open
> source, it could be separated from the rest of the zHCP code and run
> standalone.  We even have a wiki that explains exactly how to do this
> https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki
> / W21ed5ba0f4a9_46f4_9626_24cbbb86fbb9/page/Using%20the%
> 20zHCP%20code%20without%20CMA
>
> Anyone is welcome to open Github issues on it
> https://github.com/zVMopenstack/zhcp/issues
>
> It can be run with sudo.  The problem originated because it was run
> once
as
> root, which created the file that tracks the SMAPI
> level: /var/opt/zhcp/smapi.level and then it was run not as root, so
> that file is not available.  I did submit a patch
> https://review.gerrithub.io/#/c/361193/ to make the error messages
> easier to decipher.  We can add a second patch that also makes sure
> the file
name
> is put out on every error message (or anyone else can, we're always
> happy to review any submissions).
>
> Furthermore, as the newly created project maintainer for the Open
Mainframe
> Project's Cloudstack for z/VM project, I invite anyone interested in
> the topic of cloud and z/VM to join us.  We have weekly calls (we're
> leaning towards Fridays at 11 eastern) where you can articulate your
> requirements or talk about what you think cloud should look like on z.
> If you'd like
a
> meeting invite please send me an email.  We can also discuss these
> topics on the Open Mainframe Project's forum
> http://community.openmainframeproject.org/ or Slack channel
> https://openmainframeproject.slack.com
>
> Thank you.
> Sincerely,
> Emily Kate Hugenbruch
> OpenStack Cloud Enablement Engineer - z/VM and Software Engineer -
> z/VM IBM Corporation Endicott, NY
> Twitter: @ekhugen
> IRC: ekhugen@freenode
>
>
>
> From:   Michael MacIsaac <mike99...@gmail.com>
> To: LINUX-390@VM.MARIST.EDU
> Date:   05/19/2017 01:43 PM
> Subject:Linux SMAPI wrappers
> Sent by:Linux on 390 Port <LINUX-390@VM.MARIST.EDU>
>
>
>
> Hello list,
>
> One way to automate operations (aka do Private Cloud) is to use z/VM's
> SMAPI. There are two ways to call 'SMAPIs' from Linux that I know of:
> 1) The bash smaclient from Sine Nomine (thanks to Leland, et al)
> 2) The C compiled smcli originating from IBM (thanks to Chuck, Thang,
> Emily, et al)
>
> Bo

Re: Linux SMAPI wrappers - invitation to Openstack meeting

2017-05-22 Thread Vitale, Joseph
Hello Emily,

I cannot reach you to join Openstack weekly meetings.  Can you invite 
me:  joseph.vit...@bnymellon.com,  id  tsgmf  



Thanks
 Joe

Technology Services Group
Mainframe Operating Systems

Pershing Plaza
95 Christopher Columbus Drive
Floor 14   
Jersey City,  N.J.  07302
Work  201-395-1509
Cell917-903-0102


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Emily K 
Hugenbruch
Sent: Monday, May 22, 2017 10:58 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Linux SMAPI wrappers

smcli is supported two ways:
   If you use it as part of the CMA that's shipped with z/VM, then we
   support it via the normal z/VM support process (PMRs, APARs, etc).
   If you get it from the open source community, then it's supported via
   that community.  You can use github issues to open problems, contribute
   to the code yourself, etc.  IBM is an active participant in that
   community.
Thanks.
Sincerely,
Emily Kate Hugenbruch
OpenStack Cloud Enablement Engineer - z/VM and Software Engineer - z/VM IBM 
Corporation Endicott, NY
Twitter: @ekhugen
IRC: ekhugen@freenode



From:   Michael MacIsaac <mike99...@gmail.com>
To: LINUX-390@VM.MARIST.EDU
Date:   05/22/2017 10:50 AM
Subject:        Re: Linux SMAPI wrappers
Sent by:Linux on 390 Port <LINUX-390@VM.MARIST.EDU>



I see this in the append:
> smcli is supported.

But in an SR I have open, I see this:
> z/VM does not own or officially support the smcli function.

You can't have it both ways.

-Mike M

On Mon, May 22, 2017 at 9:33 AM, Emily K Hugenbruch <ekhugenbr...@us.ibm.com
> wrote:

>
> Hi,
> Although I responded to Mike directly, reposting here for the 
> listserv's benefit with some extra information:
>
> smcli is supported.  We ship it as part of our z/VM Cloud Manager 
> Appliance, so it's supported that way.  It's also supported via open 
> source, it could be separated from the rest of the zHCP code and run 
> standalone.  We even have a wiki that explains exactly how to do this 
> https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki
> / W21ed5ba0f4a9_46f4_9626_24cbbb86fbb9/page/Using%20the%
> 20zHCP%20code%20without%20CMA
>
> Anyone is welcome to open Github issues on it 
> https://github.com/zVMopenstack/zhcp/issues
>
> It can be run with sudo.  The problem originated because it was run 
> once
as
> root, which created the file that tracks the SMAPI
> level: /var/opt/zhcp/smapi.level and then it was run not as root, so 
> that file is not available.  I did submit a patch 
> https://review.gerrithub.io/#/c/361193/ to make the error messages 
> easier to decipher.  We can add a second patch that also makes sure 
> the file
name
> is put out on every error message (or anyone else can, we're always 
> happy to review any submissions).
>
> Furthermore, as the newly created project maintainer for the Open
Mainframe
> Project's Cloudstack for z/VM project, I invite anyone interested in 
> the topic of cloud and z/VM to join us.  We have weekly calls (we're 
> leaning towards Fridays at 11 eastern) where you can articulate your 
> requirements or talk about what you think cloud should look like on z.  
> If you'd like
a
> meeting invite please send me an email.  We can also discuss these 
> topics on the Open Mainframe Project's forum 
> http://community.openmainframeproject.org/ or Slack channel 
> https://openmainframeproject.slack.com
>
> Thank you.
> Sincerely,
> Emily Kate Hugenbruch
> OpenStack Cloud Enablement Engineer - z/VM and Software Engineer - 
> z/VM IBM Corporation Endicott, NY
> Twitter: @ekhugen
> IRC: ekhugen@freenode
>
>
>
> From:   Michael MacIsaac <mike99...@gmail.com>
> To: LINUX-390@VM.MARIST.EDU
> Date:   05/19/2017 01:43 PM
> Subject:Linux SMAPI wrappers
> Sent by:Linux on 390 Port <LINUX-390@VM.MARIST.EDU>
>
>
>
> Hello list,
>
> One way to automate operations (aka do Private Cloud) is to use z/VM's 
> SMAPI. There are two ways to call 'SMAPIs' from Linux that I know of:
> 1) The bash smaclient from Sine Nomine (thanks to Leland, et al)
> 2) The C compiled smcli originating from IBM (thanks to Chuck, Thang, 
> Emily, et al)
>
> Both are large and helpful pieces of code. However, neither are
'supported'
> to my knowledge, but smcli seems to be somewhat 'more supported' in 
> that I've seen updates to it recently.
>
> We've gotten errors on smaclient of the form "Unable to bind: 98" 
> which seems to lose connectivity to SMAPI when the CPU utilization is 'high'.
>
> So I'm looking into switching to smcli. It works fine when I run as 
> root, but everybody knows That's Bad so I try as a non-root and get the error:
>
> # *smcli Image_Query_DM -T VMENG004*

Re: Linux SMAPI wrappers

2017-05-22 Thread Emily K Hugenbruch
smcli is supported two ways:
   If you use it as part of the CMA that's shipped with z/VM, then we
   support it via the normal z/VM support process (PMRs, APARs, etc).
   If you get it from the open source community, then it's supported via
   that community.  You can use github issues to open problems, contribute
   to the code yourself, etc.  IBM is an active participant in that
   community.
Thanks.
Sincerely,
Emily Kate Hugenbruch
OpenStack Cloud Enablement Engineer - z/VM and Software Engineer - z/VM
IBM Corporation Endicott, NY
Twitter: @ekhugen
IRC: ekhugen@freenode



From:   Michael MacIsaac <mike99...@gmail.com>
To: LINUX-390@VM.MARIST.EDU
Date:   05/22/2017 10:50 AM
Subject:        Re: Linux SMAPI wrappers
Sent by:Linux on 390 Port <LINUX-390@VM.MARIST.EDU>



I see this in the append:
> smcli is supported.

But in an SR I have open, I see this:
> z/VM does not own or officially support the smcli function.

You can't have it both ways.

-Mike M

On Mon, May 22, 2017 at 9:33 AM, Emily K Hugenbruch
<ekhugenbr...@us.ibm.com
> wrote:

>
> Hi,
> Although I responded to Mike directly, reposting here for the listserv's
> benefit with some extra information:
>
> smcli is supported.  We ship it as part of our z/VM Cloud Manager
> Appliance, so it's supported that way.  It's also supported via open
> source, it could be separated from the rest of the zHCP code and run
> standalone.  We even have a wiki that explains exactly how to do this
> https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/
> W21ed5ba0f4a9_46f4_9626_24cbbb86fbb9/page/Using%20the%
> 20zHCP%20code%20without%20CMA
>
> Anyone is welcome to open Github issues on it
> https://github.com/zVMopenstack/zhcp/issues
>
> It can be run with sudo.  The problem originated because it was run once
as
> root, which created the file that tracks the SMAPI
> level: /var/opt/zhcp/smapi.level and then it was run not as root, so that
> file is not available.  I did submit a patch
> https://review.gerrithub.io/#/c/361193/ to make the error messages easier
> to decipher.  We can add a second patch that also makes sure the file
name
> is put out on every error message (or anyone else can, we're always happy
> to review any submissions).
>
> Furthermore, as the newly created project maintainer for the Open
Mainframe
> Project's Cloudstack for z/VM project, I invite anyone interested in the
> topic of cloud and z/VM to join us.  We have weekly calls (we're leaning
> towards Fridays at 11 eastern) where you can articulate your requirements
> or talk about what you think cloud should look like on z.  If you'd like
a
> meeting invite please send me an email.  We can also discuss these topics
> on the Open Mainframe Project's forum
> http://community.openmainframeproject.org/ or Slack channel
> https://openmainframeproject.slack.com
>
> Thank you.
> Sincerely,
> Emily Kate Hugenbruch
> OpenStack Cloud Enablement Engineer - z/VM and Software Engineer - z/VM
> IBM Corporation Endicott, NY
> Twitter: @ekhugen
> IRC: ekhugen@freenode
>
>
>
> From:   Michael MacIsaac <mike99...@gmail.com>
> To: LINUX-390@VM.MARIST.EDU
> Date:   05/19/2017 01:43 PM
> Subject:Linux SMAPI wrappers
> Sent by:Linux on 390 Port <LINUX-390@VM.MARIST.EDU>
>
>
>
> Hello list,
>
> One way to automate operations (aka do Private Cloud) is to use z/VM's
> SMAPI. There are two ways to call 'SMAPIs' from Linux that I know of:
> 1) The bash smaclient from Sine Nomine (thanks to Leland, et al)
> 2) The C compiled smcli originating from IBM (thanks to Chuck, Thang,
> Emily, et al)
>
> Both are large and helpful pieces of code. However, neither are
'supported'
> to my knowledge, but smcli seems to be somewhat 'more supported' in that
> I've seen updates to it recently.
>
> We've gotten errors on smaclient of the form "Unable to bind: 98" which
> seems to lose connectivity to SMAPI when the CPU utilization is 'high'.
>
> So I'm looking into switching to smcli. It works fine when I run as root,
> but everybody knows That's Bad so I try as a non-root and get the error:
>
> # *smcli Image_Query_DM -T VMENG004*
>
> ERROR: File stat error. Errno: 13
>
>
>
> ERROR: Unable to determine SMAPI level.
>
>
> Error number 13 seems to be a generic UNIX/Linux error for "not
> authorized".  Does anyone know which files/directories are in question? I
> was hoping it would be easy enough to chown/chmod some files or
> directories.  Or does anyone know how to use smcli as non-root?
>
> Thanks.
>
> --
>  -Mike MacIsaac
>
> --
> For LINUX-390 

Re: Linux SMAPI wrappers

2017-05-22 Thread Michael MacIsaac
I see this in the append:
> smcli is supported.

But in an SR I have open, I see this:
> z/VM does not own or officially support the smcli function.

You can't have it both ways.

-Mike M

On Mon, May 22, 2017 at 9:33 AM, Emily K Hugenbruch  wrote:

>
> Hi,
> Although I responded to Mike directly, reposting here for the listserv's
> benefit with some extra information:
>
> smcli is supported.  We ship it as part of our z/VM Cloud Manager
> Appliance, so it's supported that way.  It's also supported via open
> source, it could be separated from the rest of the zHCP code and run
> standalone.  We even have a wiki that explains exactly how to do this
> https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/
> W21ed5ba0f4a9_46f4_9626_24cbbb86fbb9/page/Using%20the%
> 20zHCP%20code%20without%20CMA
>
> Anyone is welcome to open Github issues on it
> https://github.com/zVMopenstack/zhcp/issues
>
> It can be run with sudo.  The problem originated because it was run once as
> root, which created the file that tracks the SMAPI
> level: /var/opt/zhcp/smapi.level and then it was run not as root, so that
> file is not available.  I did submit a patch
> https://review.gerrithub.io/#/c/361193/ to make the error messages easier
> to decipher.  We can add a second patch that also makes sure the file name
> is put out on every error message (or anyone else can, we're always happy
> to review any submissions).
>
> Furthermore, as the newly created project maintainer for the Open Mainframe
> Project's Cloudstack for z/VM project, I invite anyone interested in the
> topic of cloud and z/VM to join us.  We have weekly calls (we're leaning
> towards Fridays at 11 eastern) where you can articulate your requirements
> or talk about what you think cloud should look like on z.  If you'd like a
> meeting invite please send me an email.  We can also discuss these topics
> on the Open Mainframe Project's forum
> http://community.openmainframeproject.org/ or Slack channel
> https://openmainframeproject.slack.com
>
> Thank you.
> Sincerely,
> Emily Kate Hugenbruch
> OpenStack Cloud Enablement Engineer - z/VM and Software Engineer - z/VM
> IBM Corporation Endicott, NY
> Twitter: @ekhugen
> IRC: ekhugen@freenode
>
>
>
> From:   Michael MacIsaac 
> To: LINUX-390@VM.MARIST.EDU
> Date:   05/19/2017 01:43 PM
> Subject:Linux SMAPI wrappers
> Sent by:Linux on 390 Port 
>
>
>
> Hello list,
>
> One way to automate operations (aka do Private Cloud) is to use z/VM's
> SMAPI. There are two ways to call 'SMAPIs' from Linux that I know of:
> 1) The bash smaclient from Sine Nomine (thanks to Leland, et al)
> 2) The C compiled smcli originating from IBM (thanks to Chuck, Thang,
> Emily, et al)
>
> Both are large and helpful pieces of code. However, neither are 'supported'
> to my knowledge, but smcli seems to be somewhat 'more supported' in that
> I've seen updates to it recently.
>
> We've gotten errors on smaclient of the form "Unable to bind: 98" which
> seems to lose connectivity to SMAPI when the CPU utilization is 'high'.
>
> So I'm looking into switching to smcli. It works fine when I run as root,
> but everybody knows That's Bad so I try as a non-root and get the error:
>
> # *smcli Image_Query_DM -T VMENG004*
>
> ERROR: File stat error. Errno: 13
>
>
>
> ERROR: Unable to determine SMAPI level.
>
>
> Error number 13 seems to be a generic UNIX/Linux error for "not
> authorized".  Does anyone know which files/directories are in question? I
> was hoping it would be easy enough to chown/chmod some files or
> directories.  Or does anyone know how to use smcli as non-root?
>
> Thanks.
>
> --
>  -Mike MacIsaac
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>
>


--
 -Mike MacIsaac

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on 

Re: Linux SMAPI wrappers

2017-05-22 Thread Emily K Hugenbruch

Hi,
Although I responded to Mike directly, reposting here for the listserv's
benefit with some extra information:

smcli is supported.  We ship it as part of our z/VM Cloud Manager
Appliance, so it's supported that way.  It's also supported via open
source, it could be separated from the rest of the zHCP code and run
standalone.  We even have a wiki that explains exactly how to do this
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/W21ed5ba0f4a9_46f4_9626_24cbbb86fbb9/page/Using%20the%20zHCP%20code%20without%20CMA

Anyone is welcome to open Github issues on it
https://github.com/zVMopenstack/zhcp/issues

It can be run with sudo.  The problem originated because it was run once as
root, which created the file that tracks the SMAPI
level: /var/opt/zhcp/smapi.level and then it was run not as root, so that
file is not available.  I did submit a patch
https://review.gerrithub.io/#/c/361193/ to make the error messages easier
to decipher.  We can add a second patch that also makes sure the file name
is put out on every error message (or anyone else can, we're always happy
to review any submissions).

Furthermore, as the newly created project maintainer for the Open Mainframe
Project's Cloudstack for z/VM project, I invite anyone interested in the
topic of cloud and z/VM to join us.  We have weekly calls (we're leaning
towards Fridays at 11 eastern) where you can articulate your requirements
or talk about what you think cloud should look like on z.  If you'd like a
meeting invite please send me an email.  We can also discuss these topics
on the Open Mainframe Project's forum
http://community.openmainframeproject.org/ or Slack channel
https://openmainframeproject.slack.com

Thank you.
Sincerely,
Emily Kate Hugenbruch
OpenStack Cloud Enablement Engineer - z/VM and Software Engineer - z/VM
IBM Corporation Endicott, NY
Twitter: @ekhugen
IRC: ekhugen@freenode



From:   Michael MacIsaac 
To: LINUX-390@VM.MARIST.EDU
Date:   05/19/2017 01:43 PM
Subject:Linux SMAPI wrappers
Sent by:Linux on 390 Port 



Hello list,

One way to automate operations (aka do Private Cloud) is to use z/VM's
SMAPI. There are two ways to call 'SMAPIs' from Linux that I know of:
1) The bash smaclient from Sine Nomine (thanks to Leland, et al)
2) The C compiled smcli originating from IBM (thanks to Chuck, Thang,
Emily, et al)

Both are large and helpful pieces of code. However, neither are 'supported'
to my knowledge, but smcli seems to be somewhat 'more supported' in that
I've seen updates to it recently.

We've gotten errors on smaclient of the form "Unable to bind: 98" which
seems to lose connectivity to SMAPI when the CPU utilization is 'high'.

So I'm looking into switching to smcli. It works fine when I run as root,
but everybody knows That's Bad so I try as a non-root and get the error:

# *smcli Image_Query_DM -T VMENG004*

ERROR: File stat error. Errno: 13



ERROR: Unable to determine SMAPI level.


Error number 13 seems to be a generic UNIX/Linux error for "not
authorized".  Does anyone know which files/directories are in question? I
was hoping it would be easy enough to chown/chmod some files or
directories.  Or does anyone know how to use smcli as non-root?

Thanks.

--
 -Mike MacIsaac

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/




--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/